Objects stuck hanging in Terminating status or HPA not working in OpenShift
Issue
- OpenShift was upgraded using the manual steps instead of the Ansible playbooks and now experiencing issues
- Objects deleted from web console hang with foregroundDeletion finalizer
- Waiting for caches to sync garbage collector message in master logs:
Jul 25 04:35:45 examplemaster02 atomic-openshift-master-controllers: I0725 04:35:45.162089 126404 controller_utils.go:1025] Waiting for caches to sync for garbage collector controller
- HPA/autoscaling does not work after manual upgrade to 3.7
- Deleted namespaces remain in Terminating state and are not cleaned up
- Garbage collection of objects does not work
- The following message appears in the controller manager or apiserver log when using Pod Autoscaling:
apiserver received an error that is not an metav1.Status: no kind "HorizontalPodAutoscaler" is registered for version "extensions/v1beta1"
Environment
- Red Hat OpenShift Container Platform
- 3.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.