commit 3cf4a7cffd5f76b9f8a3eed649d04075714dcd9c
Author: Michael Johnson <email address hidden>
Date: Fri Apr 15 18:49:44 2016 +0000
Set HTTP status code to 409 for LBs in PENDING*
When users attempt to change a LBaaS resource while the load
balancer is in a PENDING-* state they currently get an error
with a 500 HTTP status code. This patch changes the status code
to be 409 (conflict) which is consistent with other "I'm busy"
errors.
Change-Id: I6fc0c966e72dde956bd481b71a5cea5ba6d10c55
Closes-Bug: #1570596
(cherry picked from commit 63f4bac2247e45ec66ba8fde04692abacbe1f72c)
Reviewed: https:/ /review. openstack. org/363419 /git.openstack. org/cgit/ openstack/ neutron- lbaas/commit/ ?id=3cf4a7cffd5 f76b9f8a3eed649 d04075714dcd9c
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 3cf4a7cffd5f76b 9f8a3eed649d040 75714dcd9c
Author: Michael Johnson <email address hidden>
Date: Fri Apr 15 18:49:44 2016 +0000
Set HTTP status code to 409 for LBs in PENDING*
When users attempt to change a LBaaS resource while the load
balancer is in a PENDING-* state they currently get an error
with a 500 HTTP status code. This patch changes the status code
to be 409 (conflict) which is consistent with other "I'm busy"
errors.
Change-Id: I6fc0c966e72dde 956bd481b71a5ce a5ba6d10c55 c66ba8fde04692a bacbe1f72c)
Closes-Bug: #1570596
(cherry picked from commit 63f4bac2247e45e