#702279 /usr/bin/virsh: vol-create-from fails to create volume from XML but vol-create works for same XML

#702279#5
Date:
2013-03-04 18:08:15 UTC
From:
To:
I have a simple xml file for a volume (name and capacity), and have tried to create a new volume in a new pool from a volume in another pool, however it fails.

The fist message output

1) failed to create volume from name.iso.xml

and the log has the message failed in the kvm-img convert command (it doesn't log the failed to create volumet).

However, I can create an empty volume container from name.iso.xml using vol-create name.iso.xml.

I am using a logical pool type (volume group).

It seems that vol-create-from doesn't use the same code path to create the container and vol-create, which is rather strange.

Regards,

Daniel