<div dir="ltr">Yes, @Lingxian, I agree with you. <div><br></div><div>Only the host pass the scheduler filters, the resizing can success, 'force_hosts' is not enough IMO.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-12 16:41 GMT+08:00 Lingxian Kong <span dir="ltr"><<a href="mailto:anlin.kong@gmail.com" target="_blank">anlin.kong@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Rui,<br>
<br>
I think resize VM to the same host if the host could pass scheduler<br>
filters makes sense to me.<br>
<div class="HOEnZb"><div class="h5"><br>
2015-02-12 15:01 GMT+08:00 Rui Chen <<a href="mailto:chenrui.momo@gmail.com">chenrui.momo@gmail.com</a>>:<br>
> Hi:<br>
><br>
> Currently, resizing instance cause migrating from the host that the<br>
> instance run on to other host, but maybe the current host is suitable for<br>
> new flavor. Migrating will lead to copy image between hosts if no shared<br>
> storage, it waste time.<br>
> I think that priority resizing instance on the current host may be<br>
> better if the host is suitable.<br>
> The logic like this:<br>
><br>
> if CONF.allow_resize_to_same_host:<br>
> filte current host<br>
> if suitable:<br>
> resize on current host<br>
> else:<br>
> select a host<br>
> resize on the host<br>
><br>
> I don't know whether there have been some discussion about this<br>
> question. Please let me know what do you think. If the idea is no problem,<br>
> maybe I can register a blueprint to implement it.<br>
><br>
> Best Regards.<br>
><br>
</div></div><span class="im HOEnZb">> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
<br>
<br>
</span><span class="HOEnZb"><font color="#888888">--<br>
Regards!<br>
-----------------------------------<br>
Lingxian Kong<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>