Disk tags specified when composing LXD VM are lost after commissioning

Bug #2055125 reported by Trent Lloyd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Status tracked in 3.6
3.5
Won't Fix
Medium
Unassigned
3.6
Triaged
Medium
Unassigned

Bug Description

When composing an LXD VM, any tags specified during compose disappear after commissioning.

= Reproduction =
1. Navigate to an LXD VM Host (LXD latest/stable 5.20-f3dd836 on 22.04 Jammy)
2. Click Add VM
3. On the compose page, add a second disk
4. Write 'osd' in the tag field, then click 'Create tag "osd"'
5. Click compose machine
6. After a few seconds, refresh the VM list so that it appears (due to Bug #1991228)
7. Click the new VM
8. Click the Storage tab
9. Before automatic commissioning completes, note that each disk is tagged with the name of the storage pool and the custom osd tag.
10. After commissioning completed, the original two tags are removed and replaced with a 'rotary' and '1rpm' tag.

Version: 3.4.0-14321-g.1027c7664

Trent Lloyd (lathiat)
description: updated
description: updated
Trent Lloyd (lathiat)
summary: - Disk tags specified when composing LXD VM are lost
+ Disk tags specified when composing LXD VM are lost after commissioning
Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 3.4.x
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

MAAS deletes the tags when a machine/VM is recommissioned by design. The UI gives the ability to create tags during VM composition, which is pointless as these tags will be deleted when the VM is commissioned. The documentation is not clear on that point, and the UI should not have that functionality.

no longer affects: maas/3.4
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.