<div dir="ltr"><div><div><div>Thanks Jay and Chris for the comments!<br><br></div>@Jay Pipes, I think that we still need to enable "one nova compute live migration" as one nova compute can manage multiple clusters and VMs can be migrated between those clusters managed by one nova compute. For cell, IMHO, each "cell" can be treated as a small "cloud" but not a "compute", each "cell cloud" should be able to handle VM operations in the small cloud itself. Please correct me if I am wrong.<br>
<br></div>@Chris, "OS-EXT-SRV-ATTR:host" is the host where nova compute is running and "OS-EXT-SRV-ATTR:hypervisor_hostname" is the hypervisor host where the VM is running. Live migration is now using "host" for live migration. What I want to do is enable migration with one "host" and the "host" managing multiple "hyperviosrs".<br>
<br></div><div>I'm planning to draft a bp for review which depend on <span class=""><a href="https://blueprints.launchpad.net/nova/+spec/vmware-auto-inventory">https://blueprints.launchpad.net/nova/+spec/vmware-auto-inventory</a></span><span class=""> </span></div>
<div><br></div><div>Thanks!<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 8:03 GMT+08:00 Chris Friesen <span dir="ltr"><<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windriver.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 04/03/2014 05:48 PM, Jay Pipes wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, 2014-03-31 at 17:11 +0800, Jay Lau wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Currently with VMWare VCDriver, one nova compute can manage multiple<br>
clusters/RPs, this caused cluster admin cannot do live migration<br>
between clusters/PRs if those clusters/PRs managed by one nova compute<br>
as the current live migration logic request at least two nova<br>
computes.<br>
<br>
<br>
A bug [1] was also filed to trace VMWare live migration issue.<br>
<br>
I'm now trying the following solution to see if it is acceptable for a<br>
fix, the fix wants enable live migration with one nova compute:<br>
1) When live migration check if host are same, check both host and<br>
node for the VM instance.<br>
2) When nova scheduler select destination for live migration, the live<br>
migration task should put (host, node) to attempted hosts.<br>
3) Nova scheduler needs to be enhanced to support ignored_nodes.<br>
4) nova compute need to be enhanced to check host and node when doing<br>
live migration.<br>
</blockquote>
<br>
What precisely is the point of "live migrating" an instance to the exact<br>
same host as it is already on? The failure domain is the host, so moving<br>
the instance from one "cluster" to another, but on the same host is kind<br>
of a silly use case IMO.<br>
</blockquote>
<br></div>
Here is where precise definitions of "compute node", "OS-EXT-SRV-ATTR:host", and "OS-EXT-SRV-ATTR:hypervisor_<u></u>hostname", and "host" as understood by novaclient would be nice.<br>

<br>
Currently the "nova live-migration" command takes a "host" argument. It's not clear which of the above this corresponds to.<br>
<br>
My understanding is that one nova-compute process can manage multiple VMWare physical hosts.  So it could make sense to support live migration between separate VMWare hosts even if they're managed by a single nova-compute process.<span class="HOEnZb"><font color="#888888"><br>

<br>
Chris</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Thanks,<br><br></div>Jay<br></div>
</div>