custom dd-tgz format images looked for in wrong path, so they don't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse | ||
1.7 |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
I applied the patch for bug https:/
Installed: 1.7.0~rc3+
(to note, the patch in question is now in MAAS trunk at revno 3408)
After doing this, dd-tgz format images don't work. I uploaded the image like so:
maas roadmr boot-resources create name=kitty-t1 title='kitty test 1' architecture=
but when trying to deploy it to a node it seems to still be looking for the root-tgz (rather than root-dd) file:
--2014-12-10 19:42:05-- http://
Connecting to 10.10.10.1:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-12-10 19:42:05 ERROR 404: Not Found.
I traced this to the fact that the method is missing a path component when it builds the path where it should look for the dd file. I see it looking for e.g.
/var/lib/
/var/lib/
I think simply adding the missing component to provisioningser
Related branches
- Blake Rouse (community): Approve
-
Diff: 26 lines (+3/-2)2 files modifiedsrc/provisioningserver/drivers/osystem/custom.py (+2/-1)
src/provisioningserver/drivers/osystem/tests/test_custom.py (+1/-1)
- Blake Rouse (community): Approve
-
Diff: 26 lines (+3/-2)2 files modifiedsrc/provisioningserver/drivers/osystem/custom.py (+2/-1)
src/provisioningserver/drivers/osystem/tests/test_custom.py (+1/-1)
Changed in maas: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This bug has been reported and fixed on upstream MAAS. However, provided that the bug was listed on the debian changelog, this appears as needing verification for pending SRU [1]. This bug did not affect current MAAS in Ubuntu, hence setting this to verification-done to unblock pending SRU.
[1]:http:// people. canonical. com/~ubuntu- archive/ pending- sru.html