Cannot create a network using FlatDHCPManager without a bridge interface

Bug #844944 reported by Mark McLoughlin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Mark McLoughlin

Bug Description

In my simple, single-host setup with Nova:

  https://fedoraproject.org/wiki/Getting_started_with_OpenStack_Nova

I can't create a network using FlatDHCPManager unless I specify a bridge interface:

  2011-09-08 16:52:46,508 CRITICAL nova [-] --bridge_interface is required to create a network.
  (nova): TRACE: Traceback (most recent call last):
  (nova): TRACE: File "/usr/bin/nova-manage", line 1565, in <module>
  (nova): TRACE: main()
  (nova): TRACE: File "/usr/bin/nova-manage", line 1553, in main
  (nova): TRACE: fn(*fn_args, **fn_kwargs)
  (nova): TRACE: File "/usr/bin/nova-manage", line 719, in create
  (nova): TRACE: raise exception.NetworkNotCreated(req='--bridge_interface')
  (nova): TRACE: NetworkNotCreated: --bridge_interface is required to create a network.

There's really no need for this restriction. The code works fine without it, e.g.

    def ensure_bridge(_self, bridge, interface, net_attrs=None):
       ....
        if interface:
            out, err = _execute('brctl', 'addif', bridge, interface,
                            check_exit_code=False, run_as_root=True)

Related branches

Mark McLoughlin (markmc)
Changed in nova:
assignee: nobody → Mark McLoughlin (markmc)
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
Changed in nova:
status: Confirmed → Fix Committed
milestone: none → 2011.3
Thierry Carrez (ttx)
Changed in nova:
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.