Skip to content

rmvm unable to purge raw type VM images  #4741

@whowutwut

Description

@whowutwut
[root@c910f02c05p03 ~]# chdef fs2vm113 vmstorageformat=
1 object definitions have been created or modified.
[root@c910f02c05p03 ~]# mkvm fs2vm113 -s 10g
[root@c910f02c05p03 ~]# xdsh fs2 ls /var/lib/libvirt/images/fs2vm113*
fs2: /var/lib/libvirt/images/fs2vm113.sda.qcow2
[root@c910f02c05p03 ~]# rmvm -p -f fs2vm113
[root@c910f02c05p03 ~]# xdsh fs2 ls /var/lib/libvirt/images/fs2vm113*
fs2: ls: cannot access /var/lib/libvirt/images/fs2vm113*: No such file or directory
[root@c910f02c05p03 ~]#

Changing to not be .raw ... and default to .qcow2, it works...

[root@c910f02c05p03 ~]# chdef fs2vm113 vmstorageformat=
1 object definitions have been created or modified.
[root@c910f02c05p03 ~]# mkvm fs2vm113 -s 10g
[root@c910f02c05p03 ~]# xdsh fs2 ls /var/lib/libvirt/images/fs2vm113*
fs2: /var/lib/libvirt/images/fs2vm113.sda.qcow2
[root@c910f02c05p03 ~]# rmvm -p -f fs2vm113
[root@c910f02c05p03 ~]# xdsh fs2 ls /var/lib/libvirt/images/fs2vm113*
fs2: ls: cannot access /var/lib/libvirt/images/fs2vm113*: No such file or directory
[root@c910f02c05p03 ~]#

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions