Repository navigation
Conversation
Python test results2 582 tests +45 2 577 ✅ +45 1m 49s ⏱️ -7s Results for commit 6103f17. ± Comparison against base commit 7f3639a. This pull request removes 2 and adds 47 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
stevekeay
force-pushed
the
enrol-set-maint-reason
branch
2 times, most recently
from
December 2, 2026 12:15
f998723 to
ab8ff17
Compare
stevekeay
force-pushed
the
enrol-set-maint-reason
branch
from
December 2, 2026 12:59
ab8ff17 to
d8e3b9e
Compare
cardoe
reviewed
Dec 2, 2026
If cleaning after provide runs past NODE_STATE_TIMEOUT_SECS, wait_for_provision_state raises while the node is still in clean wait/ Ironic doesn't act on agent heartbeats from a node in maintenance (_heartbeat_in_maintenance either logs "not taking any action" or, with allow_provisioning_in_maintenance=False, aborts cleaning), so the node never reaches available. The more reasonable behaviour is to ignore errors while ironic is still working, and only record maintenance reasons for an Ironic node in a "terminal" state.
This branch has not been deployed
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.
The enrol workflow now puts the Ironic node into maintenance mode when enrolment fails. The failure goes into the maintenance reason with an "enroll: " prefix, cut to 200 characters.
I tried not to change the existing behaviour, although I did deliberately change the "success" message which now reads "Enroll successful for node {uuid} {name} {ip_address}"