Reviewed: https://review.openstack.org/339210 Committed: https://git.openstack.org/cgit/openstack/quark/commit/?id=203412773dac34fee430ffe2cc885f1830b408dc Submitter: Jenkins Branch: master
commit 203412773dac34fee430ffe2cc885f1830b408dc Author: Kyle Haley <email address hidden> Date: Thu Jul 7 12:56:26 2016 -0700
Raise GatewayConflict as BadRequest
neutron GatewayConflictWithAllocationPools exception is raised as a 500, but it is actually user error, so it should be a 400. Catch the GatewayConflictWithAllocationPools exception and raise as a BadRequest with the relevant info.
Change-Id: Id94590c2c8637a64a90f06834c7e3400ea2b6330 JIRA:NCP-1993 Closes-Bug: #1599980
Reviewed: https:/ /review. openstack. org/339210 /git.openstack. org/cgit/ openstack/ quark/commit/ ?id=203412773da c34fee430ffe2cc 885f1830b408dc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 203412773dac34f ee430ffe2cc885f 1830b408dc
Author: Kyle Haley <email address hidden>
Date: Thu Jul 7 12:56:26 2016 -0700
Raise GatewayConflict as BadRequest
neutron GatewayConflict WithAllocationP ools exception is raised WithAllocationP ools exception and raise
as a 500, but it is actually user error, so it should be a 400.
Catch the GatewayConflict
as a BadRequest with the relevant info.
Change-Id: Id94590c2c8637a 64a90f06834c7e3 400ea2b6330
JIRA:NCP-1993
Closes-Bug: #1599980