installer: [libvirt] Failed to get console route for v0.10.0 tag and ImagePullBackoff for clusterapi-manager-controllers

Version

$ openshift-install version
bin/openshift-install v0.10.0

Platform (aws|libvirt|openstack):

libvirt

What happened?

Installer is failed to get the console route and exit after 10 mins due to context deadline exceeded.

What you expected to happen?

Installer should able to create the cluster without any issue.

How to reproduce it (as minimally and precisely as possible)?

$ env TF_VAR_libvirt_master_memory=8192 TF_VAR_libvirt_master_vcpu=4 ./bin/openshift-install create cluster --dir=test --log-level debug
[...]
INFO Waiting up to 10m0s for the openshift-console route to be created... 
DEBUG Still waiting for the console route...       
DEBUG Still waiting for the console route...
[...]
DEBUG Still waiting for the console route...       
FATAL waiting for openshift-console URL: context deadline exceeded 

$ export KUBECONFIG=/home/prkumar/work/github/practice/go/src/github.com/openshift/installer/test/auth/kubeconfig

$ kubectl get pods --all-namespaces
NAMESPACE                                    NAME                                                         READY     STATUS             RESTARTS   AGE
kube-system                                  etcd-member-crcont-master-0                                  1/1       Running            0          17m
openshift-apiserver-operator                 openshift-apiserver-operator-7fc9bc59d9-wpbw6                1/1       Running            0          16m
openshift-apiserver                          apiserver-j6g59                                              1/1       Running            2          10m
openshift-cluster-api                        cluster-autoscaler-operator-7f74bdf7f9-26tsp                 1/1       Running            0          12m
openshift-cluster-api                        clusterapi-manager-controllers-db4fbd5fc-f7x6x               2/4       ImagePullBackOff   0          11m

$ kubectl logs clusterapi-manager-controllers-db4fbd5fc-f7x6x -n openshift-cluster-api -c nodelink-controller | less
[...]
W0116 08:26:01.170879       1 main.go:379] no matching machine found for node
I0116 08:26:01.170935       1 main.go:312] finished syncing node, duration: 207.751µs
I0116 08:26:01.170988       1 main.go:296] Error syncing node crcont-master-0: no matching machine found for node: crcont-master-0
I0116 08:26:04.914170       1 main.go:147] updating node: crcont-master-0
I0116 08:26:04.914282       1 main.go:310] syncing node
I0116 08:26:04.914334       1 main.go:368] searching machine cache for IP match for node
W0116 08:26:04.914373       1 main.go:379] no matching machine found for node
I0116 08:26:04.914410       1 main.go:312] finished syncing node, duration: 129.151µs
I0116 08:26:04.914447       1 main.go:296] Error syncing node crcont-master-0: no matching machine found for node: crcont-master-0

$ kubectl logs clusterapi-manager-controllers-db4fbd5fc-f7x6x -n openshift-cluster-api -c machine-healthcheck
[...]
I0116 08:25:58.615279       1 machinehealthcheck_controller.go:73] Reconciling MachineHealthCheck triggered by /crcont-master-0
W0116 08:25:58.615409       1 machinehealthcheck_controller.go:92] No machine annotation for node crcont-master-0
I0116 08:26:08.629294       1 machinehealthcheck_controller.go:73] Reconciling MachineHealthCheck triggered by /crcont-master-0
W0116 08:26:08.629354       1 machinehealthcheck_controller.go:92] No machine annotation for node crcont-master-0
I0116 08:26:18.649707       1 machinehealthcheck_controller.go:73] Reconciling MachineHealthCheck triggered by /crcont-master-0
W0116 08:26:18.649756       1 machinehealthcheck_controller.go:92] No machine annotation for node crcont-master-0

Anything else we need to know?

Looks like the issue with clusterapi-manager-controllers-db4fbd5fc-f7x6x pod since it is in ImagePullBackoff state and logs shows that it is not able to identify the master node.

References

  • enter text here.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 49 (21 by maintainers)

Most upvoted comments

You must have a pull secret to api.ci in order to access libvirt, because the installer team has chosen not to build libvirt for OCP.