[2.0a3] "Add Hardware > Chassis" cannot find off-subnet chassis BMCs

Bug #1559353 reported by Mike Pontillo
10
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://virsh@192.168.0.9/system

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

Changed in maas:
milestone: none → 2.3.x
importance: High → Critical
Revision history for this message
Jeff Hillman (jhillman) wrote :

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.

Revision history for this message
Jeff Hillman (jhillman) wrote :

However, once we add them via chassis like that, the guests show up in MAAS, however they have no known power type and that needs to be manually updated. So it can see the machines but nothing else.

Revision history for this message
Jeff Hillman (jhillman) wrote :
Ante Karamatić (ivoks)
tags: added: cpec
Ante Karamatić (ivoks)
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 report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.