<div dir="ltr">Logs as Yedidyah requested are attached. There was nothing in /tmp/ovirt* on the host. The host should be ovirttest1 in the logs<div><br></div><div>I saw that those options existed, but unfortunately the decision was made to stay on 4.0.6 for now since other than this we have been quite pleased with it.</div><div><br></div><div>With that said, I do know for certain the previous environment wasn't in global maintenance before that backup was taken. Does that mean it's not viable or can we make some database modifications to clean it up?</div><div><br>Logan</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 26, 2017 at 5:00 AM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Sun, Feb 26, 2017 at 8:02 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:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_-7009163588732335222gmail-">On Fri, Feb 24, 2017 at 6:34 PM, Logan Kuhn <<a href="mailto:support@jac-properties.com" target="_blank">support@jac-properties.com</a>> wrote:<br>
> Hi<br>
><br>
> I'm in the process of trying to restore our previous hosted engine onto new,<br>
> permanent, storage. I've followed this guide:<br>
> <a href="https://www.ovirt.org/develop/developer-guide/engine/migrate-to-hosted-engine/" rel="noreferrer" target="_blank">https://www.ovirt.org/develop/<wbr>developer-guide/engine/migrate<wbr>-to-hosted-engine/</a></span></blockquote><div><br></div></span><div>The point is that the DB you restored contains references to the hosted-engine storage domain and to the engine VM you used on your initial hosted-engine env.</div><div>You have to clean up these references to let the engine correctly import the new hosted-engine env.</div><div><div>With 4.1 we introduced two new options to engine-backup in order to make correctly working for a backup took on a previous hosted engine env, they are:<br></div></div><div><div><div> --he-remove-storage-vm Removes the hosted-engine storage domain, all its entities and the hosted-engine VM during restore.</div><div> --he-remove-hosts Removes all the hosted-engine hosts during restore.</div></div></div><div><br></div><div>Hosted-engine host should be redeployed as well since they point to the previous env as well.</div><div><br></div><div>The correct path to migrate from a previous hosted-engine env to a new one is:</div><div>- set global maintenance mode on the previous env</div><div>- set maintenance mode for the hosted engine hosts on the previous engine</div><div>- take the backup of the previous engine</div><div>Follow <a href="https://www.ovirt.org/develop/developer-guide/engine/migrate-to-hosted-engine/" target="_blank">https://www.ovirt.org/<wbr>develop/developer-guide/<wbr>engine/migrate-to-hosted-<wbr>engine/</a> adding '--he-remove-storage-vm --he-remove-hosts ' to the DB restore command. </div><span class=""><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"><span class="m_-7009163588732335222gmail-">
> It went pretty smoothly up until the hosted engine deploy tried to add the<br>
> host to the environment. The error was Unable to add HEVM to the manager.<br>
> However, I can login to the environment just fine, but it does not have the<br>
> HEVM and the host it's currently running on is down.<br>
><br>
> I've attached the hosted engine setup log. Let me know if there are any<br>
> other logs that will be helpful<br>
<br>
</span>Please check/share also: From the engine:<br>
/var/log/ovirt-engine/engine.l<wbr>og<br>
/var/log/ovirt-engine/host-dep<wbr>loy/*<br>
<br>
>From the host:<br>
/var/log/vdsm/vdsm.log<br>
/tmp/ovirt* (if found. If all is ok they are copied to engine and removed)<br>
<br>
Best,<br>
<br>
><br>
> Logan<br>
><br>
> ______________________________<wbr>_________________<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<wbr>/listinfo/users</a><br>
><br>
<span class="m_-7009163588732335222gmail-HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Didi<br>
______________________________<wbr>_________________<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<wbr>/listinfo/users</a><br>
</font></span></blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>