-
Bug
-
Resolution: Done
-
Normal
-
MCE 2.3.0
Description of problem:
Removing a Hosted Cluster causes the klusterlet resource and namespace to be orphaned.
This blocks importing a new cluster with the same name as the previous klusterlet
Version-Release number of selected component (if applicable):
Latest ACM 2.7
How reproducible:
Every time
Steps to Reproduce:
- Import a Hosted Cluster
- Destroy the cluster
- Detach the ManagedCluster
- oc get klusterlet, shows the resource still exists days later
- Namespace remains, if deleted, it is recreated
- Causes an error that you can not import a cluster with the same name
Actual results:
klusterlet remains indefinitely.
Import fails.
Expected results:
klusterlet is remove, importing a new cluster with the same name is successful