yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17984
[Bug 1348056] [NEW] Neutron network API throws error code 500 when an Invalid VLAN is provided (should throw 400)
Public bug reported:
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.
** Affects: neutron
Importance: Undecided
Assignee: Sudipta Biswas (sbiswas7)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Sudipta Biswas (sbiswas7)
--
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):
New
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
Follow ups
References