Error: No valid host was found - NoFloatingIpInterface: Interface eth0 not found
We just installed Havana on Ubuntu 14.04 (keystone-nova-image) and played with creating some instances and everything looked good. tried to install SWIFT and create Virtual networks and ran some commands and started seeing nova fail with error: Failed to launch instances, Error: No valid host was found and looked in the logs and found: NoFloatingIpInterface: Interface eth0 not found
Please help. here are logs: 2014-05-25 17:33:48.913 1383 WARNING nova.scheduler.driver [req-396fc810-d770-413b-a9c3-4bcb82a2fd0f 48f1c80743fe403f835bfd82a2bbe6a3 8c71bb2ae9d44842abb8663e28692b56] [instance: fcbafa9f-6e5a-4ded-ab69-2527d9a27745] Setting instance to ERROR state. 2014-05-25 17:34:33.323 1383 INFO nova.scheduler.filter_scheduler [req-07bec336-46b4-4584-adbc-4977187c57c4 48f1c80743fe403f835bfd82a2bbe6a3 8c71bb2ae9d44842abb8663e28692b56] Attempting to build 1 instance(s) uuids: [u'e40f3af7-ca83-4f78-a9c6-fdfbf7974dce'] 2014-05-25 17:34:33.337 1383 INFO nova.scheduler.filter_scheduler [req-07bec336-46b4-4584-adbc-4977187c57c4 48f1c80743fe403f835bfd82a2bbe6a3 8c71bb2ae9d44842abb8663e28692b56] Choosing host WeighedHost [host: ubuntu1, weight: 1.0] for instance e40f3af7-ca83-4f78-a9c6-fdfbf7974dce 2014-05-25 17:34:37.638 1383 INFO nova.scheduler.filter_scheduler [req-07bec336-46b4-4584-adbc-4977187c57c4 48f1c80743fe403f835bfd82a2bbe6a3 8c71bb2ae9d44842abb8663e28692b56] Attempting to build 1 instance(s) uuids: [u'e40f3af7-ca83-4f78-a9c6-fdfbf7974dce'] 2014-05-25 17:34:37.639 1383 ERROR nova.scheduler.filter_scheduler [req-07bec336-46b4-4584-adbc-4977187c57c4 48f1c80743fe403f835bfd82a2bbe6a3 8c71bb2ae9d44842abb8663e28692b56] [instance: e40f3af7-ca83-4f78-a9c6-fdfbf7974dce] Error from last host: ubuntu1 (node ubuntu1): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1311, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 399, in decorated_function\n return function(self, context, args, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1723, 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 1720, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2250, in spawn\n write_to_disk=True)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3420, in to_xml\n network_info_str = str(network_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 424, in __str__\n return self._sync_wrapper(fn, args, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 407, in _sync_wrapper\n self.wait()\n', u' File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 439, in wait\n self[:] = self._gt.wait()\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait\n return self._exit_event.wait()\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait\n return hubs.get_hub().switch()\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch\n return self.greenlet.switch()\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main\n result = function(args, *kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1510, in _allocate_network_async\n dhcp_options=dhcp_options)\n', u' File ...
can you give logs
updted the post with logs
also neutron logs needed.
Actually we did not install neutron
nova-network.log:
2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher fixed_ip.instance_uuid) 2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/network/floating_ips.py", line 396, in _associate_floating_ip 2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher do_associate() 2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 249, in inner 2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher return f(args, *kwargs) 2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/network/floating_ips.py", line 389, in do_associate 2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher interface=interface) 2014-05-26 08:29:06.727 3127 TRACE oslo.messaging.rpc.dispatcher NoFloatingIpInterface: Interface eth0 not found. 2014-05-26 08:29 ...(more)