<div dir="ltr"><div>Hi Nick,<br></div><div><br>Check your scheduler configurations in the /etc/nova/nova.conf in the controller node. Some scheduler configurations I use are as below:<br><br>


        
        
        
        <style type="text/css">P { margin-bottom: 0.21cm; direction: ltr; color: rgb(0, 0, 0); widows: 2; orphans: 2; }P.western { font-family: "Trebuchet MS",serif; font-size: 10pt; }P.cjk { font-size: 10pt; }A:link { color: rgb(0, 0, 255); }A.western:link {  }A.cjk:link {  }A.ctl:link { font-family: "Times New Roman"; }</style>


<p style="margin-left:0.64cm;margin-bottom:0cm;line-height:100%">
<font face="Courier New, serif"><font color="#4f81bd">scheduler_available_filters=nova.scheduler.filters.all_filters</font></font></p>
<p style="margin-left:0.64cm;margin-bottom:0cm;line-height:100%">
<font face="Courier New, serif"><font color="#4f81bd">scheduler_default_filters=AvailabilityZoneFilter,CoreFilter,RamFilter,ComputeFilter,RetryFilter</font></font></p>
<p style="margin-left:0.64cm;margin-bottom:0cm;line-height:100%">
<font face="Courier New, serif"><font color="#4f81bd">compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler</font></font></p>
<p style="margin-left:0.64cm;margin-bottom:0cm;line-height:100%">
<font face="Courier New, serif"><font color="#4f81bd">scheduler_max_attempts=3</font></font></p>




        
        
        
        <style type="text/css">P { margin-bottom: 0.21cm; direction: ltr; color: rgb(0, 0, 0); widows: 2; orphans: 2; }P.western { font-family: "Trebuchet MS",serif; font-size: 10pt; }P.cjk { font-size: 10pt; }A:link { color: rgb(0, 0, 255); }A.western:link {  }A.cjk:link {  }A.ctl:link { font-family: "Times New Roman"; }</style>


<p style="margin-left:0.64cm;margin-bottom:0cm;line-height:100%">
<font face="Courier New, serif"><font color="#4f81bd">cpu_allocation_ratio=1.5</font></font></p>
<p style="margin-left:0.64cm;margin-bottom:0cm;line-height:100%">
<font face="Courier New, serif"><font color="#4f81bd">ram_allocation_ratio=1.0</font></font></p>

<br></div><div>The allocation rations and type of filters may vary depending on your needs.<br></div><div><br></div>Regards,<br>Balu<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 23, 2013 at 9:08 PM, Nick Maslov <span dir="ltr"><<a href="mailto:azpekt@gmail.com" target="_blank">azpekt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi guys,<br>
<br>
I`m using Grizzly on 13.04 Ubuntu.<br>
<br>
For compute hosts I have few 64Gb RAM servers and about a dozen of 8Gb RAM ones.<br>
<br>
"nova-manage service list", "quantum agent-list", "nova hypervisor-stats" show that all nodes and agents for all nodes are there and happy :-)<br>
<br>
I`m spawning VM hosts in huge packs - 50 or even more simultaneously. But most of VM`s are deployed in ERROR state.<br>
<br>
In scheduler logs I can see this:<br>
<br>
Oct 23 15:03:52 ctrl01-001 2013-10-23 15:03:52.376 ERROR nova.scheduler.filter_scheduler [req-61327e43-5f34-43ca-84ef-dfd8aefddec4 b30e83bf390e434993e8f484f74d4a17 81448b94090c4da68bae2eca678e7bd2] [instance: bc423509-37a4-4b4f-a480-cddd80d33b84] Error from last host: nova17 (node nova17): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 847, in _run_instance\n    requested_networks, macs, security_groups)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1091, in _allocate_network\n    instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1087, in _allocate_network\n    security_groups=security_groups)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 47, in wrapper\n    res = f(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 292, in allocate_for_instance\n    nw_info = self._get_instance_nw_info(context, instance, networks=nets)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 374, in _get_instance_nw_info\n    nw_info = self._build_network_info_model(context, instance, networks)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 832, in _build_network_info_model\n    subnets = self._get_subnets_from_port(context, port)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 902, in _get_subnets_from_port\n    data = quantumv2.get_client(context).list_ports(**search_opts)\n', u'  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 107, in with_params\n    ret = self.function(instance, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 255, in list_ports\n    **_params)\n', u'  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 99<br>

Oct 23 15:03:52 ctrl01-001 2013-10-23 15:03:52.378 WARNING nova.scheduler.manager [req-61327e43-5f34-43ca-84ef-dfd8aefddec4 b30e83bf390e434993e8f484f74d4a17 81448b94090c4da68bae2eca678e7bd2] Failed to schedule_run_instance: No valid host was found. Exceeded max scheduling attempts 3 for instance bc423509-37a4-4b4f-a480-cddd80d33b84<br>

Oct 23 15:03:52 ctrl01-001 2013-10-23 15:03:52.378 WARNING nova.scheduler.manager [req-61327e43-5f34-43ca-84ef-dfd8aefddec4 b30e83bf390e434993e8f484f74d4a17 81448b94090c4da68bae2eca678e7bd2] [instance: bc423509-37a4-4b4f-a480-cddd80d33b84] Setting instance to ERROR state.<br>

<br>
<br>
Anything I should be looking at in particular?<br>
<br>
I`m now havng 474 virtual servers in my environment, and spawning more of them creates more errors...<br>
<br>
Thanks,<br>
NM<br>
<br>
<br>
<br>
<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>
</blockquote></div><br></div>