Incorrect URL and normal response codes in Manage Services section of Compute API v2 extensions (SUPPORTED)

Bug #1478429 reported by Lujin Luo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Lujin Luo

Bug Description

In the Manage Services (os-services) section of [1], the URL and Normal response codes of Delete service are incorrect.

The correct URL and Normal response codes should be:

URL: /v2/{tenant_id}/os-services/{service_id}
Normal response codes: 204

According to the following log:

 --------------------------------------------------------------------------------------------------------------------------------------
  INFO nova.osapi_compute.wsgi.server [req-80f8d0b5-8cfd-4066-bde6-eb795e66d513 admin admin] 192.168.122.219 "DELETE /v2/80668c3f45b74413a6ea173a2a41e858/os-services/5 HTTP/1.1" status: 204 len: 274 time: 0.1142001
  ------------------------------------------------------------------------------------------------------------------------------------

The URL is: /v2/80668c3f45b74413a6ea173a2a41e858/os-services/5, where 5 is service id
Normal response codes: 204

[1]. http://developer.openstack.org/api-ref-compute-v2-ext.html

Lujin Luo (luo-lujin)
Changed in openstack-api-site:
assignee: nobody → Lujin Luo (luo-lujin)
Revision history for this message
Anne Gentle (annegentle) wrote :

Good catch, thanks for reporting.

summary: - Incorret URL and normal response codes in Manage Services section of
+ Incorrect URL and normal response codes in Manage Services section of
Compute API v2 extensions (SUPPORTED)
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/206300

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/206300
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=1b310b5390e83daf1787918417a40178a1145e82
Submitter: Jenkins
Branch: master

commit 1b310b5390e83daf1787918417a40178a1145e82
Author: Lujin Luo <email address hidden>
Date: Tue Jul 28 13:52:07 2015 +0900

    Updates to delete service method in (os-services) extension

    The correct URI is: /v2/{tenant_id}/os-services/{service_id}
    The correct normal response codes is 204

    Remove tabs as notices by niceness check

    Change-Id: I5d176780b094e36f891b452bd2c0bae2e20a6e97
    Closes-Bug: 1478429

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.