[Gluster-devel] "failed to fetch volume file (key:dpkvol)" error , when tried as non-root (vdsm) user

Deepak C Shetty deepakcs at linux.vnet.ibm.com
Thu Dec 13 06:20:53 UTC 2012


On 12/13/2012 11:26 AM, Vijay Bellur wrote:
> On 12/13/2012 10:20 AM, Deepak C Shetty wrote:
>> Here is the qemu process spawned by virsh ( via libvirt )...
>>
>> root      2912     1  1 10:16 ?        00:00:00
>> /usr/local/bin/qemu-system-x86_64 -name virsh-vm-backed-by-gluster -S -M
>> pc -cpu qemu64,-svm -enable-kvm -m 1024 -smp
>> 1,sockets=1,cores=1,threads=1 -uuid bdbae806-c272-4b87-ae69-274fd4d57c5f
>> -smbios type=1,manufacturer=oVirt,product=oVirt
>> Node,version=17-1,serial=762589AD-3D52-42C3-6F65-D682277D5B37_52:54:00:c7:66:ec,uuid=bdbae806-c272-4b87-ae69-274fd4d57c5f 
>>
>> -no-user-config -nodefaults -chardev
>> socket,id=charmonitor,path=/var/lib/libvirt/qemu/virsh-vm-backed-by-gluster.monitor,server,nowait 
>>
>> -mon chardev=charmonitor,id=monitor,mode=control -rtc
>> base=2012-12-13T04:46:48,driftfix=slew -no-shutdown -device
>> piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
>> virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x3
>> -drive
>> file=gluster+tcp://vm-vdsm-de-1/dpkvol/debian_lenny_i386_standard.qcow2,if=none,id=drive-ide0-0-0 
>>
>> -device
>> ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
>> -chardev pty,id=charconsole0 -device
>> virtconsole,chardev=charconsole0,id=console0 -vnc 0:0,password -vga 
>> cirrus
>>
>> With this also, i still get the same error which says "unabel to fetch
>> volfile"
>>
>
> Did you happen to restart glusterd after setting allow-insecure to ON 
> in glusterd.vol? Were the results same before and after setting the 
> option?
Yes, today i came in and started glusterd from scratch so that should 
have covered your point.
Also setting allow-insecure in glsuterd.vol ( as you suggested 
yesterday) doesn't help either, in fact i get a warning msg in the 
glusterd log saying that option is incorrect and hence ignoring.

Yes in short, with and without that insecure option, i see the same result.

I am curious to know how insecure option can be related to glusterd not 
able to find volfile ?

Can you help list all the possible reason why glusterd can ever complain 
abt not able to fetch volfile ? Maybe that can help me debug my env





More information about the Gluster-devel mailing list