On 12/02/2013 10:57 PM, Jacob Yundt wrote:
On a CentOS 6.5 server, I'm trying to use the newly added native
libvirt/libgfapi support (rather than fuse) for VM storage.
I (believe) I have my VM properly configured:
[root@kvmhost ~]# virsh dumpxml testvm
{--snip--}
<disk type='network' device='disk'>
<driver name='qemu' type='raw'/>
<source protocol='gluster' name='kvmimages/testvm.img'>
<host name='glusterhost' port='0'/>
</source>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
</disk>
{--snip--}
[root@kvmhost ~]
However, I get the following error on my KVM host:
[root@kvmhost ~]# VIRSH_DEBUG=0 virsh start testvm
start: found option <domain>: testvm
start: <domain> trying as domain NAME
libvir: QEMU Driver error : Unable to read from monitor: Connection
reset by peer
error: Failed to start domain testvm
error: Unable to read from monitor: Connection reset by peer
[root@kvmhost ~]#
On my gluster server, I get the following errors:
[root@glusterhost ~]# tail /var/log/glusterfs/etc-glusterfs-glusterd.vol.log
[2013-12-02 17:12:09.031364] I
[glusterd-handler.c:1007:__glusterd_handle_cli_get_volume] 0-glusterd:
Received get vol req
[2013-12-02 17:12:09.033233] I
[glusterd-handler.c:1007:__glusterd_handle_cli_get_volume] 0-glusterd:
Received get vol req
[2013-12-02 17:12:26.462655] E [rpcsvc.c:521:rpcsvc_handle_rpc_call]
0-glusterd: Request received from non-privileged port. Failing request
As documented in release notes for 3.4.0:
<snip>
The following configuration changes are necessary for qemu and samba
integration with libgfapi to work seamlessly:
1) gluster volume set <volname> server.allow-insecure on
2) Edit /etc/glusterfs/glusterd.vol to contain this line:
option rpc-auth-allow-insecure on
Post 2), restarting glusterd would be necessary.
</snip>
You seem to have got 1) covered. You would need to perform 2) to get
this working.
HTH,
Vijay
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users