~bjornt/maas:deploy-to-memory-non-ubuntu

Last commit made on 2023-09-27
Get this branch:
git clone -b deploy-to-memory-non-ubuntu 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:
deploy-to-memory-non-ubuntu
Repository:
lp:~bjornt/maas

Recent commits

c054327... by Björn Tillenius

Allow non-Ubuntu OSes to be deployed to memory.

For uploaded files, deploying to memory is supported
if it's tgz or txz image. That's what the initramfs
supports.

f624207... by Björn Tillenius

Add a can_deploy_to_memory flag to list_usable_osystems.

This will later be used to flag and validate images that can be
deployed to memory.

01d80ac... by Peter Makowski

Update maas-ui to bf430fd4e
docs: machine list requests MAASENG-1906 (#5176)

e268a31... by Jacopo Rota

refactor: cleanup imports in test_dhcp

70ef9b5... by Jones Ogolo <email address hidden>

Update maas-ui to bb58cce07
test: add cpNs to exception check (#5180)

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