On Thursday, February 12, 2015, Rui Chen <<a href="mailto:chenrui.momo@gmail.com">chenrui.momo@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>    Currently, resizing instance cause migrating from the host that the instance run on to other host, but maybe the current host is suitable for new flavor. Migrating will lead to copy image between hosts if no shared storage, it waste time. </div><div>    I think that priority resizing instance on the current host may be better if the host is suitable.</div><div>    The logic like this:</div><div><br></div><div>if CONF.allow_resize_to_same_host:</div><div>    filte current host</div><div>    if suitable:</div><div>       resize on current host</div><div>    else:</div><div>       select a host</div><div>       resize on the host</div><div><br></div><div>    I don't know whether there have been some discussion about this question. Please let me know what do you think. If the idea is no problem, maybe I can register a blueprint to implement it. </div></div></blockquote><div><br></div><div>But the nova.conf flag for that already exists?</div><div><br></div><div>What I would suggest, however, is that some logic is put in to determine whether the disk size remains the same while the cpu/ram size is changing - if so, then resize the instance on the host <span></span>without the disk snapshot and copy. </div><br><br>-- <br><div dir="ltr"><div>Jesse Pretorius<br>mobile: +44 7586 906045<br>email: <a href="mailto:jesse.pretorius@gmail.com" target="_blank">jesse.pretorius@gmail.com</a><br>skype: jesse.pretorius</div></div><br>