Error message looks correct, just wrong status code. Looking at the two modules here:
https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py#L155 https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/extensions/loadbalancerv2.py#L83
This should inherit from nexceptions.Conflict, not the base NeutronException. Conflict should give the appropriate status code.
Error message looks correct, just wrong status code. Looking at the two modules here:
https:/ /github. com/openstack/ neutron- lbaas/blob/ master/ neutron_ lbaas/db/ loadbalancer/ loadbalancer_ dbv2.py# L155 /github. com/openstack/ neutron- lbaas/blob/ master/ neutron_ lbaas/extension s/loadbalancerv 2.py#L83
https:/
This should inherit from nexceptions. Conflict, not the base NeutronException. Conflict should give the appropriate status code.