-
Bug
-
Resolution: Done
-
Critical
-
None
-
4.13.z, 4.12.z, 4.14.0
-
Critical
-
No
-
Rejected
-
False
-
This is a clone of issue OCPBUGS-14637. The following is the description of the original issue:
—
Description of problem:
An uninstall was started, however it failed due to the hosted-cluster-config-operator being unable to clean up the default ingresscontroller
Version-Release number of selected component (if applicable):
4.12.18
How reproducible:
Unsure - though definitely not 100%
Steps to Reproduce:
1. Uninstall a HyperShift cluster
Actual results:
❯ k logs -n ocm-staging-2439occi66vhbj0pee3s4d5jpi4vpm54-mshen-dr2 hosted-cluster-config-operator-5ccdbfcc4c-9mxfk --tail 10 -f {"level":"info","ts":"2023-06-06T16:57:21Z","msg":"Image registry is removed","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"3a8e4485-3d0a-41b7-b82c-ff0a7f0040e6"} {"level":"info","ts":"2023-06-06T16:57:21Z","msg":"Ensuring ingress controllers are removed","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"3a8e4485-3d0a-41b7-b82c-ff0a7f0040e6"} {"level":"info","ts":"2023-06-06T16:57:21Z","msg":"Ensuring load balancers are removed","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"3a8e4485-3d0a-41b7-b82c-ff0a7f0040e6"} {"level":"info","ts":"2023-06-06T16:57:21Z","msg":"Load balancers are removed","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"3a8e4485-3d0a-41b7-b82c-ff0a7f0040e6"} {"level":"info","ts":"2023-06-06T16:57:21Z","msg":"Ensuring persistent volumes are removed","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"3a8e4485-3d0a-41b7-b82c-ff0a7f0040e6"} {"level":"info","ts":"2023-06-06T16:57:21Z","msg":"There are no more persistent volumes. Nothing to cleanup.","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"3a8e4485-3d0a-41b7-b82c-ff0a7f0040e6"} {"level":"info","ts":"2023-06-06T16:57:21Z","msg":"Persistent volumes are removed","controller":"resources","object":{"name":""},"namespace":"","name":"","reconcileID":"3a8e4485-3d0a-41b7-b82c-ff0a7f0040e6"} After manually connecting to the hostedcluster and deleting the ingresscontroller, the uninstall progressed and succeded
Expected results:
The hosted cluster can cleanup the ingresscontrollers successfully and progress the uninstall
Additional info:
HyperShift dump: https://drive.google.com/file/d/1qqjkG4F_mSUCVMz3GbN-lEoqbshPvQcU/view?usp=sharing
- blocks
-
OCPBUGS-15614 Leftover IngressController Preventing Clean Uninstall
- Closed
- clones
-
OCPBUGS-14637 Leftover IngressController Preventing Clean Uninstall
- Closed
- is blocked by
-
OCPBUGS-14637 Leftover IngressController Preventing Clean Uninstall
- Closed
- is cloned by
-
OCPBUGS-15614 Leftover IngressController Preventing Clean Uninstall
- Closed
- links to