"Different channel detected" error with an air-gapped deployment

Bug #1961008 reported by Nobuto Murata
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Christian Grabowski

Bug Description

MAAS controllers info shows an error as "Different channel detected" when MAAS snap is installed in an air-gapped environment.

How to reproduce:

1. In a focal VM, install snaps in the following steps

sudo snap install maas-test-db
snap download --channel 3.1/stable maas
sudo snap ack maas_*.assert
sudo snap install maas_*.snap

2. Confirm the tracking channel is empty (since it's air-gapped)

$ snap list
Name Version Rev Tracking Publisher Notes
core18 20211215 2284 latest/stable canonical✓ base
core20 20220114 1328 latest/stable canonical✓ base
lxd 4.0.8 21835 4.0/stable/… canonical✓ -
maas 3.1.0-10901-g.f1f8f1505 18199 - canonical✓ -
maas-cli 0.6.5 13 latest/stable canonical✓ -
maas-test-db 12.4-17-g.9e70484 54 3.0/stable canonical✓ -
snapd 2.54.2 14549 latest/stable canonical✓ snapd

3. Configure the rest and open a Web UI

sudo maas init region+rack --database-uri maas-test-db:///
sudo maas createadmin

Then, there is a controller in unhealthy state with an error as "Different channel detected"

Related branches

Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Christian Grabowski (cgrabowski) wrote :

Able to reproduce, in an air-gapped system, there is no channel, making the version comparison flag different versions. As an aside, MAAS should still be able to function properly in this state.

Changed in maas:
status: New → Triaged
Changed in maas:
assignee: nobody → Christian Grabowski (cgrabowski)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
milestone: none → next
status: In Progress → Fix Committed
Changed in maas:
milestone: next → 3.2.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.