<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 31 July 2016 at 18:26, Kenneth Bingham <span dir="ltr"><<a href="mailto:w@qrk.us" target="_blank">w@qrk.us</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">Roy, would I do that in the Cluster tab, with New button, and then in host configurator select Hosted Engine sidebar? I noticed this option existed, but the RHEV docs and developer blogs I've been referencing specify the 'hosted-engine --deploy' method.</div><div><div><br></div></div></blockquote><div>on 4.0 this is the supported way of doing that. If fixes and prevents many troubles and more than that, its simply doing that in 1 place. </div><div>The doc will be updated for that if not already. Also please refer to this ovirt blog post [1]</div><div><br></div><div>[1] <a href="http://www.ovirt.org/blog/2016/07/Manage-Your-Hosted-Engine-Hosts-Deployment/">http://www.ovirt.org/blog/2016/07/Manage-Your-Hosted-Engine-Hosts-Deployment/</a> </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div class="gmail_quote"><div dir="ltr">On Sun, Jul 31, 2016 at 3:04 AM Roy Golan <<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>> wrote:<br></div><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 class="gmail_extra"><div class="gmail_quote">On 30 July 2016 at 02:48, Kenneth Bingham <span dir="ltr"><<a href="mailto:w@qrk.us" target="_blank">w@qrk.us</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">Aw crap. I did exactly the same thing and this could explain a lot of the issues I've been pulling out my beard over. Every time I did 'hosted-engine --deploy' on the RHEV-M|NODE host I entered the FQDN of *that* host, not the first host, as the origin of the Gluster FS volume because at the time I didn't realize that<div>a. the manager would key deduplication on the URI of the volume</div><div>b. that the volume would be mounted on FUSE, not NFS, and therefore no single point of entry is created by using the FQDN of the first host because the GFS client will persist connections with all peers</div></div><div><div><br></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>If you ever want to add an hosted engine host to your setup please do that from UI and not from CLI. That will prevent all this confusion. </div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div class="gmail_quote"><div dir="ltr">On Fri, Jul 29, 2016 at 6:08 AM Simone Tiraboschi <<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Jul 29, 2016 at 11:35 AM, Wee Sritippho <<a href="mailto:wee.s@forest.go.th" target="_blank">wee.s@forest.go.th</a>> wrote:<br>
> On 29/7/2559 15:50, Simone Tiraboschi wrote:<br>
>><br>
>> On Fri, Jul 29, 2016 at 6:31 AM, Wee Sritippho <<a href="mailto:wee.s@forest.go.th" target="_blank">wee.s@forest.go.th</a>> wrote:<br>
>>><br>
>>> On 28/7/2559 15:54, Simone Tiraboschi wrote:<br>
>>><br>
>>> On Thu, Jul 28, 2016 at 10:41 AM, Wee Sritippho <<a href="mailto:wee.s@forest.go.th" target="_blank">wee.s@forest.go.th</a>><br>
>>> wrote:<br>
>>>><br>
>>>> On 21/7/2559 16:53, Simone Tiraboschi wrote:<br>
>>>><br>
>>>> On Thu, Jul 21, 2016 at 11:43 AM, Wee Sritippho <<a href="mailto:wee.s@forest.go.th" target="_blank">wee.s@forest.go.th</a>><br>
>>>> wrote:<br>
>>>><br>
>>>>> Can I just follow<br>
>>>>><br>
>>>>> <a href="http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine" rel="noreferrer" target="_blank">http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine</a><br>
>>>>> until step 3 and do everything else via GUI?<br>
>>>><br>
>>>> Yes, absolutely.<br>
>>>><br>
>>>><br>
>>>> Hi, I upgrade a host (host02) via GUI and now its score is 0. Restarted<br>
>>>> the services but the result is still the same. Kinda lost now. What<br>
>>>> should I<br>
>>>> do next?<br>
>>>><br>
>>> Can you please attach ovirt-ha-agent logs?<br>
>>><br>
>>><br>
>>> Yes, here are the logs:<br>
>>> <a href="https://app.box.com/s/b4urjty8dsuj98n3ywygpk3oh5o7pbsh" rel="noreferrer" target="_blank">https://app.box.com/s/b4urjty8dsuj98n3ywygpk3oh5o7pbsh</a><br>
>><br>
>> Thanks Wee,<br>
>> your issue is here:<br>
>> MainThread::ERROR::2016-07-17<br>
>><br>
>> 14:32:45,586::storage_server::143::ovirt_hosted_engine_ha.lib.storage_server.StorageServer::(_validate_pre_connected_path)<br>
>> The hosted-engine storage domain is already mounted on<br>
>><br>
>> '/rhev/data-center/mnt/glusterSD/host02.ovirt.forest.go.th:_hosted__engine/639e689c-8493-479b-a6eb-cc92b6fc4cf4'<br>
>> with a path that is not supported anymore: the right path should be<br>
>><br>
>> '/rhev/data-center/mnt/glusterSD/host01.ovirt.forest.go.th:_hosted__engine/639e689c-8493-479b-a6eb-cc92b6fc4cf4'.<br>
>><br>
>> Did you manually tried to avoid the issue of a single entry point for<br>
>> the gluster FS volume using host01.ovirt.forest.go.th:_hosted__engine<br>
>> and host02.ovirt.forest.go.th:_hosted__engine there?<br>
>> This could cause a lot of confusion since the code could not detect<br>
>> that the storage domain is the same and you can end with it mounted<br>
>> twice into different locations and a lot of issues.<br>
>> The correct solution of that issue was this one:<br>
>> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1298693#c20" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1298693#c20</a><br>
>><br>
>> Now, to have it fixed on your env you have to hack a bit.<br>
>> First step, you have to edit<br>
>> /etc/ovirt-hosted-engine/hosted-engine.conf on all your hosted-engine<br>
>> hosts to ensure that the storage field always point to the same entry<br>
>> point (host01 for instance)<br>
>> Then on each host you can add something like:<br>
>><br>
>> mnt_options=backupvolfile-server=host02.ovirt.forest.go.th:h<a href="http://ost03.ovirt.forest.go.th" rel="noreferrer" target="_blank">ost03.ovirt.forest.go.th</a>,fetch-attempts=2,log-level=WARNING,log-file=/var/log/engine_domain.log<br>
>><br>
>> Then check the representation of your storage connection in the table<br>
>> storage_server_connections of the engine DB and make sure that<br>
>> connection refers to the entry point you used in hosted-engine.conf on<br>
>> all your hosts, you have lastly to set the value of mount_options also<br>
>> here.<br>
><br>
> Weird. The configuration in all hosts are already referring to host01.<br>
<br>
but for sure you have a connection pointing to host02 somewhere, did<br>
you try to manually deploy from CLI connecting the gluster volume on<br>
host02?<br>
<br>
> Also, in the storage_server_connections table:<br>
><br>
> engine=> SELECT * FROM storage_server_connections;<br>
> id | connection |<br>
> user_name | password | iqn | port | portal | storage_type | mount_options |<br>
> vfs_type<br>
> | nfs_version | nfs_timeo | nfs_retrans<br>
> --------------------------------------+------------------------------------------+-----------+----------+-----+------+--------+--------------+---------------+----------<br>
> -+-------------+-----------+-------------<br>
> bd78d299-c8ff-4251-8aab-432ce6443ae8 |<br>
> host01.ovirt.forest.go.th:/hosted_engine | | | | | 1<br>
> | 7 | | glusterfs<br>
> | | |<br>
> (1 row)<br>
><br>
><br>
>><br>
>> Please tune also the value of network.ping-timeout for your glusterFS<br>
>> volume to avoid this:<br>
>> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1319657#c17" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1319657#c17</a><br>
><br>
><br>
> --<br>
> Wee<br>
><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div></div></div></blockquote></div>
</div></div></blockquote></div><br></div></div>