[2.0a1] MAAS should be able to route to BMCs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Trying to add a node with IPMI for power parameters fails with the following traceback. The interesting thing, however, is that the Rack Controller may be trying to access a BMC that's is not directly connected to the Rack Controller, but rather, it has access via it using routing.
In other words, Rack Controllers need to poewr manage BMC's that are routed and not directly connected via a known network of MAAS.
==> /var/log/
2016-02-18 19:40:34 [-] Error on request (62) machine.create: 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
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 "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
node_
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
starting = self._start(user, commissioning_
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
client_idents, fallback_idents = self._get_
File "/usr/lib/
client_idents = self.bmc.
File "/usr/lib/
rack_
File "/usr/lib/
if self.ip_
builtins.
Related branches
- Mike Pontillo (community): Approve
- Gavin Panella: Pending (twisted) requested
-
Diff: 2123 lines (+1020/-579)11 files modifiedsrc/maasserver/api/tests/test_machine.py (+1/-4)
src/maasserver/api/tests/test_machines.py (+4/-9)
src/maasserver/clusterrpc/power.py (+91/-2)
src/maasserver/clusterrpc/tests/test_power.py (+93/-1)
src/maasserver/forms.py (+9/-17)
src/maasserver/migrations/builtin/maasserver/0042_add_routable_rack_controllers_to_bmc.py (+38/-0)
src/maasserver/models/bmc.py (+92/-2)
src/maasserver/models/node.py (+94/-66)
src/maasserver/models/tests/test_bmc.py (+121/-4)
src/maasserver/models/tests/test_node.py (+471/-472)
src/metadataserver/tests/test_api.py (+6/-2)
Changed in maas: | |
status: | Confirmed → Triaged |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
no longer affects: | ubuntu |
This may be related to:https:/ /bugs.launchpad .net/maas/ +bug/1547276