-
Bug
-
Resolution: Done
-
Critical
-
None
-
4.13.0
-
No
-
Proposed
-
False
-
There is a requirement to handle removal and cleaning of nodes installed into spoke clusters in the ZTP flow (driven by git ops).
The currently proposed solution for this would use the hub cluster BMH to clean the host as it's already configured and can be used for either BM or non-platform spoke clusters.
This removal should be triggered by the deletion of the BMH, but if the BMH is removed we can't also use it to handle deprovisioning the host.
If another finalizer is configured on the BMH BMO should assume that host is not ready to be deleted.
Testing steps:
- Create and provision a BMH with automatedCleaningMode set to "metadata"
- Add the detached annotation: baremetalhost.metal3.io/detached: '{"deleteAction":"delay"}'
- Delete the BMH
Deprovisioning should wait until the detached annotation is removed, previously the host was deleted before deprovisioning could run.
- clones
-
OCPBUGS-11211 BMH moves to deleting before all finalizers are processed
- Closed
- depends on
-
OCPBUGS-11211 BMH moves to deleting before all finalizers are processed
- Closed
- is cloned by
-
OCPBUGS-24490 [4.12] BMH moves to deleting before all finalizers are processed
- Closed
- is depended on by
-
OCPBUGS-24490 [4.12] BMH moves to deleting before all finalizers are processed
- Closed
- links to