Bug 690029 - Failed to define a pool from args
Summary: Failed to define a pool from args
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.6
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 04:43 UTC by mliu
Modified: 2012-07-03 03:22 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-26 19:23:52 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.