Repository navigation
fix(ironic): Put Palo Alto HA cabling faults into maintenance so DC ops can see them PUC-2222 - #2767
Merged
Merged
Conversation
nidzrai
force-pushed
the
panos-ha-cabling-maintenance
branch
from
November 18, 2026 20:19
45dea32 to
0e6dd58
Compare
nidzrai
force-pushed
the
panos-ha-cabling-maintenance
branch
from
November 18, 2026 20:21
0e6dd58 to
5eb2be8
Compare
Python test results874 tests +719 874 ✅ +719 7s ⏱️ -4s Results for commit 015dfb8. ± Comparison against base commit 8d6824c. This pull request removes 155 and adds 874 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
cardoe
reviewed
Nov 18, 2026
cardoe
reviewed
Nov 18, 2026
cardoe
left a comment
Contributor
There was a problem hiding this comment.
So the inspection errors are good. Keep those. In fact throw in another place as well.
cardoe
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change do?
When inspection found a real cabling fault on a Palo Alto HA pair, it only recorded a message, and enroll-fw ended green as if the unit were simply waiting for its mate.
The "same switch" check also raised an error that the validator caught and swallowed.
Now two cabling faults put the node into maintenance with the reason in maintenance_reason (which will be shown to DC ops):
the HA peer is a different box (wrong cable or wrong mate serial)
both units are on the same switch
enroll-fw then fails with In maintenance: . Waiting for the mate, timeouts and wrong enrollment data still go to last_error, so the first unit of a pair isn't blocked. An existing maintenance reason is kept, and the fault is added after it.
To recover: fix the cabling, resolve any other hold, run openstack baremetal node maintenance unset , then run enroll-fw again.
Upgrade impact
upgrade-impactlabel and a release note: runscriv createfrom therepository root and describe the required action in the generated
changelog.d/file. See RELEASING.md.Operator action means anything a deployment has to do beyond a normal resync:
deploy repo or values changes, new or removed secrets, enabling or disabling a
component, or a manual one-time step.