Error when trying to connect to a gluster volume (with libvirt/libgfapi)

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

 



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
[2013-12-02 17:12:29.466987] E [rpcsvc.c:521:rpcsvc_handle_rpc_call]
0-glusterd: Request received from non-privileged port. Failing request
[2013-12-02 17:12:54.991104] E [rpcsvc.c:521:rpcsvc_handle_rpc_call]
0-glusterd: Request received from non-privileged port. Failing request
[2013-12-02 17:12:57.995071] E [rpcsvc.c:521:rpcsvc_handle_rpc_call]
0-glusterd: Request received from non-privileged port. Failing request
[2013-12-02 17:13:22.763704] I
[glusterd-handler.c:1007:__glusterd_handle_cli_get_volume] 0-glusterd:
Received get vol req
[2013-12-02 17:13:22.764385] I
[glusterd-handler.c:1007:__glusterd_handle_cli_get_volume] 0-glusterd:
Received get vol req
[2013-12-02 17:21:17.553601] E [rpcsvc.c:521:rpcsvc_handle_rpc_call]
0-glusterd: Request received from non-privileged port. Failing request
[2013-12-02 17:21:20.557649] E [rpcsvc.c:521:rpcsvc_handle_rpc_call]
0-glusterd: Request received from non-privileged port. Failing request
[root@glusterhost ~]#

I checked and I _do_ have allow-insecure set:

[root@glusterhost ~]# gluster volume info

Volume Name: kvmimages
Type: Distribute
Volume ID: 43a1d032-5339-42e0-b20f-690600c810ce
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: glusterhost:/gluster/kvmimages
Options Reconfigured:
server.allow-insecure: on
performance.open-behind: off
[root@glusterhost ~]#

Any suggestions?  Do I have my KVM VM configured improperly?  Or do I
need to make a gluster volume change?

Does anyone else have libvirt/libgfapi working with gluster 3.4.1?

-Jacob
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux