Merge ~r00ta/maas:lp-2058273-sync-bootresources-deterministic into maas:master

Proposed by Jacopo Rota
Status: Superseded
Proposed branch: ~r00ta/maas:lp-2058273-sync-bootresources-deterministic
Merge into: maas:master
Reviewer Review Type Date Requested Status
MAAS Maintainers Pending
Review via email: mp+462614@code.launchpad.net

This proposal has been superseded by a proposal from 2024-03-18.

Commit message

fix: lp-2058273. Make the sync-bootresources workflow deterministic

Description of the change

The temporal workflows must be deterministic. This MP aims to use the random generator provided by the temporal sdk to randomize the source list for the images in order to balance the load on the available regions.

To post a comment you must log in.

Unmerged commits

a0a79db... by Jacopo Rota

fix: lp-2058273. Make the sync-bootresources workflow deterministic

dbce2b4... by Jacopo Rota

fix: lp-2058037. Ensure get-bootresourcefile-endpoints activity fails if the region is not exposing its ip yet.

(cherry-picked from 81a99768c3098a9fbd76f8de1e27ea8433af04ba)

a4e6c83... by Peter Makowski

Update maas-ui to 2384eb408
fix: cannot stop importing images MAASENG-2864 (#5351)

92bfa65... by Alexsander de Souza

fix(bootresource): lp-2057979. Avoid workflow id clash.

ID must be unique within a namespace

(cherry picked from commit 069e184b0fb96044079d6f75a7ad4f6d1e974494)

ab752d1... by Alexsander de Souza

refactor(bootresources): show prettier error messages

don't show complete stacktraces for recoverable errors.

fixes LP#2056223

(cherry picked from commit cdd0eac56049bf6a6d6a919ebc2e3c81b788a645)

a0b47ab... by Anton Troyanov

fix: tftp paths are wrong

TFTP handler will make a proxy call over HTTP to fetch bootloader and
related files. We should not return anything if this is not HTTP 200 OK.

Resolves LP:2057767

(cherry picked from commit 61a53d4c8b98ee63c61900f4dc3cb278b29e3226)

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)

Update scan failed

At least one of the branches involved have failed to scan. You can manually schedule a rescan if required.

Subscribers

People subscribed via source and target branches