~mfo/maas:lp2020397-3.1

Last commit made on 2023-07-25
Get this branch:
git clone -b lp2020397-3.1 https://git.launchpad.net/~mfo/maas
Only Mauricio Faria de Oliveira can upload to this branch. If you are Mauricio Faria de Oliveira please log in for upload directions.

Branch merges

Branch information

Name:
lp2020397-3.1
Repository:
lp:~mfo/maas

Recent commits

4a66aed... by Adam Collard

[3.1] LP:2020397: Look for executables for cloud-init and netplan

Instead of using package managers, look for executables

Backport efcd6c71914a3773fa6315133c89b9b00bdb89e4

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

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

2dff785... by Alexsander de Souza

Prepare for 3.1.1 RC1 release