OpenShiftDemos / openshift-ops-workshops

Workshop materials for OpenShift admin training, covering Red Hat OpenShift Container Platform 4, Modern App Dev Roadshow's Ops Track, and Summit 2023 Hands-on with OCP Plus.
GNU General Public License v3.0
119 stars 153 forks source link

There is no clusterapi-manager-controllers pod in the openshift-machine-api namespace #435

Closed christianh814 closed 5 years ago

christianh814 commented 5 years ago

In this section , it explains about the clusterapi-manager-controllers pod; but the pod is not there.

$ oc get pods -n openshift-machine-api
NAME                                          READY   STATUS    RESTARTS   AGE
cluster-autoscaler-operator-999c4478f-prmhq   1/1     Running   0          19h
machine-api-controllers-56bdc6874f-9xxbb      3/3     Running   0          19h
machine-api-operator-df7c9d8d6-2ckfd          1/1     Running   0          19h

In fact, I can't find that pod at ALL

$ oc get pods --all-namespaces | grep -i clusterapi | wc -l
0

Not sure if it's an issue with my install or just a typo in the doc. We should either fix the section or get rid of it all together

christianh814 commented 5 years ago

CC: @kaovilai

kaovilai commented 5 years ago

@thoraxe @twiest @jewzaam @mwoodson Hello authors, could you advise on how clusterapi-manager- pod gets created?

Were these for pre-OCP4.1? Is it still relevant? It is not visible in my OCP4 lab install.

thoraxe commented 5 years ago

@christianh814 so which is the pod that now does what that one did?

kaovilai commented 5 years ago

@christianh814 so which is the pod that now does what that one did?

One of these machine-api-controllers-56bdc6874f-86jnb based on the logs

I0722 20:40:45.601325       1 controller.go:324] Too few replicas for machine.openshift.io/v1beta1, Kind=MachineSet openshift-machine-api/infra-us-east-2c, need 3, creating 3
I0722 20:40:45.601341       1 controller.go:330] Creating machine 1 of 3, ( spec.replicas(3) > currentMachineCount(0) )
I0722 20:40:45.611730       1 controller.go:330] Creating machine 2 of 3, ( spec.replicas(3) > currentMachineCount(0) )
I0722 20:40:45.621089       1 controller.go:330] Creating machine 3 of 3, ( spec.replicas(3) > currentMachineCount(0) )
I0722 20:40:45.739445       1 controller.go:297] MachineSet "infra-us-east-2c" in namespace "openshift-machine-api" doesn't specify "cluster.k8s.io/cluster-name" label, assuming nil cluster
E0722 20:40:45.743313       1 controller.go:163] Failed to reconcile MachineSet "openshift-machine-api/infra-us-east-2c": failed to update machine set status: MachineSet.machine.openshift.io "infra-us-east-2c" not found
I0722 20:40:46.743851       1 controller.go:297] MachineSet "infra-us-east-2c" in namespace "openshift-machine-api" doesn't specify "cluster.k8s.io/cluster-name" label, assuming nil cluster
kaovilai commented 5 years ago

@thoraxe Changing guide to refer to machine-api-controllers instead.