Network Worker Crashes if --flat_network_bridge isn't specified

Bug #808989 reported by Antony Messerli
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Trey Morris

Bug Description

Worker crashes if flat_network_bridge isn't specified in nova.conf

(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 458, in _inner
(nova): TRACE: self.f(*self.args, **self.kw)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 266, in periodic_tasks
(nova): TRACE: self.manager.periodic_tasks(context.get_admin_context())
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 325, in periodic_tasks
(nova): TRACE: self.set_network_hosts(context)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 339, in set_network_hosts
(nova): TRACE: networks = self.db.network_get_all(context)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/db/api.py", line 689, in network_get_all
(nova): TRACE: return IMPL.network_get_all(context)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.py", line 99, in wrapper
(nova): TRACE: return f(*args, **kwargs)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/db/sqlalchemy/api.py", line 1612, in network_get_all
(nova): TRACE: raise exception.NoNetworksFound()
(nova): TRACE: NoNetworksFound: No networks defined.
(nova): TRACE:

Related branches

Trey Morris (tr3buchet)
Changed in nova:
assignee: nobody → Trey Morris (tr3buchet)
Revision history for this message
Trey Morris (tr3buchet) wrote :

If you do not use the flat_network_bridge flag, you must specify the bridge when using the nova-manage network create command. I have caught the exception that was raised causing the problem in the above trace in the branch i'm proposing for merge to fix this bug.

Changed in nova:
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
Trey Morris (tr3buchet)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-3
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-3 → 2011.3
status: Fix Committed → Fix Released
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.