~boulc/maas:3.1

Last commit made on 2023-10-02
Get this branch:
git clone -b 3.1 https://git.launchpad.net/~boulc/maas
Only Sébastien Boulay can upload to this branch. If you are Sébastien Boulay please log in for upload directions.

Branch merges

Branch information

Name:
3.1
Repository:
lp:~boulc/maas

Recent commits

bd1dde4... by Ubuntu <email address hidden>

Fix reverse order ip address

When controller's nic has several ip and virtual ip,
SQL collect them reverse order. this fixes it.

(cherry picked from commit cfe8cf628f7189a84a98d74b3c079d744f1c1b5f)

5ad7060... by Mauricio Faria de Oliveira

Prepare for 3.1.2 release

9a57e03... by Mauricio Faria de Oliveira

Revert "cherry pick ecb92f26d3d0735188ce0dfac03698d694fa5e13 - fix dhcp make_failover_peer_config mixing ipv4 and ipv6 addresses"

This reverts commit 887be7f9e1ac7466626dc70f8ad79aa39ab973ca.

This is not yet released on 3.4 or 3.3 (3.2 is, interestingly).
Let's wait for its release on later versions, while we cut 3.1.

Signed-off-by: Mauricio Faria de Oliveira <email address hidden>

5bb2965... by Mauricio Faria de Oliveira

Revert "Backport fix for lp1979403 to 3.1"

This reverts commit e6481603a600add2009114b8a55044b4c4d62c76.

This fix is needed down to MAAS 3.2 (SF#00336339, 2023-01-18 16:49 UTC);
revert it from 3.1 for now.

Signed-off-by: Mauricio Faria de Oliveira <email address hidden>

887be7f... by Jacopo Rota

cherry pick ecb92f26d3d0735188ce0dfac03698d694fa5e13 - fix dhcp make_failover_peer_config mixing ipv4 and ipv6 addresses

e648160... by Seyeong Kim

Backport fix for lp1979403 to 3.1

969add0... by Mauricio Faria de Oliveira

Prepare for 3.1.2 RC1 release

740c5a7... by Tiago Pasqualini da Silva

Fix incorrect hostname from interface name

    MAAS currently creates a DNS record for each interface in a host
    by simply using its interface name. Whenever an interface has the
    '_' character, the code uses it anyway, which is currently breaking
    bind as this character is not allowed on domain names.
    This patch fixes that by verifying it and replacing the incorrect
    character.

    LP: #1807725

(cherry picked from commit 83b123eb37b88dd0b9974bed9ee4352474ddd0a0)
Signed-off-by: Mauricio Faria de Oliveira <email address hidden>

Backport:
 src/maasserver/models/staticipaddress.py

 Simple backport due to pyupgrade later;
 code formatted with black.

 commit 50d22fd35af7 ("run pyupgrade with minimum target python3.8")
 - entry = mapping["%s.%s" % (result.iface_name, result.fqdn)]
 + entry = mapping[f"{result.iface_name}.{result.fqdn}"]

 src/maasserver/models/tests/test_staticipaddress.py

 Change code formatting similarly,
 and remove `node.current_config` usage (not yet there),
 more aligned with the original function/above new one.

d463016... by Alberto Donato

LP:1773150 replace invalid UTF-8 chars in smartctl output

backport of 002f8c1c2d4a248b75fca33e3de29665464bf829

9cbd96f... by Alexsander de Souza

Prepare for 3.1.1 release