~troyanov/maas:backport-3b58876-3.5

Last commit made on 2024-03-18
Get this branch:
git clone -b backport-3b58876-3.5 https://git.launchpad.net/~troyanov/maas
Only Anton Troyanov can upload to this branch. If you are Anton Troyanov please log in for upload directions.

Branch merges

Branch information

Name:
backport-3b58876-3.5
Repository:
lp:~troyanov/maas

Recent commits

d350bce... by Anton Troyanov

fix: /run/maas should be owned by maas

`/run` is usually a tmpfs mount, and it is not persistent across reboots, so
`/run/maas` should not be created using .dirs, .install or .postinst scripts.

MAAS has various services that store their directories and files under
`/run/maas`, but because some services are run as root (e.g. dhcp), this leads
to ownership issues when `mkdir -p` is used (e.g. DHCP will create
`/run/maas/dhcp`)

In order to solve ownership issue, this commit changes DHCP service directory
to `/run/maas-dhcp` while keeping `/run/maas` only for files related to MAAS
itself (not external 3rd party services)

Resolves LP:2056222
Resolves LP:2056225

(cherry picked from commit 3b58876f7dbf6d4b563a36a16282a51876c28255)

6722880... by Björn Tillenius

Bug #2056740: Can't commission/deploy AMT machines

The maas-power script was passed "--boot-mode pxe" for AMT machines
and failed, since such a parameter wasn't defined.

All other power drivers, including the newer AMT one, sets PXE boot every
time the machine is powered on. I changed things, so that "boot-mode" is
no longer passed, and the older AMT driver also sets the machine to PXE
boot whenever it's turned on.

(cherry picked from commit 116ccedb102a78136d9e1d62d3144850e861947e)

29d7149... by Björn Tillenius

Bug #2057750: Can't pxe boot legacy non-uefi machines

The rewrite rules in maas agent had 'bootloader' instead of
'bootloaders' for non-UEFI bootloaders.

(cherry picked from commit c9c16ac166c1eab8a25ea95a43b9f6138d58ac26)

941cbbd... by Alexsander de Souza

Revert "workaround aiohttp bug"

This reverts commit e17821ee5b7c95b41c3932a3ca3b714ac022f991.

(cherry-picked from a7431b1dbfcfac97057f5266b21c6e6053197af5)

0365e24... by Jacopo Rota

fix: lp-2056781. no maximum attempts for the download-bootresourcefile activity in the sync-bootresources workflow

(cherry picked from commit 348e1da0f425f855be385cc9cb23c96162a111b0)

56b11fa... by Christian Grabowski

fix: allow non-default ports for forward dns servers
(cherry picked from commit d21ba292d3f8f8bff68279ec2538b91bb831ceba)

0047719... by Bill Wear

Update maas-offline-docs to 9d6e4d365
run hunspell on first third of doc set

2c0ff28... by Alexsander de Souza

restore target used by maas-release-tools

(cherry picked from commit 85fc8efc48b6b58136c48b7e28ea646be3358836)

efc8ac5... by Anton Troyanov

update the `package-repositories` to maas/3.5-next

65ceb31... by Anton Troyanov

set build PPA to ppa:maas/3.5-next