[3.0.0~rc2-10023 testing] two IPs assigned to one interface

Bug #1931215 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Björn Tillenius
3.0
Fix Released
Critical
Björn Tillenius

Bug Description

After MAAS is setup, juju fails with

2021-06-05-15:02:27 root DEBUG [localhost]: juju enable-ha -c foundations-maas
2021-06-05-15:02:28 root ERROR [localhost] Command failed: juju enable-ha -c foundations-maas
2021-06-05-15:02:28 root ERROR [localhost] STDOUT follows:
b''
2021-06-05-15:02:28 root ERROR [localhost] STDERR follows:
ERROR juju-ha-space is not set and a unique usable address was not found for machines: 0
run "juju controller-config juju-ha-space=<name>" to set a space for Mongo peer communication

It seems the reason is two IPs assigned to the same interface as seen in
https://paste.ubuntu.com/p/4T4xqcrBXz/

Related branches

Alberto Donato (ack)
Changed in maas:
milestone: none → 3.0.0-rc2
importance: Undecided → Critical
Changed in maas:
milestone: 3.0.0-rc2 → none
status: New → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote :

This is the commissioning data from one of the VMs that had multiple AUTO IPs:

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

So it got two IPs during commissioning. We should be able to work around this, so that we don't create any aliases during commissioning, but it would be interesting to figure out why the machine got two IPs in the first place.

tags: added: cdo-release-blocker
Revision history for this message
Alberto Donato (ack) wrote :

Looking at tcpdump during commissioning, both DHCP servers in the HA deployment offer an address, which the host accepts.

Changed in maas:
assignee: nobody → Björn Tillenius (bjornt)
Changed in maas:
milestone: none → next
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
milestone: next → none
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.