Open Gentoli opened 2 years ago
Hi @Gentoli,
Thanks for bringing this up -- we know this is affecting users and is poor UX (to not have the catalog source pod be managed by a built-in controller). We will open up an RFE on the JIRA board and see that we can get this work prioritized.
Bug Report
What did you do?
What did you expect to see? Pod is recreated.
What did you see instead? Under which circumstances? Dead pod not replaced. But deleting the dead pods manually will trigger recreate.
Environment
operator-lifecycle-manager version:
Kubernetes version information:
Possible Solution
Check for this pod condition and replace it.
Or
One of the comment in https://github.com/operator-framework/operator-lifecycle-manager/issues/2666 suggests to make CatalogSource Pod controller back (deployment/ss), that should also resolve this.
Additional context
Pod status
``` yaml status: conditions: - lastProbeTime: null lastTransitionTime: "2022-03-24T18:48:24Z" status: "True" type: Initialized - lastProbeTime: null lastTransitionTime: "2022-03-24T21:02:39Z" message: 'containers with unready status: [registry-server]' reason: ContainersNotReady status: "False" type: Ready - lastProbeTime: null lastTransitionTime: "2022-03-24T21:02:39Z" message: 'containers with unready status: [registry-server]' reason: ContainersNotReady status: "False" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2022-03-24T18:48:24Z" status: "True" type: PodScheduled containerStatuses: - containerID: containerd://d327b53da13df65232bfaa19120022a6a96af630350ac43fb51a17b15f0c55bb image: quay.io/operatorhubio/catalog:latest imageID: quay.io/operatorhubio/catalog@sha256:009ba4d793616312c7a847dd4a64455971b2d7d68a5d2a16e76d6df3ce03eedc lastState: {} name: registry-server ready: false restartCount: 0 started: false state: terminated: containerID: containerd://d327b53da13df65232bfaa19120022a6a96af630350ac43fb51a17b15f0c55bb exitCode: 0 finishedAt: "2022-03-24T21:02:38Z" reason: Completed startedAt: "2022-03-24T18:48:28Z" hostIP: 10.100.4.19 message: Pod was terminated in response to imminent node shutdown. phase: Failed podIP: 10.100.18.45 podIPs: - ip: 10.100.18.45 qosClass: Burstable reason: Terminated startTime: "2022-03-24T18:48:24Z"``` ```