netboot flag defaults to 'true' on upgrade, even for allocated nodes
Bug #1208497 reported by
James Troup
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin | ||
1.2 |
Fix Released
|
Critical
|
Raphaël Badin | ||
1.3 |
Fix Released
|
Critical
|
Raphaël Badin | ||
maas (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
We recently upgraded our MAAS from 0.1+bzr482+
1.2+bzr1373+
After doing this, we found that MAAS was trying (and thankfully
failing) to reinstall any node we rebooted. This appears be to
because the 'netboot' field which was add to the 'maasserver_node'
table is defaulted to true by migrations/
This causes get_boot_purpose() in api.py to return 'install' rather
than 'local' for allocated nodes.
I think 'netboot' should be set to false for allocated nodes during
migrations instead.
Related branches
lp:~rvb/maas/netboot-allocated
- Julian Edwards (community): Approve
- Gavin Panella (community): Approve
-
Diff: 227 lines (+223/-0)1 file modifiedsrc/maasserver/migrations/0056_netboot_off_for_allocated_nodes.py (+223/-0)
lp:~rvb/maas/netboot-allocated-fix-mig-10
- Gavin Panella (community): Approve
-
Diff: 28 lines (+9/-1)1 file modifiedsrc/maasserver/migrations/0010_add_node_netboot.py (+9/-1)
lp:~rvb/maas/netboot-allocated-fix-mig-10-1.3
- Julian Edwards (community): Approve
-
Diff: 28 lines (+9/-1)1 file modifiedsrc/maasserver/migrations/0010_add_node_netboot.py (+9/-1)
lp:~rvb/maas/netboot-allocated-fix-mig-10-1.2
- Julian Edwards (community): Approve
-
Diff: 28 lines (+9/-1)1 file modifiedsrc/maasserver/migrations/0010_add_node_netboot.py (+9/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in maas: | |
milestone: | none → 13.10 |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → In Progress |
Changed in maas (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.