[2.2] MAAS takes ipv6 ULA address as a primary one

Bug #1675844 reported by Witold Krecicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned

Bug Description

When installing MAAS on a machine with v6 networking MAAS takes v6 ULA address as a primary: e.g. for a 'foobar' machine with:
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fd92:cf77:3cad::3d2/128 scope global dynamic
       valid_lft 69225sec preferred_lft 69225sec
    inet6 2001:abc:1234::3d2/128 scope global dynamic
       valid_lft 69225sec preferred_lft 69225sec

in DNS tab 'foobar.maas' will be set to fd92:cf77:3cad::3d2 and 'eno1.foobar.maas' will be set to 2001:abc:1234::3d2. I believe it should be reversed - this probably comes from the fact that ULA address is the first on the list of addresses for this device, but IMHO the proper behaviour would be to put ULA addresses at the end.

Related branches

Witold Krecicki (wpk)
description: updated
Revision history for this message
LaMont Jones (lamont) wrote :

This makes sense to do.

Changed in maas:
status: New → Confirmed
status: Confirmed → Triaged
Changed in maas:
milestone: none → 2.2.0
importance: Undecided → High
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi there Witold,

Just to confirm, this was with MAAS 2.1 right?

summary: - MAAS takes ipv6 ULA address as a primary one
+ [2.1] MAAS takes ipv6 ULA address as a primary one
Revision history for this message
Witold Krecicki (wpk) wrote : Re: [2.1] MAAS takes ipv6 ULA address as a primary one

I got this with MAAS Version 2.2.0 (beta3+bzr5815)

summary: - [2.1] MAAS takes ipv6 ULA address as a primary one
+ [2.2] MAAS takes ipv6 ULA address as a primary one
Revision history for this message
LaMont Jones (lamont) wrote :

First present in MAAS 1.9 (it's been there since we added IPv6 support.)

Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
milestone: 2.2.0 → 2.2.0rc1
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.