Exception: get() returned more than one StaticIPAddress -- it returned 2!

Bug #1816651 reported by james beedy
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Lee Trager
2.5
Fix Released
Undecided
Lee Trager

Bug Description

Trying to enlist a (previously deleted) node it boots into the ephemeral image and starts the enlistment process and then just shuts down.

https://paste.ubuntu.com/p/YpcGJXSkdB/

Related branches

Revision history for this message
james beedy (jamesbeedy) wrote :
Changed in maas:
milestone: none → 2.6.0
importance: Undecided → High
Revision history for this message
Mike Pontillo (mpontillo) wrote :

I think I know what the fix might be for this issue; can someone affected by this give the following patch a try:

https://paste.ubuntu.com/p/cxqZqmzZHC/

You can apply this using `patch -p1` in /usr/lib/python3/dist-packages and restart the MAAS region to check if it's a fix.

Changed in maas:
status: New → Fix Committed
Lee Trager (ltrager)
Changed in maas:
assignee: nobody → Lee Trager (ltrager)
Revision history for this message
Mike Pontillo (mpontillo) wrote :

It turns out, by the way, that many people who are using MAAS don't ever encounter this issue.

The bug occurs when MAAS-managed DHCP is managing a lease for a BMC. This is not a recommended configuration, since it makes MAAS DHCP a single point of failure for managing your machines.

I would recommend using static IP addresses for any BMCs used with MAAS.

Revision history for this message
Blake Rouse (blake-rouse) wrote :

If your running MAAS DHCP in HA mode, then there is no SPOF for DHCP.

Changed in maas:
milestone: 2.6.0 → 2.6.0alpha1
Changed in maas:
status: Fix Committed → Fix Released
Revision history for this message
Martin Vyšohlíd (kamik) wrote :

Using MAAS 3.2.6

Ended with this same error while comisioning an KVM virtual machine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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