On 06/02/2009 04:17 AM, vovfooo wrote: > I used virt-install(0.400.3) to install a suse10 domU with command: > > virt-install -p -n suse10 -r 512 --nographics --disk path=/dev/sdb6 -l > "ftp://129.22.0.201/pxe/suse10_x86/" > > And I got these error messages: > > ERROR listStoragePools() takes exactly 3 arguments (1 given) > Traceback (most recent call last): > File "/usr/bin/virt-install", line 779, in ? > main() > File "/usr/bin/virt-install", line 600, in main > options.sparse, options.nodisks, guest, ishvm, conn) > File "/usr/bin/virt-install", line 243, in get_disks > is_file_path), disk, size) > File "/usr/bin/virt-install", line 243, in <lambda> > is_file_path), disk, size) > File "/usr/bin/virt-install", line 195, in get_disk > driverCache=cache) > File "/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", line > 180, in __init__ > self.__validate_params() > File "/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", line > 514, in __validate_params > storage_capable = _util.is_storage_capable(self.conn) > File "/usr/lib/python2.4/site-packages/virtinst/util.py", line 535, in > is_storage_capable > conn.listStoragePools() > TypeError: listStoragePools() takes exactly 3 arguments (1 given) > > Thaks for your help! > Hmm, that's strange. listStoragePools certainly doesn't take 3 arguments where I am. What host distro and libvirt version are you using? Are you using distro packages or built from source? - Cole _______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools