<div dir="ltr">I would say that having worked in a enterprise environment before sometimes we would get calls from a tech wanting to do it asap or you just have the need to do it "now". It would be very nice to have a option to the command like "nova maintenance --evacuate <host>" or something similar which would basically put it into maintenance mode and evac it.<div>
<br></div><div style>Endre.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/19 Alex Glikson <span dir="ltr"><<a href="mailto:GLIKSON@il.ibm.com" target="_blank">GLIKSON@il.ibm.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Was great to see many stackers at the summit!<br>
<br>
Following-up on one of the design discussions, the consensus seemed to be<br>
that the operation which puts a host in maintenance mode should probably<br>
only disable further provisioning requests to that host, while the<br>
orchestration of migrating the individual instances from that host should<br>
be done separately, potentially even outside of Nova. One possible approach<br>
could be to use the admin API to list all the instances on a particular<br>
host, and then to migrate each of them (potentially using the option not to<br>
specify the target host, in which case the new placement will be selected<br>
by the scheduler). Similar approach may apply to recovery of instances from<br>
a failed host, using 'evacuate' API.<br>
<br>
It would be great to understand how people might want to have this<br>
capability surfaced and consumed by the administrator. A script (somehow<br>
shared with the community)? REST API? (provided by which component?) part<br>
of nova-manage? something else?<br>
<br>
Would appreciate your feedback (especially if you manage OpenStack clouds<br>
and is interested in this capability).<br>
<br>
Thanks,<br>
Alex<br>
<br>
P.S. one additional item on our todo list is to enable usage of scheduler<br>
hints when applying the individual migration operations<br>
P.P.S. similar scenarios might be also implemented for Cinder storage<br>
nodes, ones the new volume migration feature gets implemented<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br></div>