Skip to content

[3.6] fix: query power state when commissioning node returns to NEW#128

Open
xtrusia wants to merge 1 commit intocanonical:3.6from
xtrusia:backport-power-query-new-3.6
Open

[3.6] fix: query power state when commissioning node returns to NEW#128
xtrusia wants to merge 1 commit intocanonical:3.6from
xtrusia:backport-power-query-new-3.6

Conversation

@xtrusia
Copy link
Copy Markdown
Contributor

@xtrusia xtrusia commented Apr 9, 2026

A node transitioning from COMMISSIONING back to NEW (e.g. on abort or at the end of enlistment commissioning) may have had its power state changed by commissioning scripts. Add NEW to QUERY_TRANSITIONS for COMMISSIONING so MAAS refreshes the power state after the transition, matching the existing behavior for FAILED_COMMISSIONING and READY.

Resolves LP:2147514

(cherry picked from commit c9d4229)

@xtrusia xtrusia changed the title fix: query power state when commissioning node returns to NEW [3.6] fix: query power state when commissioning node returns to NEW Apr 15, 2026
A node transitioning from COMMISSIONING back to NEW (e.g. on abort or
at the end of enlistment commissioning) may have had its power state
changed by commissioning scripts. Add NEW to QUERY_TRANSITIONS for
COMMISSIONING so MAAS refreshes the power state after the transition,
matching the existing behavior for FAILED_COMMISSIONING and READY.

Resolves LP:2147514

Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
(cherry picked from commit c9d4229)
@xtrusia xtrusia force-pushed the backport-power-query-new-3.6 branch from ea78aa2 to 08c73b2 Compare April 15, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants