Ask Your Question
0

Error: No valid host was found - NoFloatingIpInterface: Interface eth0 not found

asked 2014-05-25 07:30:45 -0500

openstack-poc gravatar image

updated 2014-05-25 08:12:43 -0500

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 ... (more)

edit retag flag offensive close merge delete

Comments

can you give logs

SGPJ gravatar imageSGPJ ( 2014-05-25 08:01:40 -0500 )edit

updted the post with logs

openstack-poc gravatar imageopenstack-poc ( 2014-05-25 08:24:05 -0500 )edit

also neutron logs needed.

SGPJ gravatar imageSGPJ ( 2014-05-25 08:29:45 -0500 )edit

Actually we did not install neutron

openstack-poc gravatar imageopenstack-poc ( 2014-05-25 10:47:50 -0500 )edit

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)

openstack-poc gravatar imageopenstack-poc ( 2014-05-25 22:59:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-11 06:44:58 -0500

shankar gravatar image

The network mapped to the VM instance may exhaust the network pool which you have configured initially. Try to add some more ipaddress in the dhcp pool or release some of the floting-ip that were not in use.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-25 07:30:45 -0500

Seen: 313 times

Last updated: Mar 11 '15