nova network-create ignores "--bridge-interface"

Bug #1179437 reported by Andy McCrae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Medium
Andy McCrae

Bug Description

nova network-create ignore the "--bridge-interface" flag:

$ nova --debug network-create --multi-host T --fixed-range-v4 172.16.5.0/24 --bridge br200 --bridge-interface eth2 --dns1 8.8.8.8 --dns2 8.8.4.4 testNet

REQ: curl -i http://95.138.173.21:8774/v2/fbe849c04687497885f7a80c00f4bd9b/os-networks -X POST -H "X-Auth-Project-Id: demo" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token:..." -d '{"network": {"bridge": "br200", "multi_host": true, "dns2": "8.8.4.4", "dns1": "8.8.8.8", "label": "testNet", "cidr": "172.16.5.0/24"}}'

Consequently the database isn't populated correctly with the "bridge_interface" field:

$ mysql -u root -p -e "SELECT bridge_interface from nova.networks where cidr='172.16.5.0/24'"
+------------------+
| bridge_interface |
+------------------+
| eth0 |
+------------------+

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/28935

Changed in python-novaclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/28935
Committed: http://github.com/openstack/python-novaclient/commit/e745b4626e6066ea498d7b70212602bff8449fb8
Submitter: Jenkins
Branch: master

commit e745b4626e6066ea498d7b70212602bff8449fb8
Author: Andy McCrae <email address hidden>
Date: Mon May 13 11:21:18 2013 +0100

    Fix for --bridge-interface being ignore by nova network-create

    Change-Id: I84b3264e9cbf78c1af27a3f2fd9690f60f710299
    Fixes: bug #1179437

Changed in python-novaclient:
status: In Progress → Fix Committed
Changed in python-novaclient:
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.