Starting nova-network results in traceback.

Bug #925607 reported by Chuck Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Chuck Short

Bug Description

With the following configuration:

--verbose
--nodaemon
--connection_type=libvirt
--libvirt_type=lxc

I get the following traceback:

NameError: global name 'dev' is not defined
2012-02-02 12:38:12,163 CRITICAL nova [-] global name 'dev' is not defined
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "./bin/nova-network", line 49, in <module>
(nova): TRACE: service.wait()
(nova): TRACE: File "/home/chuck/work/server/openstack/bugs/network-traceback/repo/nova/nova/service.py", line 414, in wait
(nova): TRACE: _launcher.wait()
(nova): TRACE: File "/home/chuck/work/server/openstack/bugs/network-traceback/repo/nova/nova/service.py", line 134, in wait
(nova): TRACE: service.wait()
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait
(nova): TRACE: return self._exit_event.wait()
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
(nova): TRACE: return hubs.get_hub().switch()
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
(nova): TRACE: return self.greenlet.switch()
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main
(nova): TRACE: result = function(*args, **kwargs)
(nova): TRACE: File "/home/chuck/work/server/openstack/bugs/network-traceback/repo/nova/nova/service.py", line 104, in run_server
(nova): TRACE: server.start()
(nova): TRACE: File "/home/chuck/work/server/openstack/bugs/network-traceback/repo/nova/nova/service.py", line 164, in start
(nova): TRACE: self.manager.init_host()
(nova): TRACE: File "/home/chuck/work/server/openstack/bugs/network-traceback/repo/nova/nova/network/manager.py", line 1618, in init_host
(nova): TRACE: NetworkManager.init_host(self)
(nova): TRACE: File "/home/chuck/work/server/openstack/bugs/network-traceback/repo/nova/nova/network/manager.py", line 737, in init_host
(nova): TRACE: self._setup_network(ctxt, network)
(nova): TRACE: File "/home/chuck/work/server/openstack/bugs/network-traceback/repo/nova/nova/network/manager.py", line 1707, in _setup_network
(nova): TRACE: self.driver.update_dhcp(context, dev, network_ref)
(nova): TRACE: NameError: global name 'dev' is not defined

Revision history for this message
Vish Ishaya (vishvananda) wrote :

This was fixed here but not linked properly by gerrit:

https://review.openstack.org/#change,3678

Changed in nova:
status: New → Invalid
status: Invalid → Fix Committed
importance: Undecided → High
assignee: nobody → Chuck Short (zulcss)
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 2012.1
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.