~bjornt/maas:dblock-failure

Last commit made on 2021-09-07
Get this branch:
git clone -b dblock-failure https://git.launchpad.net/~bjornt/maas
Only Björn Tillenius can upload to this branch. If you are Björn Tillenius please log in for upload directions.

Branch merges

Branch information

Name:
dblock-failure
Repository:
lp:~bjornt/maas

Recent commits

a04764b... by Björn Tillenius

Fix dblocks intermittent test failure.

Postgres advisory locks are global across sessions and databases, which
meant that other tests that run in parallel might acquire and release
locks.

The test_lock_actually_locked tests did grab an exclusive lock for the
cluster, but most tests using locks didn't respect that lock.

I change is so that the test only looks at the lock it's interested in,
and don't care if there are additional locks.

26679f6... by Caleb Ellis

Update maas-ui to cc1ea4d5
feat(ui): add ability to filter machines by clone error (#3032)

52835bb... by Caleb Ellis

Update maas-ui to 29892292
feat(ui): hide header subtitle and buttons if form is open (#3033)

8c26f2e... by Alberto Donato

accept multiple PEM materials when creating a Certificate object

Elenents are joined with newlines so that each PEM starts on a new
line (otherwise decoding will fail)

49c8e09... by Björn Tillenius

Catch not found errors when generating commissioning data for vm hosts.

We first get the list of network interfaces, and then for each interface
we get the state of it. During that time, some interfaces may have
disappeared.

This especially happens when adding a vm host, since the VMs are
starting and shutting down, which causes tap intefaces to be removed.

It should be enough to catch NotFound errors, but due to a bug in LXD,
we have to catch LXDAPIErrors as well.

41103b1... by Alberto Donato

include certificate metadata in websocket handlers

This adds certificate expiration and fingerprint to pod.get and general.generate_client_certificate websocket handlers

e4b57f8... by Caleb Ellis

Update maas-ui to afafad35
feat(ui): move Add KVM form to header (#3027)

b171fdf... by Caleb Ellis

Update maas-ui to b484f182
feat(ui): use correct counts for grouped clone errors (#3028)

c34d9fe... by Björn Tillenius

Set the owner for dynamically created host machines for VM hosts.

When creating a VM host that didn't have a corresponding machine in
MAAS, one was created without setting the user. This meant that any
logged in user could see the machine and claim it.

70f25fc... by Alberto Donato

add get-machine-token option to maas-run-scripts