mark_fixed should clear the osystem and distro_series fields
Bug #1381213 reported by
Blake Rouse
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Newell Jensen |
Bug Description
1. user acquires node
2. user changes the osystem and distro_series for the node
3. marks node broken,
4. marks node fixed
Now the node has a different osystem and distro_series instead of the default, and when it is acquired by another user it is not the default. "mark_fixed" should clear the osystem and distro_series fields.
Related branches
lp:~newell-jensen/maas/fix-bug-1381213
- Blake Rouse (community): Approve
-
Diff: 30 lines (+9/-0)2 files modifiedsrc/maasserver/models/node.py (+2/-0)
src/maasserver/models/tests/test_node.py (+7/-0)
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
status: | Incomplete → Triaged |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I not able to reproduce this bug. After commissioning a node as the admin user and acquiring the node, I go in and change it to Ubuntu and Trusty for the osystem and distro series, respectively. I make sure to save the changes, and double verified they are there by going back in and checking again. After doing this, when I mark the node as broken and go into the node edit page, it has been changed back to the defaults already. Marking the node as fixed doesn't change anything at this point. Switching users also doesn't show what has been mentioned above.