-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.21
-
None
-
False
-
-
3
-
Moderate
-
Yes
-
None
-
None
-
None
-
Metal Platform 281
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Deleting a BareMetalHost where the .spec.bmc.address is unreachable takes nearly an hour. It never starts inspection, so is different than the bug where deleting after inspection started blocks forever. This issue appears to be related to how the BMO interacts with ironic, since the BMO logs show regular logs of "could not update maintenance in ironic, busy". This was discovered as part of a test case where the address is intentionally unreachable, but in the past this happened within a reasonable duration rather than close to an hour. The BareMetalHost was created by the ACM siteconfig operator, though the issue does not seem directly related.
Version-Release number of selected component (if applicable):
BMO included in OCP 4.21.0-ec.3
How reproducible:
100%
Steps to Reproduce:
1. Create a BMH with .spec.bmc.address pointing to an unreachable IP
2. Delete the BMH once registered
3. Observe the eventual removal of the BMH, though only after close to an hour
Actual results:
BMH takes nearly an hour to be deleted
Expected results:
BMH deleted within a couple minutes at most
Additional info: