HandlerError suppressed in UI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
When creating a RAID device the following error appeared in the log, but
the UI showed no error. The block devices were removed from the "Used
disks and partitions" table but no RAID device appeared in their place.
I had to refresh the page to return things to normal. I would expect the
error to be displayed in the page and the selected block devices to
remain unchanged. I wonder if this is related to bug 1489149?
2016-03-14 13:59:49 [-] Error on request (187) machine.
class="
valid choice. 1 is not one of the available
choices.
Traceback (most recent call last):
File "/usr/lib/
self.
File ".../src/
worker
return target()
File
"/usr/
line 46, in work
task()
File "/usr/lib/
190, in doWork
task()
--- <exception caught here> ---
File "/usr/lib/
line 246, in inContext
result = inContext.theWork()
File "/usr/lib/
line 262, in <lambda>
inContext.
File "/usr/lib/
118, in callWithContext
return self.currentCon
File "/usr/lib/
81, in callWithContext
return func(*args,**kw)
File ".../src/
call_
return func_outside_
File ".../src/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File ".../src/
create_raid
raise HandlerError(
maasserver.
class="
valid choice. 1 is not one of the available choices.
We believe this is no longer an issue in the latest releases of MAAS. Please upgrade to the latest version of MAAS, and If you believe this issue is still present, please re-open this bug report or file a new one.