-
Bug
-
Resolution: Done-Errata
-
Critical
-
4.14
-
None
-
No
-
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.
- is cloned by
-
OCPBUGS-11213 BMH moves to deleting before all finalizers are processed
- Closed
- is depended on by
-
OCPBUGS-11213 BMH moves to deleting before all finalizers are processed
- Closed
- links to
-
RHEA-2023:5006 rpm