The disk id_path isn't recorded correctly on commissioning
Bug #1859481 reported by
Björn Tillenius
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
This is with MAAS 2.7.0~rc1-
After commissioning a machine, you'll see that the disks will have
id_paths like "pci-0000:
like "/dev/disk/
This causes problems editing disk tags for example, since the validation
of id_path fails when adding a tag to the disk.
Note that this isn't visible with VMs using virtio disks, since virtio
doesn't implement /dev/disk/by-id/ and thus MAAS puts the normal
device path there.
Related branches
~ack/maas:1859481-storage-device-id
Merged
into
maas:master
- Björn Tillenius: Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 89 lines (+12/-7)4 files modifiedMakefile (+3/-1)
src/machine-resources/src/machine-resources/Gopkg.lock (+1/-1)
src/metadataserver/builtin_scripts/hooks.py (+3/-1)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+5/-4)
tags: | added: ui |
Changed in maas: | |
milestone: | none → 2.7.0rc2 |
Changed in maas: | |
assignee: | nobody → Caleb Ellis (caleb-ellis) |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
status: | Triaged → Incomplete |
summary: |
- Adding tags to a disk doesn't save them in the DB + The disk id_path isn't recorded correctly on commissioning |
description: | updated |
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I am not getting this behaviour - see attached video. Can you paste what's sent through the websocket and what's returned?