<tt><font size=2>> From: Ryan Lane <rlane@wikimedia.org></font></tt>
<br><tt><font size=2>> > We have submitted a patch </font></tt><a href=https://review.openstack.org/#/c/11086/><tt><font size=2>https://review.openstack.org/#/c/11086/</font></tt></a><tt><font size=2>
to address<br>
> > </font></tt><a href="https://blueprints.launchpad.net/nova/+spec/rebuild-for-ha"><tt><font size=2>https://blueprints.launchpad.net/nova/+spec/rebuild-for-ha</font></tt></a><tt><font size=2>
that simplifies<br>
> > recovery from a node failure by introducing an API that recreates
an<br>
> > instance on *another* host (similar to the existing instance
'rebuild'<br>
> > operation). </font></tt>
<br><tt><font size=2>[...]</font></tt>
<br><tt><font size=2>> If shared storage is available, the only think
that likely needs to </font></tt>
<br><tt><font size=2>> happen is for the instance's host to be updated
in the database, and</font></tt>
<br><tt><font size=2>> a reboot issued for the instance. That would
keep everything identical,</font></tt>
<br><tt><font size=2>> and would likely be much faster.</font></tt>
<br>
<br><tt><font size=2>That's pretty much what we do in 'manager' -- but
what needs to happen in 'driver' is to (re)create the domain in libvirt
on the destination host, re-attach volumes, floating IPs, etc. Essentially,
everything 'spawn' is doing today, just without creating the new instance
file. Of course, we don't re-provision the instance from image in this
case.</font></tt>
<br><tt><font size=2><br>
> - Ryan</font></tt>
<br>
<br><tt><font size=2>Regards,</font></tt>
<br><tt><font size=2>Alex</font></tt>
<br>