If ebtables is not present nova-network fails with misleading error

Bug #1186907 reported by Alvaro Lopez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

In an upgrade from Folsom to Grizzly, nova-network fails as follows:

    2013-06-03 10:08:01.430 6947 CRITICAL nova [-] Interface eth1 not found.
    2013-06-03 10:08:01.430 6947 TRACE nova Traceback (most recent call last):
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/bin/nova-network", line 54, in <module>
    2013-06-03 10:08:01.430 6947 TRACE nova service.wait()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 689, in wait
    2013-06-03 10:08:01.430 6947 TRACE nova _launcher.wait()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 209, in wait
    2013-06-03 10:08:01.430 6947 TRACE nova super(ServiceLauncher, self).wait()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 179, in wait
    2013-06-03 10:08:01.430 6947 TRACE nova service.wait()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait
    2013-06-03 10:08:01.430 6947 TRACE nova return self._exit_event.wait()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
    2013-06-03 10:08:01.430 6947 TRACE nova return hubs.get_hub().switch()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
    2013-06-03 10:08:01.430 6947 TRACE nova return self.greenlet.switch()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main
    2013-06-03 10:08:01.430 6947 TRACE nova result = function(*args, **kwargs)
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 147, in run_server
    2013-06-03 10:08:01.430 6947 TRACE nova server.start()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 429, in start
    2013-06-03 10:08:01.430 6947 TRACE nova self.manager.init_host()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1681, in init_host
    2013-06-03 10:08:01.430 6947 TRACE nova self.init_host_floating_ips()
    2013-06-03 10:08:01.430 6947 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/network/floating_ips.py", line 98, in init_host_floating_ips
    2013-06-03 10:08:01.430 6947 TRACE nova raise exception.NoFloatingIpInterface(interface=interface)
    2013-06-03 10:08:01.430 6947 TRACE nova NoFloatingIpInterface: Interface eth1 not found.
    2013-06-03 10:08:01.430 6947 TRACE nova

This is caused because ebtables is not present in the system, therefore the
process that adds the floating ip fails, and the wrong error is shown.
ebtables should be a dependency of nova-network and it is not:

    Package: nova-network
    State: installed
    Automatically installed: no
    Version: 1:2013.1-0ubuntu2.1~cloud0
    Priority: extra
    Section: net
    Maintainer: Ubuntu Developers <email address hidden>
    Architecture: all
    Uncompressed Size: 1934 k
    Depends: bridge-utils, dnsmasq-base, dnsmasq-utils, iptables, iputils-arping, netcat, nova-common (=
             1:2013.1-0ubuntu2.1~cloud0), vlan, upstart-job, python

Tags: network
Revision history for this message
Russell Bryant (russellb) wrote :

really a packaging bug if ebtables isn't there, but still nice to make it more obvious what went wrong

tags: added: network
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Sean Dague (sdague) wrote :

I'm looking through the current code, and I'm not sure this is an issue any more. Closing as invalid, please reopen if it's not.

Changed in nova:
status: Confirmed → Incomplete
status: Incomplete → Invalid
Alvaro Lopez (aloga)
Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.