Skip to content

[3.5] fix: query power state when commissioning node returns to NEW#129

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

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

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)

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.5 branch from d4a506c to e94fa43 Compare April 15, 2026 05:52
@xtrusia xtrusia changed the title fix: query power state when commissioning node returns to NEW [3.5] fix: query power state when commissioning node returns to NEW Apr 15, 2026
@xtrusia
Copy link
Copy Markdown
Contributor Author

xtrusia commented Apr 15, 2026

had issue about #156 and uploaded PR for this.

#156

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