<div dir="ltr"><div><div><div>Hi Denis, <br><br></div>I receive permission denied as below: <br><br><span style="font-family:monospace,monospace">gluster volume heal engine split-brain latest-mtime /e1c80750-b880-495e-9609-b8bc7760d101/ha_agent<br>Healing /e1c80750-b880-495e-9609-b8bc7760d101/ha_agent failed:Operation not permitted.<br>Volume heal failed.</span><br><br><br></div>When I shutdown host3 then no split brain is reported from the remaining two hosts. When I power up host3 then I receive the mentioned split brain and host3 logs the following at ovirt-hosted-engine-ha/agent.log <br><br><span style="font-family:monospace,monospace">MainThread::INFO::2017-06-23 16:18:06,067::hosted_engine::594::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Failed set the storage domain: 'Failed to set storage domain VdsmBackend, options {'hosted-engine.lockspace': '7B22696D6167655F75756964223A202238323132626637382D663933332D346465652D616333372D346265633734353035366235222C202270617468223A206E756C6C2C2022766F6C756D655F75756964223A202236323739303162652D666261332D346263342D393037632D393931356138333632633537227D', 'sp_uuid': '00000000-0000-0000-0000-000000000000', 'dom_type': 'glusterfs', 'hosted-engine.metadata': '7B22696D6167655F75756964223A202263353930633034372D613462322D346539312D613832362D643438623961643537323330222C202270617468223A206E756C6C2C2022766F6C756D655F75756964223A202230353166653865612D333339632D346134302D383438382D386335313138666438373238227D', 'sd_uuid': 'e1c80750-b880-495e-9609-b8bc7760d101'}: Request failed: <type 'exceptions.OSError'>'. Waiting '5's before the next attempt<br></span><br></div>and the following at /var/log/messages: <br><span style="font-family:monospace,monospace">Jun 23 16:19:43 v2 journal: vdsm root ERROR failed to retrieve Hosted Engine HA info#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231, in _getHaInfo#012 stats = instance.get_all_stats()#012 File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py", line 105, in get_all_stats#012 stats = broker.get_stats_from_storage(service)#012 File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 233, in get_stats_from_storage#012 result = self._checked_communicate(request)#012 File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 261, in _checked_communicate#012 .format(message or response))#012RequestError: Request failed: failed to read metadata: [Errno 5] Input/output error: '/rhev/data-center/mnt/glusterSD/10.100.100.1:_engine/e1c80750-b880-495e-9609-b8bc7760d101/ha_agent/hosted-engine.metadata'</span><br><br><div>Thanx<br></div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 23, 2017 at 6:05 PM, Denis Chaplygin <span dir="ltr"><<a href="mailto:dchaplyg@redhat.com" target="_blank">dchaplyg@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Abi,<div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Jun 23, 2017 at 4:47 PM, Abi Askushi <span dir="ltr"><<a href="mailto:rightkicktech@gmail.com" target="_blank">rightkicktech@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi All, <br><br></div>I have a 3 node ovirt 4.1 setup. I lost one node due to raid controller issues. Upon restoration I have the following split brain, although the hosts have mounted the storage domains: <br><br><span style="font-family:monospace,monospace">gluster volume heal engine info split-brain<br>Brick gluster0:/gluster/engine/brick<br>/e1c80750-b880-495e-9609-b8bc7<wbr>760d101/ha_agent<br>Status: Connected<br>Number of entries in split-brain: 1<br><br>Brick gluster1:/gluster/engine/brick<br>/e1c80750-b880-495e-9609-b8bc7<wbr>760d101/ha_agent<br>Status: Connected<br>Number of entries in split-brain: 1<br><br>Brick gluster2:/gluster/engine/brick<br>/e1c80750-b880-495e-9609-b8bc7<wbr>760d101/ha_agent<br>Status: Connected<br>Number of entries in split-brain: 1<br></span><br><br></div></div></div></blockquote><div><br></div></span><div>It is definitely on gluster side. You could try to use</div><div><br></div><div>gluster volume heal engine split-brain latest-mtime <span style="font-family:monospace,monospace">/e1c80750-b880-<wbr>495e-9609-</span><span style="font-family:monospace,monospace">b8bc7760d101/ha_<wbr>agent</span><br></div><div><span style="font-family:monospace,monospace"><br></span></div><div><br></div><div>I also added gluster developers to that thread, so they may provide you with better advices.</div></div></div></div>
</blockquote></div><br></div>