lp:~boulc/maas

Get this repository:
git clone https://git.launchpad.net/~boulc/maas
Only Sébastien Boulay can upload to this repository. If you are Sébastien Boulay please log in for upload directions.

Branches

Name Last Modified Last Commit
master 2023-11-08 14:58:38 UTC
Update maas-offline-docs to 69e6dfb5

Author: Bill Wear
Author Date: 2023-11-08 14:58:38 UTC

Update maas-offline-docs to 69e6dfb5
adjust navigation to match mandatory diataxis requirements for 6662

3.4 2023-11-07 10:31:39 UTC
Update maas-ui to 25758c366

Author: Peter Makowski
Author Date: 2023-11-07 10:31:39 UTC

Update maas-ui to 25758c366
fix(machines): default to ascending sort (#5203) (#5204)

- 3.4 backport

3.2 2023-11-06 15:38:35 UTC
LP:2040188 - bmc-config: add missing script metadata for parameter maas_auto_...

Author: Mauricio Faria de Oliveira
Author Date: 2023-11-06 15:38:35 UTC

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 <mfo@canonical.com>
(cherry picked from commit f06ea636a9466176d29d71e1539c65d7538f41da)

3.3 2023-11-06 12:38:36 UTC
LP:2040188 - bmc-config: add missing script metadata for parameter maas_auto_...

Author: Mauricio Faria de Oliveira
Author Date: 2023-11-06 12:38:36 UTC

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 <mfo@canonical.com>
(cherry picked from commit f06ea636a9466176d29d71e1539c65d7538f41da)

3.0 2023-10-02 16:18:48 UTC
Fix reverse order ip address

Author: Ubuntu
Author Date: 2023-10-02 16:18:48 UTC

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)

3.1 2023-10-02 16:01:37 UTC
Fix reverse order ip address

Author: Ubuntu
Author Date: 2023-10-02 16:01:37 UTC

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)

branch-3.4.0 2023-09-27 15:50:42 UTC
LP:2037524 fix bigint migration for IDs, exclude Fabric since 0 value is used...

Author: Alberto Donato
Author Date: 2023-09-27 15:50:42 UTC

LP:2037524 fix bigint migration for IDs, exclude Fabric since 0 value is used there too

backport of ba319aecf from master

2.9 2023-08-22 20:59:08 UTC
Release 2.9.3

Author: Mauricio Faria de Oliveira
Author Date: 2023-08-22 20:59:08 UTC

Release 2.9.3

sqlalchemy-spike 2023-08-21 14:23:12 UTC
Update maas-ui to 2e7778424

Author: Peter Makowski
Author Date: 2023-08-21 14:23:12 UTC

