MAAS upgrade in Ubuntu 20.04

In the upcoming Ubuntu 20.04 LTS release (Focal Fossa), MAAS is transitioning to use snaps as the primary delivery mechanism.

MAAS .deb packages are still provided in the archive, and automatically install the maas snap from the Snap Store.

Further updates to MAAS will be provided directly through the Snap Store. The current state of installed MAAS snap and available versions can be checked with the snap info maas command.

First time MAAS install on Ubuntu 20.04

If you’re installing MAAS for the first time, you can follow these instructions. It’s not necessary to install the maas package from the archive anymore, as it’s only provided as a transitional package and just installs the maas snap.

Upgrading from Ubuntu 18.04 LTS

When upgrading an existing 18.04 LTS (bionic) installation with MAAS installed, the standard upgrade process can be followed (using do-release-upgrade). As part of the upgrade of MAAS packages, the snap package will be installed and configuration and data from the current installation will be migrated to the snap setup.

Before performing the upgrade, please make sure that connectivity to the Snap Store is available. If you’re behind a restrictive proxy/firewall, ensure that URLs listed in this post are accessible.

The migration process will handle setting up the maas snap in the correct mode (rack, region or rack+region) matching the previous installation.

The PostgreSQL database used by MAAS will not be migrated inside the snap, so the installation will continue to use the previous (local or remote) service.