[2.0a3] "Add Hardware > Chassis" cannot find off-subnet chassis BMCs
Bug #1559353 reported by
Mike Pontillo
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Björn Tillenius |
Bug Description
I tried to add a libvirt hypervisor which had an IP address not on a subnet directly attached to a cluster interface.
The UI showed me gnarly JSON error message (which I think is a separate bug) but the important part was:
Unable to find a rack controller with access to chassis qemu+ssh:
We recently changed the power drivers to power query every controller if we couldn't determine which was the most appropriate. We need to do something similar when adding a chassis. (it worked when I used an IP address for the BMC which was on the same subnet as the MAAS cluster.)
Related branches
~bjornt/maas:bug-1559353-add-chassis-no-subnet
Merged
into
maas:master
- Andres Rodriguez (community): Needs Information
- Blake Rouse (community): Approve
-
Diff: 118 lines (+36/-18)4 files modifiedsrc/maasserver/api/machines.py (+18/-11)
src/maasserver/api/tests/test_machines.py (+16/-5)
src/provisioningserver/rpc/clusterservice.py (+1/-1)
src/provisioningserver/rpc/tests/test_clusterservice.py (+1/-1)
Changed in maas: | |
milestone: | none → 2.3.x |
importance: | High → Critical |
tags: | added: cpec |
tags: |
added: cpe-onsite removed: cpec |
Changed in maas: | |
milestone: | 2.3.x → 2.3.0beta2 |
tags: | added: internal |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in maas: | |
milestone: | 2.3.0beta2 → 2.3.0beta3 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug is still persistent in 2.2.2
Specifically adding a VMware Chassis we get "unable to find a rack controller that can contact vcenter. pizza.cf- apps.com"
Individual machines can be added with the same credentials of VMWare (hostname| username| password) , but adding a chassis doesn't work.
As a workaround, in MAAS, going to the single controller and adding a 2nd interface that is on a subnet of 0.0.0.0/0 but statically assigning an IP on that interface works.
In fact, that 2nd interface isn't attached to a physical network, so it doesn't actually have connectivity, but it still allows the process to work.