← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1186907] Re: If ebtables is not present nova-network fails with misleading error

 

** Changed in: ubuntu
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1186907

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

Status in OpenStack Compute (Nova):
  Invalid
Status in Ubuntu:
  Invalid

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 <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
      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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1186907/+subscriptions