Red Hat Bugzilla – Bug 476708
virsh pool-define-as creates xml libvirt doesn't like
Last modified: 2009-03-10 08:33:34 EDT
Description of problem:
virsh pool-define-as creates xml that libvirt doesn't like. From the libvirt.org site, the following input xml works fine:
Looking at the cmdPoolDefineAs() function in virsh.c, the generated xml looks more like this:
When one tries to feed this xml into virsh pool-define (or tries to use virsh pool-define-as w/the appropriate flags, one gets:
libvir: Storage error : XML description for missing storage pool source host name is not well formed or invalid
So either cmdPoolDefineAs needs to be modified to spit out something that looks more like the example, or both forms need to be parseable.
Version-Release number of selected component (if applicable):
Hi, this is fixed upstream as of Dec 22:
Moving to POST.
Fixed in rawhide in 0.6.1 release (or perhaps even 0.6.0)