[2.0] Cannot connect to UI if rack controller cannot be contacted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
High
|
Blake Rouse |
Bug Description
When I try to connect to the MAAS UI while the rack controller is down, I receive an RPC error because the region cannot populate the available power types.
I believe this is a regression from 1.9. Users must be able to use the UI while the rack controller is down. (this is also needed for HA, so that the user can specify a failover to a secondary rack.)
The traceback[1] here might be easier to read:
https:/
[1]:
2016-02-20 00:35:18 [-] Error on request (27) general.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/opt/src/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/opt/src/
return func_outside_
File "/opt/src/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/opt/src/
return get_power_types()
File "/opt/src/
power_types = get_all_
File "/opt/src/
for response in responses:
File "/opt/src/
controller
maasserver.
This has already been fixed in latest trunk. Please be sure to be on the latest trunk before filling a bug.