maas:3.2

Last commit made on 2024-04-09
Get this branch:
git clone -b 3.2 https://git.launchpad.net/maas
Members of MAAS Committers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
3.2
Repository:
lp:maas

Recent commits

dbdc94f... by Seyeong Kim

Bug #2012596: MAAS 3.2 deb package memory leak after upgrading

(cherry picked from commit d792780dbd0571fcd94e22cb7ce559d5f69aa1a0)

0093bc7... by Anton Troyanov

fixup! Prepare for 3.2.10 release

For 3.2 it should be focal, not jammy

9e9652a... by Anton Troyanov

Prepare for 3.2.10 release

0915ea5... by Igor Brovtsin

LP: 2022084
Cherry pick f3b643e5f40f171326df134a0827a93fdc0137e4 - Disable chainloading for third-party distros to fix secure boot

6098850... by Mauricio Faria de Oliveira

LP:2040188 - bmc-config: add missing script metadata for parameter maas_auto_ipmi_cipher_suite_id

The bmc-config script is passed several parameters from MAAS config options
(e.g. maas_auto_ipmi_{user,user_password,user_privilege_level,k_g_bmc_key}).

But maas_auto_ipmi_cipher_suite_id is not, since it's not in the metadata.

Add it to actually allow users to change the default IPMI cipher suite ID.

Tested on MAAS 3.4.0~rc2 with this debug change to print script arguments:

         def main():
         ...
             args = parser.parse_args()
        + print(args)
         ...

Change MAAS config for IPMI cipher suite ID from 3 to 17:

        $ maas admin maas get-config \
          name=maas_auto_ipmi_cipher_suite_id
        Success.
        Machine-readable output follows:
        "3"

        $ maas admin maas set-config \
          name=maas_auto_ipmi_cipher_suite_id \
          value=17
        Success.
        Machine-readable output follows:
        OK

        $ maas admin maas get-config \
          name=maas_auto_ipmi_cipher_suite_id
        Success.
        Machine-readable output follows:
        "17"

Before:
(17 is not used; source code default of 3 is used, instead)

        Namespace(ipmi_cipher_suite_id='3', ipmi_k_g='', ipmi_privilege_level='ADMIN', password=None, username='maas')

After:
(17 is now used!)

        Namespace(ipmi_cipher_suite_id='17', ipmi_k_g='', ipmi_privilege_level='ADMIN', password=None, username='maas')

Found by comparison with (working) parameter maas_auto_ipmi_user:

        $ grep -r 'maas_auto_ipmi_user[^_]' | grep -vw -e maasui -e maas-offline-docs -e tests
        src/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py:# maas_auto_ipmi_user:
        src/maasserver/forms/settings.py: "maas_auto_ipmi_user": {
        src/maasserver/forms/parameters.py: "maas_auto_ipmi_user",
        src/maasserver/models/config.py: "maas_auto_ipmi_user": "maas",

        $ grep -r 'maas_auto_ipmi_cipher_suite_id[^_]' | grep -vw -e maasui -e maas-offline-docs -e tests
        src/maasserver/forms/settings.py: "maas_auto_ipmi_cipher_suite_id": {
        src/maasserver/forms/parameters.py: "maas_auto_ipmi_cipher_suite_id",
        src/maasserver/models/config.py: "maas_auto_ipmi_cipher_suite_id": "3",

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

2da21b0... by Eline Maaike De Weerd

fix: added an e to the suit

(cherry picked from commit a2d011b8710894a40b5f02fbb12e641388f6be5a)

284a94d... by Jacopo Rota

Cherry pick b246274615da3d56fde185bd97eb1287e2cce4ec - Bug #2029417: Add a global interceptor for the closed handler exception to close the dead connections

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

a2aa437... by Jacopo Rota

add retry-after header in 409 responses - cherry pick e8aa5d01a5272c536a2aa3e23bd3fc11b580bd90

64f3902... by Alexsander de Souza

improve API performance tests