maas 2.9 rc1 machines create error

Bug #1904398 reported by Bart Vrancken
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Lee Trager
Fix Released
Lee Trager

Bug Description

If you manually create a node via the CLI this works, however accourding to --help there is an additional flag to be given:


However when using this setting you will get an error:

save() prohibited to prevent data loss due to unsaved related object 'node'.

It does not tell why, but it seems the commision state needs a valid object first?

Related branches

Revision history for this message
Lee Trager (ltrager) wrote :

I can reproduce this. Looking at the code its not clear why this is occurring though. The Node is saved right before the ScriptSet is created which triggers this bug.

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 2.9.0rc2
Alberto Donato (ack)
tags: added: ui
tags: removed: ui
Changed in maas:
assignee: nobody → Lee Trager (ltrager)
Lee Trager (ltrager)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Lee Trager (ltrager)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.