Upgrading from MAAS 2.6 to 2.8

Hi, I could not find instructions on upgrading from MAAS 2.6 to 2.8. How do I do it?

@db0west, did you install 2.6 from a PPA or did you use the --devmode snap?

It’s been a while, but I’ll caution to say the snap with —classic.

so, @db0west, the 2.6 snap should only have installed as a snap with --devmode.

can you do a ‘sudo snap list’ and see if you have the 2.6 snap?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

I used apt. It showed up with sudo apt list | grep maas

dw@maas-effect:~/src/homelab/maas_control$ sudo apt list | grep maas

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

maas/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed]
maas-cli/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
maas-common/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
maas-dhcp/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
maas-dns/bionic,bionic 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all
maas-enlist/bionic 0.4+bzr38-0ubuntu3 amd64
maas-proxy/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
maas-rack-controller/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
maas-region-api/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
maas-region-controller/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
python3-django-maas/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
python3-libmaas/bionic,bionic 0.6.4-0ubuntu1~18.04.1 all
python3-maas-client/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]
python3-maas-provisioningserver/bionic,bionic,now 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 all [installed,automatic]

I just discovered some instructions with

sudo add-apt-repository ppa:maas/2.6 in them.

I surmised that there was a ppa:maas/2.8

It indeed looks like it is a thing. I am in the middle of a juju deployment so I will wait for the actual upgrade, but adding the ppa seems to have worked and the output from add-apt-repository looked promising.

dw@maas-effect:~$ sudo add-apt-repository ppa:maas/2.8
[sudo] password for dw: 
 For stable releases of 2.8.x
Hit:1 http://prerelease.keybase.io/deb stable InRelease
Get:22 http://ppa.launchpad.net/maas/2.8/ubuntu bionic/main Translation-en [2,904 B]
Fetched 4,783 kB in 2s (2,426 kB/s)                  
Reading package lists... Done

That was indeed a valid upgrade path. Will apt continue to be a supported upgrade path? Should I backup my server, decommission the apt installed instance, and restore to a snap?

@db0west, apt is still supported as of now, and we are expecting to have a ppa:maas/2.9 – but we are encouraging users to move to the snap. You should always back up your server after updates like this, of course, but if you can decommission the apt and restore to a snap, that’s probably a step into the future. I wouldn’t take it too lightly: do you have a test rig to try the apt --> snap switch before live updating?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.