Once a cache_set is created the UI fails with ERROR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Lee Trager |
Bug Description
Once I created a cache_set the UI became unusable. I saw the following error in the regiond.log.
2015-11-24 09:19:33 [-] Error on request (83) node.set_active: 'NoneType' object has no attribute 'virtual_devices'
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
return super(ThreadPool, self)._worker()
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
obj_data = self.get(params)
File "/usr/lib/
return self.full_
File "/usr/lib/
return self.dehydrate(obj, data, for_list=for_list)
File "/usr/lib/
data[
File "/usr/lib/
if on_bcache(
File "/usr/lib/
for parent in obj.virtualbloc
File "/usr/lib/
if check_fs_
File "/usr/lib/
for virtual_device in fs_group.
exceptions.
Related branches
- Blake Rouse (community): Approve
-
Diff: 48 lines (+23/-0)2 files modifiedsrc/maasserver/models/tests/test_virtualblockdevice.py (+17/-0)
src/maasserver/models/virtualblockdevice.py (+6/-0)
- Lee Trager (community): Approve
-
Diff: 48 lines (+23/-0)2 files modifiedsrc/maasserver/models/tests/test_virtualblockdevice.py (+17/-0)
src/maasserver/models/virtualblockdevice.py (+6/-0)
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |