improve openvswitch error when flat network already exists

Bug #1045601 reported by Robert Kukura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Robert Kukura

Bug Description

If a flat network has already been allocated on a physical network, and a new flat network is created on the same physical network, the openswitch plugin returns the following error message:

$ OS_USERNAME=admin quantum net-create net4 --provider:network_type flat --provider:physical_network default
Unable to create the network. The VLAN -1 on physical network default is in use.

It should instead say something like:

Unable to create the network. The flat network on physical network default is in use.

The same issue most likely exists in the linuxbridge plugin.

Robert Kukura (rkukura)
Changed in quantum:
assignee: nobody → Robert Kukura (rkukura)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

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

Reviewed: https://review.openstack.org/12539
Committed: http://github.com/openstack/quantum/commit/c4d3c1c0349392cb5032d0fb870515f6c9e8385d
Submitter: Jenkins
Branch: master

commit c4d3c1c0349392cb5032d0fb870515f6c9e8385d
Author: Bob Kukura <email address hidden>
Date: Thu Sep 6 21:42:54 2012 -0400

    Improve error message when flat network already exists

    Fixes bug 1045601.

    When attempting to create a flat network on a physical_network on
    which a flat network is already allocated, the openvswitch and
    linuxbridge plugins return a FlatNetworkInUse exception rather than a
    VlanIdInUse exception referencing VLAN -1.

    Change-Id: Id79e917e1376ebbb199efc3f14d9f378c6a04050

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → folsom-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-rc1 → 2012.2
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.