<div dir="ltr">Can you ensure you have the below <div><br></div><div>"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<br>
</div><div><br></div><div><br></div><div class="gmail_extra">Best,</div><div class="gmail_extra">Ashok<br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 1:38 PM, Mārtiņš Jakubovičs <span dir="ltr"><<a href="mailto:martins@hostnet.lv" target="_blank">martins@hostnet.lv</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello all,<br>
<br>
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 <a href="http://paste.openstack.org/show/55109/" target="_blank">nova-conductor.log</a>
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.<br>
<br>
Error message:<br>
<br>
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.<br>
Traceback (most recent call last):<br>
<br>
File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/common.py",
line 420, in catch_client_exception<br>
return func(*args, **kwargs)<br>
<br>
File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py",
line 298, in select_destinations<br>
filter_properties)<br>
<br>
File
"/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py",
line 148, in select_destinations<br>
raise exception.NoValidHost(reason='')<br>
<br>
NoValidHost: No valid host was found.<br>
<br>
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.<br>
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<br>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div><br>
</div></div>