[openstack-dev] [nova] Priority resizing instance on same host

Rui Chen chenrui.momo at gmail.com
Thu Feb 12 08:47:35 UTC 2015


Yes, @Lingxian, I agree with you.

Only the host pass the scheduler filters, the resizing can success,
'force_hosts' is not enough IMO.

2015-02-12 16:41 GMT+08:00 Lingxian Kong <anlin.kong at gmail.com>:

> Hi, Rui,
>
> I think resize VM to the same host if the host could pass scheduler
> filters makes sense to me.
>
> 2015-02-12 15:01 GMT+08:00 Rui Chen <chenrui.momo at gmail.com>:
> > Hi:
> >
> >     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.
> >     I think that priority resizing instance on the current host may be
> > better if the host is suitable.
> >     The logic like this:
> >
> > if CONF.allow_resize_to_same_host:
> >     filte current host
> >     if suitable:
> >        resize on current host
> >     else:
> >        select a host
> >        resize on the host
> >
> >     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.
> >
> > Best Regards.
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
>
>
> --
> Regards!
> -----------------------------------
> Lingxian Kong
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150212/405acee6/attachment.html>


More information about the OpenStack-dev mailing list