Hi
I have two node: hcg3, hcg4 which run glusterfs
Also run libvirtd on each node.
The problem cames when I use `virsh attach-device` to attach a glusterfs type disk .
My device xml like:
<disk type="network" device="disk">
<driver name="qemu" type="raw" cache="none"/>
<source protocol="gluster"
name="h2312v3/volume-257e07bd-9e80-4d06-8d6d-5f83979de1fd">
<host name="hcg4"/>
</source>
<target bus="virtio" dev="vdb"/>
<serial>257e07bd-9e80-4d06-8d6d-5f83979de1fd</serial>
</disk>
when I attach a gluster disk to a domain running on hcg4.
the above xml work great.
BUT when I try to change the tag `host` name attribute to hcg3, the attach action will
fail with output:
error: Requested operation is not valid: domain is not running
Also:
I can use `qemu-kvm` command to start vm successful with gluster://hcg3 or
gluster://hcg4.
I have stop both nodes' iptables. and my libvirt and qemu version is :
Compiled against library: libvirt 1.1.4
Using library: libvirt 1.1.4
Using API: QEMU 1.1.4
Running hypervisor: QEMU 1.6.2
glusterfs-3.4.1-3.el6.x86_64
--------------
lyz_pro
2014-04-11