Public bug reported: Description ============
Concurrent calls to DELETE os-floating-ips/floating-ip-id can cause neutronclient to raise a neutronclient.common.exceptions.NotFound exception uncaught by Nova which in turn returns a 500 Error. Steps to reproduce =================== Tested on a mitaka devstack : - source openrc - run this humble script : FIP_ID=`nova floating-ip-create | grep public | awk '{print($2)}'` TENANT_ID=`keystone token-get | grep " tenant_id " | awk '{print($4)}'` TOKEN_ID=`keystone token-get | grep " id " | awk '{print($4)}'` curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID"& curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID"& curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID"& curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID" Expected result ================ First call to go trough should return a 202, and all other calls should probably return 404 or 409 if deletion is in progress but not 500. Actual result ============== Some calls to DELETE get a 500 Error response. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1649852 Title: Concurrent calls to DELETE os-floating-ips can raise uncaught neutronclient.common.exceptions.NotFound Status in OpenStack Compute (nova): New Bug description: Description ============ Concurrent calls to DELETE os-floating-ips/floating-ip-id can cause neutronclient to raise a neutronclient.common.exceptions.NotFound exception uncaught by Nova which in turn returns a 500 Error. Steps to reproduce =================== Tested on a mitaka devstack : - source openrc - run this humble script : FIP_ID=`nova floating-ip-create | grep public | awk '{print($2)}'` TENANT_ID=`keystone token-get | grep " tenant_id " | awk '{print($4)}'` TOKEN_ID=`keystone token-get | grep " id " | awk '{print($4)}'` curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID"& curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID"& curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID"& curl -g -i -X DELETE http://127.0.0.1:8774/v2.1/$TENANT_ID/os-floating-ips/$FIP_ID -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN_ID" Expected result ================ First call to go trough should return a 202, and all other calls should probably return 404 or 409 if deletion is in progress but not 500. Actual result ============== Some calls to DELETE get a 500 Error response. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1649852/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp