← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1348056] Re: Neutron network API throws error code 500 when an Invalid VLAN is provided (should throw 400)

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1348056

Title:
  Neutron network API throws error code 500 when an Invalid VLAN is
  provided (should throw 400)

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  The neutron network API currently throws a error code 500 for an
  invalid input against the VLAN field.

  The error can be reproduced by having the following JSON request body:

  {
              "network": {
                  "admin_state_up": "false",
                  "provider:segmentation_id": "abc",
                  "name": "Network1",
                  "provider:physical_network": "XYZ",
                  "provider:network_type": "vlan"
              }
          }

  An error code 400 should be thrown much like how it is thrown for the
  other fields - if they correspond to incorrect values.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1348056/+subscriptions


References