Removing a LXD VM fails if it is running
Bug #1905263 reported by
Alberto Donato
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato | ||
2.9 |
Fix Released
|
High
|
Unassigned |
Bug Description
Trying to remove a machine from MAAS which is a LXD VM (composed from MAAS itself) fails if the machine is running, with the following error:
Error:Unable to decompose machine because: Failed talking to pod: Instance is running
This seems to happen because we don't wait for the machine to be stopped before removing it.
Related branches
~ack/maas:1905263-lxd-delete-force-2.9
- Alberto Donato (community): Approve
-
Diff: 39 lines (+10/-7)2 files modifiedsrc/provisioningserver/drivers/pod/lxd.py (+7/-6)
src/provisioningserver/drivers/pod/tests/test_lxd.py (+3/-1)
~ack/maas:1905263-lxd-delete-force
Merged
into
maas:master
- Adam Collard (community): Approve
-
Diff: 39 lines (+10/-7)2 files modifiedsrc/provisioningserver/drivers/pod/lxd.py (+7/-6)
src/provisioningserver/drivers/pod/tests/test_lxd.py (+3/-1)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.9.0rc2 → 2.10-next |
Changed in maas: | |
milestone: | 3.0.0 → none |
status: | Fix Committed → Fix Released |
To post a comment you must log in.