Update maas-ui to 2e7778424
fix: use MachineListGroupCount (#5109)

machine-list-spike 2023-02-25 23:19:30 UTC
Fix test failures related to row.ips.

Author: Björn Tillenius
Author Date: 2023-01-30 09:54:13 UTC

Fix test failures related to row.ips.

temporal-spike 2022-12-05 17:28:20 UTC
Temporal spike dependencies

Author: Igor Brovtsin
Author Date: 2022-12-05 17:28:20 UTC

Temporal spike dependencies

2.8 2022-10-26 14:45:48 UTC
Release 2.8.9 RC1

Author: Heitor Alves de Siqueira
Author Date: 2022-10-26 14:45:48 UTC

Release 2.8.9 RC1

directory_layout_script 2022-08-26 11:07:50 UTC
Move to Operations, prefer git ls-files over directory traversal

Author: Adam Collard
Author Date: 2022-08-26 11:02:44 UTC

Move to Operations, prefer git ls-files over directory traversal

2.7 2022-06-29 16:51:15 UTC
Release 2.7.4 RC2

Author: Dan Streetman
Author Date: 2022-06-29 16:49:24 UTC

Release 2.7.4 RC2

rack_region_exploration 2021-08-23 21:07:51 UTC
extra IP from payload to find machine in front of rack controller

Author: Christian Grabowski
Author Date: 2021-08-23 21:07:51 UTC

extra IP from payload to find machine in front of rack controller

include remote IP in each payload to region server

2.6 2021-06-28 15:53:45 UTC
Reuse metric structures for Prometheus

Author: Victor Tapia
Author Date: 2021-06-28 15:53:45 UTC

Reuse metric structures for Prometheus

Backport of 2ad24e0

2.9.2-branch 2021-03-18 14:54:46 UTC
Set GO111MODULE to off to build with latest go snap

Author: Adam Collard
Author Date: 2021-03-18 14:54:46 UTC

Set GO111MODULE to off to build with latest go snap

2.7.1-branch 2020-05-22 17:13:43 UTC
2.7.1 with UI bits

Author: Adam Collard
Author Date: 2020-05-22 17:13:43 UTC

2.7.1 with UI bits

2.4 2020-05-16 00:56:30 UTC
Backport of 9424d23 LP: #1869958 - Run fio using the native block size of the...

Author: Lee Trager
Author Date: 2020-05-16 00:56:30 UTC

Backport of 9424d23 LP: #1869958 - Run fio using the native block size of the disk.

2.3 2020-04-17 22:27:36 UTC
Backport of c25d426 LP: #1870171 - Remove token associations when transferrin...

Author: Lee Trager
Author Date: 2020-04-17 22:27:36 UTC

Backport of c25d426 LP: #1870171 - Remove token associations when transferring ownership of a Node.

2.5 2019-05-31 15:48:23 UTC
backport 20a6b1e4ae4f4b48a6763a4915e18195ae4defb6 - LP: #1817674 - Completely...

Author: Anthony Dillon
Author Date: 2019-05-31 15:48:23 UTC

backport 20a6b1e4ae4f4b48a6763a4915e18195ae4defb6 - LP: #1817674 - Completely remove the DNS resource when deleting from the UI

1.9 2017-12-06 15:38:33 UTC
LP: #1713795 - Grub change the name of the shim, breaking image import in Trusty

Author: Andres Rodriguez
Author Date: 2017-12-06 15:38:33 UTC

LP: #1713795 - Grub change the name of the shim, breaking image import in Trusty

2.2 2017-10-30 14:51:05 UTC
Backport of 98b29059a2630ba09efc0bd34a55e6de9eadbb00 from master.

Author: Blake Rouse
Author Date: 2017-10-30 14:51:05 UTC

Backport of 98b29059a2630ba09efc0bd34a55e6de9eadbb00 from master.

Recreate RPC connection in the database when updating the running regiond processes.

2.1 2017-04-26 20:11:27 UTC
[r=andreserl][bug=1686169][author=andreserl] Revert rev5602, which fixed LP: ...

Author: Andres Rodriguez
Author Date: 2017-04-26 20:11:27 UTC

[r=andreserl][bug=1686169][author=andreserl] Revert rev5602, which fixed LP: #1686169. This causes rack controllers to fail importing images

2.0 2016-11-02 20:26:14 UTC
[r=ltrager][bug=1554636][author=ltrager] Update iSCSI targets on every import...

Author: Lee Trager
Author Date: 2016-11-02 20:26:14 UTC

[r=ltrager][bug=1554636][author=ltrager] Update iSCSI targets on every import (in case last time failed to update).

1.5 2016-09-03 00:36:16 UTC
[r=andreserl][bug=][author=ricgard] Backport: template change for generated d...

Author: Mike Pontillo
Author Date: 2016-09-03 00:36:16 UTC

[r=andreserl][bug=][author=ricgard] Backport: template change for generated docs back link to maas.io.

1.7 2016-09-03 00:35:30 UTC
[r=andreserl][bug=][author=ricgard] Backport: template change for generated d...

Author: Mike Pontillo
Author Date: 2016-09-03 00:35:30 UTC

[r=andreserl][bug=][author=ricgard] Backport: template change for generated docs back link to maas.io.

1.10 2016-03-04 21:45:27 UTC
[r=mpontillo][bug=1499934][author=mpontillo] Fix handling of null/empty value...

Author: Mike Pontillo
Author Date: 2016-03-04 21:45:27 UTC

[r=mpontillo][bug=1499934][author=mpontillo] Fix handling of null/empty values in VMware power driver, leading to incorrect URL construction. (Fixes bug #1499934.)

1.8 2015-12-22 19:09:15 UTC
[r=mpontillo][bug=1484696][author=billy-olsen] Specify the disablereuse=on fo...

Author: Billy Olsen
Author Date: 2015-12-22 19:09:15 UTC

[r=mpontillo][bug=1484696][author=billy-olsen] Specify the disablereuse=on for the websockets ProxyPass configuration to workaround upstream bug https://bz.apache.org/bugzilla/show_bug.cgi?id=55890

1.6 2014-08-25 01:56:22 UTC
[r=julian-edwards][bug=1360008][author=julian-edwards] Fix the 0088_z_backpor...

Author: Julian Edwards
Author Date: 2014-08-25 01:56:22 UTC

[r=julian-edwards][bug=1360008][author=julian-edwards] Fix the 0088_z_backport_trunk_0099 migration which gave a transaction error if matching Network records already existed.

1.3 2014-04-17 09:04:23 UTC
[r=rvb][author=rvb] Backport 1765: Documentation theme; Backport 2258: Add th...

Author: Raphaël Badin
Author Date: 2014-04-17 09:04:23 UTC

[r=rvb][author=rvb] Backport 1765: Documentation theme; Backport 2258: Add the bzr last revision, last revision date, and build date to the documentation pages; Backport 2238: Add version switcher. This only affects the documentation (i.e. not part of what gets packaged).

1.2 2014-04-16 08:32:33 UTC
Backport 1765: Documentation theme; Backport 2258: Add the bzr last revision,...

Author: Raphaël Badin
Author Date: 2014-04-16 08:32:33 UTC

Backport 1765: Documentation theme; Backport 2258: Add the bzr last revision, last revision date, and build date to the documentation pages; Backport 2238: Add version switcher. This only affects the documentation (i.e. not part of what gets packaged).

1.4 2014-04-07 18:10:37 UTC
[r=julian-edwards][bug=1302956][author=rvb] Add the version switcher widget. ...

Author: Raphaël Badin
Author Date: 2014-04-07 18:10:37 UTC

[r=julian-edwards][bug=1302956][author=rvb] Add the version switcher widget. Add the new `doc-with-versions` make target to generate a version of the documentation that includes the version switcher widget.

1.0 2012-07-06 10:31:27 UTC
Use absolute path in COMMISSIONING_SCRIPT.

Author: Raphaël Badin
Author Date: 2012-07-06 10:31:27 UTC

Use absolute path in COMMISSIONING_SCRIPT.

134 of 34 results
This repository contains Public information 
Everyone can see this information.