Exception in bootresources.py prevents downloading boot pxe images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella | ||
1.8 |
Fix Released
|
Critical
|
Blake Rouse | ||
simplestreams (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Trusty |
Fix Released
|
Critical
|
Unassigned | ||
Vivid |
Fix Released
|
Critical
|
Unassigned | ||
Wily |
Fix Released
|
Critical
|
Unassigned |
Bug Description
On newly installed MAAS server (1.8.2) on LTS (Ubuntu 14.04) I'm not able to download PXE images.
in clusterd.log I have an exception:
2015-09-25 15:28:29 [-] Exception in thread Thread-187:
2015-09-25 15:28:29 [-] Traceback (most recent call last):
2015-09-25 15:28:29 [-] File "/usr/lib/
2015-09-25 15:28:29 [-] self.run()
2015-09-25 15:28:29 [-] File "/usr/lib/
2015-09-25 15:28:29 [-] self.__
2015-09-25 15:28:29 [-] File "/usr/lib/
2015-09-25 15:28:29 [-] return func_outside_
2015-09-25 15:28:29 [-] File "/usr/lib/
2015-09-25 15:28:29 [-] return func(*args, **kwargs)
2015-09-25 15:28:29 [-] File "/usr/lib/
2015-09-25 15:28:29 [-] return func(*args, **kwargs)
2015-09-25 15:28:29 [-] File "/usr/lib/
2015-09-25 15:28:29 [-] self.write_
2015-09-25 15:28:29 [-] File "/usr/lib/
2015-09-25 15:28:29 [-] cksummer = sutil.checksummer(
2015-09-25 15:28:29 [-] AttributeError: 'module' object has no attribute 'checksummer'
full log here:
http://
this is caused by the change in simplestreams python module:
- checksummer class is now a part of checksum_util module instead of util module
FIX:
edit:
/usr/lib/
and add:
from simplestreams import checksum_util as cutil
then in function write_content you change:
cksummer = sutil.checksummer(
to:
cksummer = cutil.checksummer(
and it works again
Related branches
- Blake Rouse (community): Approve
-
Diff: 24 lines (+7/-1)1 file modifiedsrc/maasserver/bootresources.py (+7/-1)
- Blake Rouse (community): Approve
-
Diff: 24 lines (+7/-1)1 file modifiedsrc/maasserver/bootresources.py (+7/-1)
Changed in maas: | |
status: | New → Fix Committed |
milestone: | none → 1.9.0 |
importance: | Undecided → Critical |
Changed in maas: | |
assignee: | nobody → Gavin Panella (allenap) |
Changed in simplestreams (Ubuntu): | |
status: | New → Confirmed |
Changed in simplestreams (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in simplestreams (Ubuntu Vivid): | |
status: | New → Confirmed |
Changed in simplestreams (Ubuntu Trusty): | |
importance: | Undecided → Critical |
Changed in simplestreams (Ubuntu Vivid): | |
importance: | Undecided → Critical |
Changed in simplestreams (Ubuntu Wily): | |
importance: | Undecided → Critical |
tags: | added: patch |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package simplestreams - 0.1.0~bzr341- 0ubuntu2. 3
--------------- bzr341- 0ubuntu2. 3) trusty-security; urgency=high
simplestreams (0.1.0~
* export checksummer in simplestreams.util (LP: #1499749)
Users of simplestreams.util checksummer would get an AttributeError
because this was moved.
-- Scott Moser <email address hidden> Fri, 25 Sep 2015 11:15:24 -0400