<div dir="ltr"><div><div><div><div>Hi!<br><br></div>Looks like you have setup your gluster volume outside of oVirt and your bricks are identified via &quot;rdkvm1-data&quot; , &quot;rdkvm2-data&quot; and not the IP addresses associated with the gluster network ( 10.3.10.5, 10.3.10.6)<br></div>What does &quot;gluster volume info gluvol2&quot; return?<br><br></div>Currently we cannot identify multiple FQDNs for a host and resolve it correctly to the correct network. There was a patch - <a href="https://gerrit.ovirt.org/#/c/60083/">https://gerrit.ovirt.org/#/c/60083/</a>, can you review if it will solve your usecase?<br></div>Will rdkvm1-data be resolvable from engine?<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 3:58 PM, Felip Moll <span dir="ltr">&lt;<a href="mailto:lipixx@gmail.com" target="_blank">lipixx@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have latest version of ovirt 4 installed on a Centos 7, 2 hypervisor<br>
nodes (rdkvm[1-2]) and 1 ovirt-engine node (rdhead1).<br>
<br>
I receive the following warning in the logs despite of having the<br>
gluster network set up. Everything is running fine.<br>
<br>
<br>
2016-10-10 12:24:02,825 WARN<br>
[org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListReturnForXml<wbr>Rpc]<br>
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick<br>
&#39;rdkvm1-data:/data/sdb1/<wbr>gluvol1&#39; of volume<br>
&#39;47e45087-1a07-4790-9d30-<wbr>77edbefa5f2e&#39; with correct network as no<br>
gluster network found in cluster<br>
&#39;57f387dc-0315-020b-019c-<wbr>0000000000e6&#39;<br>
2016-10-10 12:24:02,831 WARN<br>
[org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListReturnForXml<wbr>Rpc]<br>
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick<br>
&#39;rdkvm2-data:/data/sdb1/<wbr>gluvol1&#39; of volume<br>
&#39;47e45087-1a07-4790-9d30-<wbr>77edbefa5f2e&#39; with correct network as no<br>
gluster network found in cluster<br>
&#39;57f387dc-0315-020b-019c-<wbr>0000000000e6&#39;<br>
2016-10-10 12:24:02,838 WARN<br>
[org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListReturnForXml<wbr>Rpc]<br>
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick<br>
&#39;rdkvm1-data:/data/sdc1/<wbr>gluvol2&#39; of volume<br>
&#39;3c1e9936-4cce-4a21-83f3-<wbr>ac8611348484&#39; with correct network as no<br>
gluster network found in cluster<br>
&#39;57f387dc-0315-020b-019c-<wbr>0000000000e6&#39;<br>
2016-10-10 12:24:02,844 WARN<br>
[org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListReturnForXml<wbr>Rpc]<br>
(DefaultQuartzScheduler7) [5a52dffe] Could not associate brick<br>
&#39;rdkvm2-data:/data/sdc1/<wbr>gluvol2&#39; of volume<br>
&#39;3c1e9936-4cce-4a21-83f3-<wbr>ac8611348484&#39; with correct network as no<br>
gluster network found in cluster<br>
&#39;57f387dc-0315-020b-019c-<wbr>0000000000e6&#39;<br>
<br>
My ovirt-engine node is not connected to the gluster network directly.<br>
The glusterNetwork is defined in the cluster and is attached to bond0<br>
interface of rdkvm1 and rdkvm2.<br>
<br>
[RDHEAD1][root@rdhead1 ~]# su - postgres -c &quot;psql -d engine -c<br>
\&quot;SELECT id,name,type,addr,subnet,vlan_<wbr>id,storage_pool_id FROM<br>
network\&quot;&quot;<br>
                  id                  |      name      | type | addr |<br>
