~r00ta/maas:cleanup-runtimeerorr-import

Last commit made on 2023-09-27
Get this branch:
git clone -b cleanup-runtimeerorr-import https://git.launchpad.net/~r00ta/maas
Only Jacopo Rota can upload to this branch. If you are Jacopo Rota please log in for upload directions.

Branch merges

Branch information

Name:
cleanup-runtimeerorr-import
Repository:
lp:~r00ta/maas

Recent commits

52e7288... by Jacopo Rota

lint

21a05fb... by Jacopo Rota

cleanup test_dhcp imports

1c8363b... by Jacopo Rota

fix: lp-2037420 - do not use domain name for rack if the dns on the subnet is disallowed

5c0dbab... by Christian Grabowski

add test that hits _v6_lookup in safe_getaddrinfo and ensures
non-deferred answer

910cc0e... by Christian Grabowski

fix: checkout interface has vlan before accessing id in configure workflow

afb7468... by Anton Troyanov

Revert "remove call for temporal migrations in dbupgrade"

This reverts commit a9c203fdfed25d12c900766b218e2ab3d4f1f31f.

ff91231... by Anton Troyanov

fix: change database owner

MAAS requires $dbc_dbuser to be an owner of $dbc_dbname.
One of the reasons is to be able to create new schemas (CREATE SCHEMA).

This is not new and documentation mentions the following configuration step:
```
sudo -u postgres \
  createdb -O \
  "$MAAS_DBUSER" \
  "$MAAS_DBNAME"
```

Unfortunately dbconfig-common used by MAAS configures `postgres` user as the
owner of `maasdb`.

Starting from dbconfig-common 2.0.22 the owner of the database
will be PostgreSQL user ($dbc_dbuser) [0]. For us this is the desired behavior.

Because dbconfig-common 2.0.22 is not available in 22.04, we have to fix
it ourselves for new installations and handle this case during upgrades
via deb packages.

In situations when MAAS cannot fix database ownership automatically we
want to inform MAAS user via deprecation notice [3].

[0]: https://salsa.debian.org/debian/dbconfig-common/-/blob/master/debian/changelog#L21
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010923
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021791
[3]: https://maas.io/deprecations/MD4

afc8b01... by Anton Troyanov

chore(deps): bump github.com/canonical/lxd

Resolves LP:2028156

d0cb969... by Björn Tillenius

Clean up utils.osystem not to use dicts.

Also removed list_all_usable_releases, since it was basically the
same as list_all_usable_osystems.

16bf4ec... by "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>

Update maas-ui to f97921afe
chore(deps): update dependency address to v2 (#5173)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>