Since this method is only used in contexts that don't need caching
(and `get_region_vault_client_if_enabled` has its own cache), it's
safe to omit that cache and the related helpers.
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.
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.