subnet | vlan_id |           storage_pool_id<br>
------------------------------<wbr>--------+----------------+----<wbr>--+------+--------+---------+-<wbr>------------------------------<wbr>-------<br>
 00000000-0000-0000-0000-<wbr>000000000009 | ovirtmgmt      |      |      |<br>
       |         | 57f387dc-0389-0252-01f4-<wbr>000000000316<br>
 628ed584-feaf-4952-908c-<wbr>5b2d654c0731 | glusterNetwork |      |      |<br>
       |         | 57f387dc-0389-0252-01f4-<wbr>000000000316<br>
 965b2aeb-1230-4c24-9ca2-<wbr>e815187372a9 | BMCNetwork     |      |      |<br>
       |         | 57f387dc-0389-0252-01f4-<wbr>000000000316<br>
(3 rows)<br>
<br>
[RDHEAD1][root@rdhead1 ~]# su - postgres -c &quot;psql -d engine -c<br>
\&quot;SELECT volume_id,status,network_id FROM gluster_volume_bricks\&quot;&quot;<br>
              volume_id               | status | network_id<br>
------------------------------<wbr>--------+--------+------------<br>
 3c1e9936-4cce-4a21-83f3-<wbr>ac8611348484 | UP     |<br>
 3c1e9936-4cce-4a21-83f3-<wbr>ac8611348484 | UP     |<br>
 47e45087-1a07-4790-9d30-<wbr>77edbefa5f2e | UP     |<br>
 47e45087-1a07-4790-9d30-<wbr>77edbefa5f2e | UP     |<br>
(4 rows)<br>
<br>
<br>
I tried to manually attach the network_id to the volume bricks, but<br>
after a while it gets emptied:<br>
<br>
[RDHEAD1][root@rdhead1 squid-in-a-can]# su - postgres -c &quot;psql -d<br>
engine -c \&quot;update gluster_volume_bricks set<br>
network_id=&#39;628ed584-feaf-<wbr>4952-908c-5b2d654c0731&#39;  \&quot;&quot;<br>
UPDATE 4<br>
<br>
Look:<br>
<br>
2016-10-10 12:27:28,595 INFO<br>
[org.ovirt.engine.core.bll.<wbr>gluster.GlusterSyncJob]<br>
(DefaultQuartzScheduler2) [33756067] Network address for brick<br>
&#39;10.3.10.5:/data/sdc1/gluvol2&#39; detected as  &#39;rdkvm1-data&#39;. Updating<br>
engine DB accordingly.<br>
2016-10-10 12:27:28,607 INFO<br>
[org.ovirt.engine.core.bll.<wbr>gluster.GlusterSyncJob]<br>
(DefaultQuartzScheduler2) [33756067] Network address for brick<br>
&#39;10.3.10.6:/data/sdc1/gluvol2&#39; detected as  &#39;rdkvm2-data&#39;. Updating<br>
engine DB accordingly.<br>
2016-10-10 12:27:28,619 INFO<br>
[org.ovirt.engine.core.bll.<wbr>gluster.GlusterSyncJob]<br>
(DefaultQuartzScheduler2) [33756067] Network address for brick<br>
&#39;10.3.10.5:/data/sdb1/gluvol1&#39; detected as  &#39;rdkvm1-data&#39;. Updating<br>
engine DB accordingly.<br>
2016-10-10 12:27:28,623 INFO<br>
[org.ovirt.engine.core.bll.<wbr>gluster.GlusterSyncJob]<br>
(DefaultQuartzScheduler2) [33756067] Network address for brick<br>
&#39;10.3.10.6:/data/sdb1/gluvol1&#39; detected as  &#39;rdkvm2-data&#39;. Updating<br>
engine DB accordingly.<br>
<br>
<br>
<br>
<br>
How can I solve this situation?<br>
<br>
<br>
Thank you<br>
Felip M<br>
<br>
--<br>
Felip Moll Marquès<br>
Computer Science Engineer<br>
E-Mail - <a href="mailto:lipixx@gmail.com">lipixx@gmail.com</a><br>
WebPage - <a href="http://lipix.ciutadella.es" rel="noreferrer" target="_blank">http://lipix.ciutadella.es</a><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div>