Comment 8 for bug 1793564

Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: [Bug 1793564] Re: maas allocated two usable addresses for juju enable-ha

Right. In this case it would seem like the interface has 2 IPs from the
same subnet, but from different ranges (e.g 1 statically assigned, and once
from the dhcp server because it hasn’t yet expired).

On Mon, Oct 1, 2018 at 10:16 AM Joseph Phillips <email address hidden>
wrote:

> The current Juju behaviour is to return this error if both of these
> conditions are true:
> - There is more than one usable address on the machine.
> - There is no configuration value for juju-ha-space.
>
> By usable addresses we mean cloud-local, but we fall back to a public
> address if there are none of those.
>
> Prior to 2.4, Juju would attempt to set the space transparently by
> interrogating the addresses, but this had some edge cases, so we decided
> to be explicit and require the user to specify a space to use whenever
> multiple addresses are detected.
>
> If a space is configured for HA, then the first address returned from
> the space is used. So you can work around this just be setting juju-ha-
> space.
>
> --
> You received this bug notification because you are subscribed to MAAS.
> https://bugs.launchpad.net/bugs/1793564
>
> Title:
> maas allocated two usable addresses for juju enable-ha
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1793564/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: product=juju; status=Incomplete; importance=Undecided;
> <email address hidden>;
> Launchpad-Bug: product=maas; status=Incomplete; importance=Undecided;
> assignee=None;
> Launchpad-Bug-Tags: cdo-qa foundation-engine
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: andreserl jog manadart
> Launchpad-Bug-Reporter: John George (jog)
> Launchpad-Bug-Modifier: Joseph Phillips (manadart)
> Launchpad-Message-Rationale: Subscriber (MAAS)
> Launchpad-Message-For: andreserl
>
--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer