[Openstack] Failed to resize

Ashok Kumaran ashokkumaran.b at gmail.com
Tue Dec 17 08:26:53 UTC 2013


Can you ensure you have the below

"allow_resize_to_same_host=true" and "allow_migrate_to_same_host=true"  set
in nova.conf,its needed for all in one deployment or a scenario with only
one available compute node. Restart nova services and try to resize the
instance


Best,
Ashok

On Tue, Dec 17, 2013 at 1:38 PM, Mārtiņš Jakubovičs <martins at hostnet.lv>wrote:

>  Hello all,
>
> I got a lot problems with XenServer + OpenStack and one more is with
> instance resize. When I attempt to resize instance nothing happens, only in
> nova-conductor.log <http://paste.openstack.org/show/55109/> I got some
> error messages. Maybe someone know how to fix this? Looks like schaduler
> can't find host, but in my setup in current moment I got only one host.
>
> Error message:
>
> 2013-12-17 09:52:50.611 9598 WARNING nova.scheduler.utils
> [req-3f26dac5-e043-4173-a547-4988abf2120f a7712da5cc054f819886dbe5a89429d5
> 76619aca43f841e0bed1a3b89ce8b426] Failed to compute_task_migrate_server: No
> valid host was found.
> Traceback (most recent call last):
>
>   File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/common.py",
> line 420, in catch_client_exception
>     return func(*args, **kwargs)
>
>   File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line
> 298, in select_destinations
>     filter_properties)
>
>   File
> "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line
> 148, in select_destinations
>     raise exception.NoValidHost(reason='')
>
> NoValidHost: No valid host was found.
>
> 2013-12-17 09:52:50.615 9598 WARNING nova.scheduler.utils
> [req-3f26dac5-e043-4173-a547-4988abf2120f a7712da5cc054f819886dbe5a89429d5
> 76619aca43f841e0bed1a3b89ce8b426] [instance:
> cad657b7-85b7-487a-b659-22604d83364d] Setting instance to ACTIVE state.
> 2013-12-17 09:52:50.697 9598 WARNING nova.conductor.manager
> [req-3f26dac5-e043-4173-a547-4988abf2120f a7712da5cc054f819886dbe5a89429d5
> 76619aca43f841e0bed1a3b89ce8b426] No valid host found for cold migrate
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131217/4bda2972/attachment.html>


More information about the Openstack mailing list