I have MaaS 2.7 installed and want to upgrade it. How to upgrade a snap to MAAS 3.2 says sudo snap refresh --channel=3.2 maas
should do it. But that command does not work:
root@bds-maas:~# snap refresh --channel=3.2 maas
error: snap "maas" is not available on 3.2/stable but is available to install on the following
channels:
3.2/candidate snap refresh --channel=3.2/candidate maas
3.2/beta snap refresh --channel=3.2/beta maas
3.2/edge snap refresh --channel=3.2/edge maas
Please be mindful pre-release channels may include features not completely tested or
implemented. Get more information with 'snap info maas'.
Ok, let’s see what versions are available:
root@bds-maas:~# snap info maas
name: maas
summary: Metal as a Service
publisher: Canonical✓
store-url: https://snapcraft.io/maas
contact: https://discourse.maas.io/
license: unset
description: |
Total automation of your physical servers for amazing data center operational efficiency.
commands:
- maas
services:
maas.supervisor: simple, enabled, active
snap-id: shY22YTZ3RhJJDOj0MfmShTNZTEb1Jiq
tracking: 2.7/stable/ubuntu-20.04
refresh-date: today at 13:00 +07
channels:
3.2/stable: 3.2.2-12005-g.f0f96fa78 2022-08-08 (23178) 147MB -
3.2/candidate: ↑
3.2/beta: 3.2.0~beta6-11974-g.58f181df4 2022-06-06 (21449) 147MB -
3.2/edge: 3.2.2-12005-g.f0f96fa78 2022-08-08 (23178) 147MB -
latest/stable: –
latest/candidate: –
latest/beta: –
latest/edge: 3.3.0~alpha1-12504-g.d0ebf6fb3 2022-08-08 (23186) 128MB -
3.1/stable: 3.1.0-10901-g.f1f8f1505 2022-04-13 (19835) 144MB -
3.1/candidate: 3.1.0-10901-g.f1f8f1505 2022-08-09 (23190) 144MB -
3.1/beta: ↑
3.1/edge: 3.1.0-10907-g.3d0a11b51 2022-07-12 (22645) 145MB -
3.0/stable: 3.0.0-10029-g.986ea3e45 2022-01-27 (18309) 142MB -
3.0/candidate: 3.0.0-10029-g.986ea3e45 2022-08-09 (23191) 143MB -
3.0/beta: ↑
3.0/edge: 3.0.0-10038-g.034590735 2021-11-03 (17223) 142MB -
2.9/stable: 2.9.2-9165-g.c3e7848d1 2021-04-16 (12555) 149MB -
2.9/candidate: ↑
2.9/beta: 2.9.3~beta2-9199-g.6e6ee4dcd 2021-09-02 (16249) 143MB -
2.9/edge: 2.9.3~beta2-9200-g.43e4a0607 2021-09-06 (16325) 143MB -
2.8/stable: 2.8.7-8610-g.4a04daa43 2021-09-16 (16381) 135MB -
2.8/candidate: 2.8.7-8610-g.4a04daa43 2021-09-16 (16381) 135MB -
2.8/beta: ↑
2.8/edge: 2.8.8-8612-g.1cff37b3c 2022-03-30 (19459) 136MB -
2.7/stable: 2.7.3-8290-g.ebe2b9884 2020-08-21 (8724) 144MB -
2.7/candidate: ↑
2.7/beta: ↑
2.7/edge: 2.7.3-8297-g.68a767295 2021-02-16 (11806) 143MB -
installed: 2.7.3-8290-g.ebe2b9884 (8724) 144MB -
Weird, 3.2/stable
should be available. Well, 3.2/edge
is the same version as 3.2/stable
and 3.2/edge
shows up in the list of the first command, so let’s try that:
root@bds-maas:~# snap refresh --channel=3.2/edge maas
error: snap "maas" is not available on 3.2/edge but is available to install on the following
tracks:
latest/candidate snap refresh --candidate maas
latest/beta snap refresh --beta maas
latest/edge snap refresh --edge maas
3.1/stable snap refresh --channel=3.1 maas
3.1/candidate snap refresh --channel=3.1/candidate maas
3.1/beta snap refresh --channel=3.1/beta maas
3.1/edge snap refresh --channel=3.1/edge maas
3.0/stable snap refresh --channel=3.0 maas
3.0/candidate snap refresh --channel=3.0/candidate maas
3.0/beta snap refresh --channel=3.0/beta maas
3.0/edge snap refresh --channel=3.0/edge maas
2.9/stable snap refresh --channel=2.9 maas
2.9/candidate snap refresh --channel=2.9/candidate maas
2.9/beta snap refresh --channel=2.9/beta maas
2.9/edge snap refresh --channel=2.9/edge maas
2.8/stable snap refresh --channel=2.8 maas
2.8/candidate snap refresh --channel=2.8/candidate maas
2.8/beta snap refresh --channel=2.8/beta maas
2.8/edge snap refresh --channel=2.8/edge maas
2.7/stable snap refresh --channel=2.7 maas
2.7/candidate snap refresh --channel=2.7/candidate maas
2.7/beta snap refresh --channel=2.7/beta maas
2.7/edge snap refresh --channel=2.7/edge maas
Please be mindful that different tracks may include different features. Get more information
with 'snap info maas'.
Now all the 3.2 versions are missing from the output.
What am I doing wrong? I tried to search for that "error: snap "maas" is not available on
… but is available to install on the following
" error message but couldn’t find the solution.