~skatsaounis/maas:3.1

Last commit made on 2023-09-04
Get this branch:
git clone -b 3.1 https://git.launchpad.net/~skatsaounis/maas
Only Stamatis Katsaounis can upload to this branch. If you are Stamatis Katsaounis please log in for upload directions.

Branch merges

Branch information

Name:
3.1
Repository:
lp:~skatsaounis/maas

Recent commits

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

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)