<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 "rdkvm1-data" , "rdkvm2-data" and not the IP addresses associated with the gluster network ( 10.3.10.5, 10.3.10.6)<br></div>What does "gluster volume info gluvol2" 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"><<a href="mailto:lipixx@gmail.com" target="_blank">lipixx@gmail.com</a>></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>
'rdkvm1-data:/data/sdb1/<wbr>gluvol1' of volume<br>
'47e45087-1a07-4790-9d30-<wbr>77edbefa5f2e' with correct network as no<br>
gluster network found in cluster<br>
'57f387dc-0315-020b-019c-<wbr>0000000000e6'<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>
'rdkvm2-data:/data/sdb1/<wbr>gluvol1' of volume<br>
'47e45087-1a07-4790-9d30-<wbr>77edbefa5f2e' with correct network as no<br>
gluster network found in cluster<br>
'57f387dc-0315-020b-019c-<wbr>0000000000e6'<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>
'rdkvm1-data:/data/sdc1/<wbr>gluvol2' of volume<br>
'3c1e9936-4cce-4a21-83f3-<wbr>ac8611348484' with correct network as no<br>
gluster network found in cluster<br>
'57f387dc-0315-020b-019c-<wbr>0000000000e6'<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>
'rdkvm2-data:/data/sdc1/<wbr>gluvol2' of volume<br>
'3c1e9936-4cce-4a21-83f3-<wbr>ac8611348484' with correct network as no<br>
gluster network found in cluster<br>
'57f387dc-0315-020b-019c-<wbr>0000000000e6'<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 "psql -d engine -c<br>
\"SELECT id,name,type,addr,subnet,vlan_<wbr>id,storage_pool_id FROM<br>
network\""<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 "psql -d engine -c<br>
\"SELECT volume_id,status,network_id FROM gluster_volume_bricks\""<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 "psql -d<br>
engine -c \"update gluster_volume_bricks set<br>
network_id='628ed584-feaf-<wbr>4952-908c-5b2d654c0731' \""<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>
'10.3.10.5:/data/sdc1/gluvol2' detected as 'rdkvm1-data'. 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>
'10.3.10.6:/data/sdc1/gluvol2' detected as 'rdkvm2-data'. 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>
'10.3.10.5:/data/sdb1/gluvol1' detected as 'rdkvm1-data'. 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>
'10.3.10.6:/data/sdb1/gluvol1' detected as 'rdkvm2-data'. 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>