yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03627
[Bug 1183285] Re: Invalid error status code returned by nicira network-gateway API extension
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1183285
Title:
Invalid error status code returned by nicira network-gateway API
extension
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
The following operations:
PUT /network-gateways/<gw_id>/connect
PUT /network-gateway/<gw_id>/disconnect
Accept two optional parameters:
- segmentation_type
- segmentation_id
Default values for these parameters are not set, nor their are sanity checked, in the API server.
This means that setting an invalid value will cause a 500 error (raised by the underlyng NVP backend) rather than the expected 400.
Particularly interesting is the case in which they are missing. the
backend interprets 'correctly' them in the sense that does a 'flat'
connection with vlan ID 0, but Null values are stored in the quantum
DB. The funny consequence is that this then breaks the disconnect
feature as the connection record with Null values will be returned by
any query, leading to a 'MultipleGatewayConnectionFound' to be raised
in any case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1183285/+subscriptions