Re: [virt-manager PATCH] diskbackend: make sure path existed before checking vol info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"chenhanxiao@xxxxxxxxxxxxxx" <chenhanxiao@xxxxxxxxxxxxxx> writes:

>> -----Original Message-----
>> From: Giuseppe Scrivano [mailto:gscrivan@xxxxxxxxxx]
>> Sent: Friday, June 13, 2014 6:16 PM
>> To: Chen, Hanxiao/陈 晗霄
>> Cc: virt-tools-list@xxxxxxxxxx
>> Subject: Re:  [virt-manager PATCH] diskbackend: make sure path
>> existed before checking vol info
>> 
>> "chenhanxiao@xxxxxxxxxxxxxx" <chenhanxiao@xxxxxxxxxxxxxx> writes:
>> 
>> >> I have tried several times by using a similar command line as in the bug
>> >> report but I wasn't able to reproduce the problem here (both
>> >> virt-install-1.0.1-3.fc20.noarch and upstream version), what arguments
>> >> did you feed to virt-install to get this failure?
>> >>
>> >
>> > a) mkdir -p /home/rjones/d/libguestfs/builder/website/
>> >
>> > b) ./virt-install  --connect qemu:///system  --virt-type kvm  --name demo
>> --memory 500   --cdrom /home/ISO/Fedora-20-x86_64-DVD.iso  --os-variant
>> fedora20 --disk /home/rjones/d/libguestfs/builder/website/fedora-20,size=6
>> >
>> > c) run and run again.
>> 
>> thanks, now I can reproduce it here as well.
>> 
>> The problem seems to be in libvirt that is not reporting the right error
>> code, VIR_ERR_NO_STORAGE_VOL seems to be the appropriate error here and
>> that is handled by virt-install, instead I get VIR_ERR_SYSTEM_ERROR.
>> 
>
> Cool!
> I did not have a remote connection environment.
> If you have, pls do some tests.


I've sent a patch for libvirt here:

https://www.redhat.com/archives/libvir-list/2014-June/msg00655.html

This solves the problem for me.  Treating VIR_ERR_SYSTEM_ERROR as
VIR_ERR_NO_STORAGE_VOL doesn't seem like the correct thing to do in
virt-install.

Regards,
Giuseppe

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux