LXD VM storage devices disappear post commissioning

Bug #1948965 reported by Anton Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Alberto Donato
3.0
Fix Released
High
Alberto Donato

Bug Description

MAAS 3.0. Adding a LXD VM with 4 disks, 8 (boot), 32, 32, 8 G:
Pre commissioning, the 4 disks show up, except the boot disk specified during composure (sda) is on the first 32 GB drive (which is wrong). Total space for the machine shows 80 GB
During commissioning - the capacity drops to 8 GB for the machine, and only shows one drive.

Seems 100% reproduceable.

Related branches

Revision history for this message
Alberto Donato (ack) wrote :

can you please paste the output of `lxc config show <machine name>` for such a machine?

Changed in maas:
status: New → Incomplete
Revision history for this message
Alberto Donato (ack) wrote :

also, what version of lxd do you have (from `lxc version`)?

Revision history for this message
Alberto Donato (ack) wrote :

I think this is related to LP:1940977 and LP:1941050

Revision history for this message
Anton Smith (anton5mith) wrote :

Hi, yes after upgrading LXD to latest (4.17 I believe), the issue went away with the disappearing disk.

And after upgrading MAAS to 3.1 beta, the correct boot disk was set. I don't know if we want to backport the MAAS fix.

Revision history for this message
Alberto Donato (ack) wrote :

The change has already been backported to 3.0, but not yet released. It will be once we release 3.0.1

Alberto Donato (ack)
Changed in maas:
importance: Undecided → High
assignee: nobody → Alberto Donato (ack)
status: Incomplete → In Progress
milestone: none → 3.1.0
Changed in maas:
status: In Progress → Fix Committed
Bill Wear (billwear)
Changed in maas:
milestone: 3.1.0 → 3.1.0-beta5
Changed in maas:
status: Fix Committed → Fix Released
Revision history for this message
Heitor Alves de Siqueira (halves) wrote :

MAAS 3.0.1 has now been released, and is available as below:
- deb: ppa:maas/3.0 (3.0.1-10052-g.82c730c57-0ubuntu1~20.04.1)
- snap: 3.0/stable (3.0.1-10052-g.82c730c57)

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.