Revision history [back]

click to hide/show revision 1
initial version

Error: Failed to launch instance "yo": Please try again later [Error: No valid host was found. Exceeded max scheduling attempts 3 for instance

I am trying to launch a m1.tiny or m1.small I get the following; Error: Failed to launch instance "yo": Please try again later [Error: No valid host was found. Exceeded max scheduling attempts 3 for instance f35e6ece-625f-4257-80b0-98fc1a170faf].

when I look at the /var/log/nova/nova-scheduler.log entries I see the following;

2014-10-29 19:46:25.222 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf'] 2014-10-29 19:46:25.227 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Choosing host WeighedHost [host: NUC-OpenStack, weight: 1.0] for instance f35e6ece-625f-4257-80b0-98fc1a170faf 2014-10-29 19:46:57.700 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf'] 2014-10-29 19:46:57.701 1742 ERROR nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Error from last host: NUC-OpenStack (node NUC-OpenStack): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1328, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function\n return function(self, context, args, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1740, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1737, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2292, in spawn\n write_to_disk=True)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3486, in to_xml\n disk_info, rescue, block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3300, in get_guest_config\n flavor)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n'] 2014-10-29 19:46:57.706 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Choosing host WeighedHost [host: NUC-OpenStack, weight: 1.0] for instance f35e6ece-625f-4257-80b0-98fc1a170faf 2014-10-29 19:47:30.063 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf'] 2014-10-29 19:47:30.064 1742 ERROR nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Error from last host: NUC-OpenStack (node NUC-OpenStack): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1328, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function\n return function(self, context, args, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1740, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1737, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2292, in spawn\n write_to_disk=True)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3486, in to_xml\n disk_info, rescue, block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3300, in get_guest_config\n flavor)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n'] 2014-10-29 19:47:30.067 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Choosing host WeighedHost [host: NUC-OpenStack, weight: 1.0] for instance f35e6ece-625f-4257-80b0-98fc1a170faf 2014-10-29 19:48:02.561 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf'] 2014-10-29 19:48:02.561 1742 ERROR nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Error from last host: NUC-OpenStack (node NUC-OpenStack): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1328, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function\n return function(self, context, args, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1740, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1737, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2292, in spawn\n write_to_disk=True)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3486, in to_xml\n disk_info, rescue, block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3300, in get_guest_config\n flavor)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n'] 2014-10-29 19:48:02.561 1742 WARNING nova.scheduler.utils [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Failed to scheduler_run_instance: No valid host was found. Exceeded max scheduling attempts 3 for instance f35e6ece-625f-4257-80b0-98fc1a170faf 2014-10-29 19:48:02.562 1742 WARNING nova.scheduler.utils [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Setting instance to ERROR state.

