Bug 690029

Summary: Failed to define a pool from args
Product: Red Hat Enterprise Linux 5 Reporter: mliu
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: dallan, dyuan, eblake, kxiong, mliu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-26 19:23:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mliu 2011-03-23 04:43:23 UTC
Description of problem:
When define a pool from args, it failed with the error.

Version-Release number of selected component (if applicable):
libvirt-0.8.2-15.el5_6.3
kvm-83-224.el5
kernel-2.6.18-238.8.1.el5

How reproducible:
Always

Steps to Reproduce:
1.# virsh pool-define-as nfs netfs 10.66.4.204 /var/lib/libvirt/migration /tmp/
  
Actual results:
error: Failed to define pool nfs
error: XML description for missing storage pool target path is not well formed or invalid

Expected results:
Pool nfs defined

Additional info:
# virsh pool-define-as nfs --print-xml netfs 10.66.4.204 /var/lib/libvirt/migration /tmp/
<pool type='netfs'>
<name>nfs</name>
<source>
<host name='10.66.4.204'/>
<dir path='/var/lib/libvirt/migration'/>
<device path='/tmp/'/>
</source>
</pool>

Comment 1 koka xiong 2011-03-23 05:03:53 UTC
Test on xen with package
libvirt-0.8.2-15.el5_6.3
xen-3.0.3-120.el5_6.1
kernel-2.6.18-238.8.1.el5

also has the same problem.