Error response code "conflict (409)" should be described for Delete security group

Bug #1477934 reported by Yoshinori Iwamoto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Yoshinori Iwamoto

Bug Description

Networking API v2.0 extensions (CURRENT)
Delete security group
http://developer.openstack.org/api-ref-networking-v2-ext.html#deleteSecGroup

Error response code "conflict (409)" is missing.

Current document:
Error response codesunauthorized (401), itemNotFound (404)

409 error example:
---
$ curl -g -i -X DELETE http://localhost:9696/v2.0/security-groups/28f39681-8cd5-4aef-9560-66562fc7d8b3.json -H "Accept: application/json" -H "X-Auth-Token: xxxxx"
HTTP/1.1 409 Conflict
Content-Type: application/json; charset=UTF-8
Content-Length: 136
X-Openstack-Request-Id: req-3150d78b-1c38-4608-88bf-7576eb4bb0ae
Date: Fri, 24 Jul 2015 10:11:46 GMT

{"NeutronError": {"message": "Security Group 28f39681-8cd5-4aef-9560-66562fc7d8b3 in use.", "type": "SecurityGroupInUse", "detail": ""}}
---

Tags: neutron
Changed in openstack-api-site:
assignee: nobody → Yoshinori Iwamoto (iwamoto-y)
description: updated
Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/206072

Changed in openstack-api-site:
status: Confirmed → In Progress
Changed in openstack-api-site:
milestone: none → liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/206072
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=8c9bca95d8ea9a0a83517a51afba954d2de1c2f1
Submitter: Jenkins
Branch: master

commit 8c9bca95d8ea9a0a83517a51afba954d2de1c2f1
Author: yiwmt <email address hidden>
Date: Mon Jul 27 22:45:53 2015 +0900

    Add conflict(409) error code to Delete security group

    Change-Id: Ie8e016facaf2d039ef3a6863e301ef74f4b2e298
    Closes-bug: #1477934

Changed in openstack-api-site:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.