~seyeongkim/maas:lp1999827_3.1

Last commit made on 2023-08-30
Get this branch:
git clone -b lp1999827_3.1 https://git.launchpad.net/~seyeongkim/maas
Only Seyeong Kim can upload to this branch. If you are Seyeong Kim please log in for upload directions.

Branch merges

Branch information

Name:
lp1999827_3.1
Repository:
lp:~seyeongkim/maas

Recent commits

1db89db... 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)

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

0d8bdaf... by Seyeong Kim

Fix utf-8 character error when bmc-config

Related LP and article

https://bugs.launchpad.net/bugs/1892983
https://bugs.launchpad.net/bugs/1929478
https://discourse.maas.io/t/maas-failed-commissioning/4904
(cherry picked from commit 3eec5b5161515a23f58c72638a5ff8aac7486622)

22c2ab1... by Alberto Donato

backport changes for piston 0.5

5b79ab7e5 - bump piston dependency, drop now useless monkeypatch
4117bcf3b - drop monkeypatch for piston emitter, since it's been fixed in piston itself

24f851b... by Alexsander de Souza

update submodules