when I look from the beginning of log I see; 2014-10-29 19:06:33.397 1704 WARNING nova.scheduler.host_manager [req-315f2043-83c5-4da4-8632-f51b05b49115 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Host has more disk space than database expected (411gb > 402gb)

root@NUC-OpenStack:~# nova-manage service list Binary Host Zone Status State Updated_At nova-consoleauth NUC-OpenStack internal enabled :-) 2014-10-29 23:51:01 nova-scheduler NUC-OpenStack internal enabled :-) 2014-10-29 23:51:00 nova-console NUC-OpenStack internal enabled :-) 2014-10-29 23:51:00 nova-conductor NUC-OpenStack internal enabled :-) 2014-10-29 23:51:01 nova-compute NUC-OpenStack nova enabled :-) 2014-10-29 23:51:06 nova-cert NUC-OpenStack internal enabled :-) 2014-10-29 23:51:01

I tried nova-manage db sync, to see if that would resolve the disk space issue, but I get the same result. I am trying to launch the instance from the Horizon dash board.

I am running on a Ubuntu Desktop latest version (installed last week) and a single node installation.

Any assistance would be greatly appreciated.

Error: Failed to launch instance "yo": Please try again later [Error: No valid host was found. Exceeded max scheduling attempts 3 for instance

I am trying to launch a m1.tiny or m1.small I get the following;
Error: Failed to launch instance "yo": Please try again later [Error: No valid host was found. Exceeded max scheduling attempts 3 for instance f35e6ece-625f-4257-80b0-98fc1a170faf].

f35e6ece-625f-4257-80b0-98fc1a170faf].

when I look at the /var/log/nova/nova-scheduler.log entries I see the following;

2014-10-29 19:46:25.222 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf']
2014-10-29 19:46:25.227 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Choosing host WeighedHost [host: NUC-OpenStack, weight: 1.0] for instance f35e6ece-625f-4257-80b0-98fc1a170faf
2014-10-29 19:46:57.700 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf']
2014-10-29 19:46:57.701 1742 ERROR nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Error from last host: NUC-OpenStack (node NUC-OpenStack): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1328, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, args, *kwargs)\n', *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1740, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1737, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2292, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3486, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3300, in get_guest_config\n    flavor)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n    _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']
2014-10-29 19:46:57.706 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Choosing host WeighedHost [host: NUC-OpenStack, weight: 1.0] for instance f35e6ece-625f-4257-80b0-98fc1a170faf
2014-10-29 19:47:30.063 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf']
2014-10-29 19:47:30.064 1742 ERROR nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Error from last host: NUC-OpenStack (node NUC-OpenStack): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1328, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, args, *kwargs)\n', *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1740, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1737, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2292, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3486, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3300, in get_guest_config\n    flavor)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n    _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']
2014-10-29 19:47:30.067 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Choosing host WeighedHost [host: NUC-OpenStack, weight: 1.0] for instance f35e6ece-625f-4257-80b0-98fc1a170faf
2014-10-29 19:48:02.561 1742 INFO nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Attempting to build 1 instance(s) uuids: [u'f35e6ece-625f-4257-80b0-98fc1a170faf']
2014-10-29 19:48:02.561 1742 ERROR nova.scheduler.filter_scheduler [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Error from last host: NUC-OpenStack (node NUC-OpenStack): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1328, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, args, *kwargs)\n', *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1740, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1737, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2292, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3486, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3300, in get_guest_config\n    flavor)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n    _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']
2014-10-29 19:48:02.561 1742 WARNING nova.scheduler.utils [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Failed to scheduler_run_instance: No valid host was found. Exceeded max scheduling attempts 3 for instance f35e6ece-625f-4257-80b0-98fc1a170faf
2014-10-29 19:48:02.562 1742 WARNING nova.scheduler.utils [req-9263c7aa-308f-46eb-912b-58f3273e6214 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] [instance: f35e6ece-625f-4257-80b0-98fc1a170faf] Setting instance to ERROR state.

state. when I look from the beginning of log I see; 2014-10-29 19:06:33.397 1704 WARNING nova.scheduler.host_manager [req-315f2043-83c5-4da4-8632-f51b05b49115 efe9df7438b84b048dfdee7457083055 34fce1871c784f0fab2a4862b139fe43] Host has more disk space than database expected (411gb > 402gb)

402gb) root@NUC-OpenStack:~# nova-manage service list Binary Host Zone Status State Updated_At nova-consoleauth NUC-OpenStack internal enabled :-) 2014-10-29 23:51:01 nova-scheduler NUC-OpenStack internal enabled :-) 2014-10-29 23:51:00 nova-console NUC-OpenStack internal enabled :-) 2014-10-29 23:51:00 nova-conductor NUC-OpenStack internal enabled :-) 2014-10-29 23:51:01 nova-compute NUC-OpenStack nova enabled :-) 2014-10-29 23:51:06 nova-cert NUC-OpenStack internal enabled :-) 2014-10-29 23:51:01

23:51:01

I tried nova-manage db sync, to see if that would resolve the disk space issue, but I get the same result. I am trying to launch the instance from the Horizon dash board.

I am running on a Ubuntu Desktop latest version (installed last week) and a single node installation.

Any assistance would be greatly appreciated.