<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 20, 2015 at 10:21 AM, Yedidyah Bar David <span dir="ltr"><<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Sun, Dec 20, 2015 at 2:19 AM, Gianluca Cecchi<br>
<<a href="mailto:gianluca.cecchi@gmail.com">gianluca.cecchi@gmail.com</a>> wrote:<br>
> On Fri, Dec 18, 2015 at 2:26 PM, Sandro Bonazzola <<a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a>><br>
> wrote:<br>
>><br>
>><br>
>>><br>
>><br>
>> You can't put the only existing host in maintenance since Hosted Engine is<br>
>> running on it and it can't migrate<br>
>><br>
>><br>
>>><br>
>>> Or should I simply<br>
>>> - shutdown the VMs in my Datacenter<br>
>>> - shutdown engine VM<br>
>>> - stop vdsmd on host<br>
>>> - update host to both CentOS 7.2 and oVirt 3.6.1 packages with:<br>
>>> # yum update<br>
>>> - reboot host<br>
>>> - verify vdsmd is ok<br>
>>> - exit the global maintenance mode and wait for a few minutes the engine<br>
>>> VM should on this fresh upgraded host<br>
>>> - hopefully the host will come up again as active and I can start my VMs<br>
>>> ?<br>
>>><br>
>><br>
>><br>
>> - shutdown the VMs in your Datacenter<br>
>> - move the host to local maintenance<br>
>> - shutdown engine VM<br>
>> - yum update<br>
>> - reboot<br>
>> - exit maintenance<br>
>><br>
>><br>
>>><br>
>>><br>
><br>
> After solving the engine VM part (see dedicated thread) I continued and<br>
> follow the steps indicated for the host.<br>
><br>
> After reboot and exiting maintenance I found the hosted_storage domain in<br>
> state "unattached" and not "maintenance" as in another test I have done<br>
> (note that in in that test there were not true data domains configured apart<br>
> the hosted_storage...)<br>
> I also got some exceptions inside the GUI when going into storage tab on<br>
> hosted_storage line. See:<br>
> <a href="https://drive.google.com/file/d/0BwoPbcrMv8mvYmdQYVM0dkRJaGM/view?usp=sharing" rel="noreferrer" target="_blank">https://drive.google.com/file/d/0BwoPbcrMv8mvYmdQYVM0dkRJaGM/view?usp=sharing</a><br>
><br>
> Uncaught exception occurred. Please try reloading the page. Details:<br>
> (TypeError) __gwt$exception: <skipped>: c is null<br>
><br>
> I tried to attach the hosted_storage but then the engine VM went down<br>
<br>
</div></div>It must have already been attached, because otherwise the engine vm would<br>
not be up. So it might be some inconsistency between the engine and host.<br>
<span class=""><br></span></blockquote><div><br></div><div>I think that Gianluca is referring to the hosted-engine storage domain.</div><div>On 3.6.0 that storage domain is not attached to any storage pool but HA agent is still able to start the engine VM as expected.</div><div>With 3.6.1 the engine, when up, will auto-import the hosted-engine storage domain attaching it to its datacenter storage pool but it will do that if and only if the datacenter is up but a datacenter to be requires at least one valid ad active storage domain so the import process is not triggered if you don't have any valid storage domain. It's not really an issue cause in real world you have at least one storage domain in your datacenter and so it's perfectly fine to postpone till that.</div><div><br></div><div>Still seeing the hosted-engine storage domain in maintenance after the import is instead a real issue:</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1290518">https://bugzilla.redhat.com/show_bug.cgi?id=1290518</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> I did wait for about 10 minutes and the VM was not restarted.<br>
<br>
</span>Can you check/post ha logs (/var/log/ovirt-hosted-engine-ha)?<br>
<br>
Adding Martin.<br>
<span class=""><br>
> Is there any reason for ithe environment to "automatically" go back into<br>
> maintenance?<br>
> Because as soon as I run again the command<br>
><br>
> hosted-engine --set-maintenance --mode=none<br>
><br>
> the engine VM was started again.....<br>
<br>
</span>No idea, Martin?<br>
<span class=""><br>
> Is there any command to see the current state of maintenance<br>
> (none/local/global)?<br>
<br>
</span>hosted-engine --vm-status<br>
<span class=""><br>
><br>
> Anyway the hosted_storage domain still is in unattached state...<br>
><br>
> BTW: even if the host has been updated:<br>
><br>
> [root@ractor ]# yum update<br>
> Loaded plugins: fastestmirror, langpacks<br>
> Loading mirror speeds from cached hostfile<br>
> * base: <a href="http://ba.mirror.garr.it" rel="noreferrer" target="_blank">ba.mirror.garr.it</a><br>
> * extras: <a href="http://ba.mirror.garr.it" rel="noreferrer" target="_blank">ba.mirror.garr.it</a><br>
> * ovirt-3.6: <a href="http://ftp.nluug.nl" rel="noreferrer" target="_blank">ftp.nluug.nl</a><br>
> * ovirt-3.6-epel: <a href="http://epel.besthosting.ua" rel="noreferrer" target="_blank">epel.besthosting.ua</a><br>
> * updates: <a href="http://ba.mirror.garr.it" rel="noreferrer" target="_blank">ba.mirror.garr.it</a><br>
> No packages marked for update<br>
> [root@ractor ]#<br>
><br>
> Inside the webadmin gui in hosts tab I still see the icon indicating<br>
> "update available" for it<br>
> And in action items: "a new version is available" message<br>
><br>
> In software subtab the host is detected as:<br>
> OS Version: RHEL - 7 - 2.1511.el7.centos.2.10<br>
> Kernel Version: 3.10.0 - 327.3.1.el7.x86_64<br>
> KVM Version: 2.3.0 - 31.el7_2.4.1<br>
> LIBVIRT Version: libvirt-1.2.17-13.el7_2.2<br>
> VDSM Version: vdsm-4.17.13-0.el7.centos<br>
> SPICE Version: 0.12.4 - 15.el7<br>
> CEPH Version: librbd1-0.80.7-3.el7<br>
<br>
</span>Are you sure the engine even manages to speak to the host?<br>
Please check/post also engine and vdsm logs.<br>
<br>
Adding Oved.<br>
<span class=""><font color="#888888">--<br>
Didi<br>
</font></span><div class=""><div class="h5">_______________________________________________<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/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>