<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-03-30 1:55 GMT+02:00 Nicolas Vaye <span dir="ltr">&lt;<a href="mailto:nicolas.vaye@province-sud.nc" target="_blank">nicolas.vaye@province-sud.nc</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
i have 2 nodes ovirtnode in one cluster with hosted engine in 4.2.1-7<br>
I want to upgrade to 4.2.2, so i&#39;m using this procedure<br>
<a href="https://www.ovirt.org/documentation/self-hosted/chap-Maintenance_and_Upgrading_Resources/#upgrading-an-el-based-self-hosted-engine-environment" rel="noreferrer" target="_blank">https://www.ovirt.org/<wbr>documentation/self-hosted/<wbr>chap-Maintenance_and_<wbr>Upgrading_Resources/#<wbr>upgrading-an-el-based-self-<wbr>hosted-engine-environment</a><br>
<br>
<br>
The hosted-engine --upgrade-appliance failed with<br>
[ ERROR ] Failed to execute stage &#39;Environment customization&#39;: &#39;OVEHOSTED_STORAGE/spUUID&#39;<br>
<br>
<br></blockquote><div><br></div><div>Hi Nicolas, please note that this procedure was intended only for migrating across different distribution version (el6 -&gt; el7) and not for usual engine upgrades.</div><div>Our existing documentation would need some rework, but the correct procedure here would be set the hosted engine to global  maintenance following</div><div><a href="https://www.ovirt.org/documentation/self-hosted/chap-Maintenance_and_Upgrading_Resources/#maintaining-the-self-hosted-engine">https://www.ovirt.org/documentation/self-hosted/chap-Maintenance_and_Upgrading_Resources/#maintaining-the-self-hosted-engine</a></div><div>and then perform an engine upgrade following</div><div><a href="https://www.ovirt.org/documentation/upgrade-guide/chap-Updates_between_Minor_Releases/">https://www.ovirt.org/documentation/upgrade-guide/chap-Updates_between_Minor_Releases/</a></div><div> </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">
<br>
[root@ov1&lt;mailto:<a href="mailto:root@ov1">root@ov1</a>&gt; ~]# hosted-engine --upgrade-appliance<br>
[ INFO  ] Stage: Initializing<br>
[ INFO  ] Stage: Environment setup<br>
          During customization use CTRL-D to abort.<br>
<br>
          ==============================<wbr>==============================<wbr>======================<br>
          Welcome to the oVirt Self Hosted Engine setup/Upgrade tool.<br>
<br>
          Please refer to the oVirt install guide:<br>
          <a href="https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install" rel="noreferrer" target="_blank">https://www.ovirt.org/<wbr>documentation/how-to/hosted-<wbr>engine/#fresh-install</a><br>
          Please refer to the oVirt upgrade guide:<br>
          <a href="https://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine" rel="noreferrer" target="_blank">https://www.ovirt.org/<wbr>documentation/how-to/hosted-<wbr>engine/#upgrade-hosted-engine</a><br>
          ==============================<wbr>==============================<wbr>======================<br>
          Continuing will upgrade the engine VM running on this hosts deploying and configuring a new appliance.<br>
          If your engine VM is already based on el7 you can also simply upgrade the engine there.<br>
          This procedure will create a new disk on the hosted-engine storage domain and it will backup there the content of your current engine VM disk.<br>
          The new el7 based appliance will be deployed over the existing disk destroying its content; at any time you will be able to rollback using the content of the backup disk.<br>
          You will be asked to take a backup of the running engine and copy it to this host.<br>
          The engine backup will be automatically injected and recovered on the new appliance.<br>
          Are you sure you want to continue? (Yes, No)[Yes]:<br>
          Configuration files: []<br>
          Log file: /var/log/ovirt-hosted-engine-<wbr>setup/ovirt-hosted-engine-<wbr>setup-20180330101944-vtqn9r.<wbr>log<br>
          Version: otopi-1.7.7 (otopi-1.7.7-1.el7.centos)<br>
[ INFO  ] Detecting available oVirt engine appliances<br>
[ INFO  ] Stage: Environment packages setup<br>
[ INFO  ] Stage: Programs detection<br>
[ INFO  ] Stage: Environment setup<br>
[ INFO  ] Checking maintenance mode<br>
[ INFO  ] The engine VM is running on this host<br>
[ INFO  ] Stage: Environment customization<br>
<br>
          --== STORAGE CONFIGURATION ==--<br>
<br>
[ ERROR ] Failed to execute stage &#39;Environment customization&#39;: &#39;OVEHOSTED_STORAGE/spUUID&#39;<br>
[ INFO  ] Stage: Clean up<br>
[ INFO  ] Generating answer file &#39;/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-<wbr>20180330101948.conf&#39;<br>
[ INFO  ] Stage: Pre-termination<br>
[ INFO  ] Stage: Termination<br>
[ ERROR ] Hosted Engine upgrade failed<br>
          Log file is located at /var/log/ovirt-hosted-engine-<wbr>setup/ovirt-hosted-engine-<wbr>setup-20180330101944-vtqn9r.<wbr>log<br>
<br>
<br>
What&#39;s wrong ?<br>
<br>
<br>
Regards,<br>
<br>
Nicolas VAYE<br>
<br>
<br>
in Attached logs.zip file :<br>
- ovirt-hosted-engine-setup-<wbr>20180330101944-vtqn9r.log<br>
- answers-20180330101948.conf.<br>
- vdsm.log<br>
<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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SANDRO</span> <span>BONAZZOLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&amp;D</span><span style="color:rgb(170,170,170);margin:0px"></span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat <span>EMEA</span></a></p><p style="font-family:overpass,sans-serif;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px"><a href="mailto:sbonazzo@redhat.com" style="color:rgb(0,136,206);margin:0px" target="_blank">sbonazzo@redhat.com</a>   </span></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/summit" target="_blank"><img width="70px" height="auto" src="https://www.redhat.com/files/brand/email/sig-summit.png" style="outline: 0px;"></a></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>