Commit faf9f9d
committed
Fix NAR/PR state toggling when BMH is in servicing error
When a BMH enters servicing error during Day 2 configuration,
the NodeAllocationRequest and ProvisioningRequest were toggling
between Failed and ConfigurationUpdateRequested states.
Root cause: observedGeneration was only updated on configuration success.
When configuration failed due to BMH errors, the generation mismatch
persisted, causing the FSM to continuously re-trigger spec change handling.
Fix: Always update observedGeneration after processing a spec change,
regardless of success or failure.
Signed-off-by: Tao Liu <[email protected]>1 parent de84294 commit faf9f9d
File tree
1 file changed
+12
-4
lines changed- hwmgr-plugins/metal3/controller
1 file changed
+12
-4
lines changedLines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
731 | 739 | | |
732 | 740 | | |
733 | 741 | | |
| |||
0 commit comments