~cgrabowski/maas:fix_dns_restart_when_adding_vault

Last commit made on 2022-11-28
Get this branch:
git clone -b fix_dns_restart_when_adding_vault https://git.launchpad.net/~cgrabowski/maas
Only Christian Grabowski can upload to this branch. If you are Christian Grabowski please log in for upload directions.

Branch merges

Branch information

Name:
fix_dns_restart_when_adding_vault
Repository:
lp:~cgrabowski/maas

Recent commits

f04821d... by Christian Grabowski

always set serial if using nsupdate

584af3c... by Igor Brovtsin

fix(vault): Clean Vault caches before fetching RPC shared secret

Otherwise, RPC secret will be fetched from the DB after migration to Vault
(until `regiond` process is restarted). Since there is no RPC secret in the DB
after migration, region will generate a new secret, preventing clients access.

8157fbd... by Peter Makowski

Update maas-ui to 3e926b4e0
fix: incorrect machine count on clear filter #4583 (#4588)

- use allMachineCount for no active filter

2f918ab... by Nick De Villiers

Update maas-ui to a5d0acd61
fix(vault): Hide additional notifications if a Vault error is displayed (#4586)

* fix(vault): Hide additional notifications if a Vault error is displayed

* Refactor: hideNotifications --> isNotificationListHidden

a3fc030... by Björn Tillenius

Add pytest CLI options for maasperf.

Now --perf-output-file and --perf-profiling-tag can be specified
when running pytest to control where the output timeing and profiling
data.

I also fixed conftest.py so that pytest can process it in --help.
It had global imports of maasserver, which doesn't work since
django isn't set up when --help runs.

I also made use of pytest_plugins rather than importing all the
fixtures explictly.

de9fbf0... by Igor Brovtsin

fix(vault): `migrate` command now creates `VaultSecret` metadata objects

e044bb8... by Nick De Villiers

Update maas-ui to 30a38eb63
feat(vault): render error message instead of content if vault is sealed (#4581)

Render an error message instead of full page content if an error message for vault is received.

7fd01d7... by Björn Tillenius

Remove the custom bin/test.perf runner.

There's no reason to have a custom test runner. It's better to
use pytest directly, so that it's clear how to use it.

I also improved the way we set the random seed, so that we do
it per-test and not per-session, and print out the used values
on test failures.

I kept bin/test.perf as a symlink, in case someone is very
used to it.

d4502c5... by Peter Makowski

Update maas-ui to 5808e4117
log generic websocket errors to the console (#4584)

88921c7... by Björn Tillenius

Remove the @perf_test decorator.

It's not needed, and it was somewhat broken. It reverted back to
a savepoint, unless commit_transaction was true. In that case
it simply removed the savepoint. I'm not quite sure what the intent
was there. If it was to simulate a commit, it was in the wrong
place, since it was outside the block that measures the duration.

The transaction is rolled back elsewhere for each tests, so no
need for a custom decorator. The decorator also had logic for
skipping the tests if django wasn't loaded, but I don'