api-ref: wrong parameter description in os-volume-attachments.inc

Bug #1770560 reported by Takashi Natsume
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Takashi Natsume

Bug Description

In the following APIs, the 'volume_id' parameters are not body parameters. They are path parameters.

- GET /servers/{server_id}/os-volume_attachments/{volume_id}
- DELETE /servers/{server_id}/os-volume_attachments/{volume_id}

https://developer.openstack.org/api-ref/compute/#show-a-detail-of-a-volume-attachment
https://developer.openstack.org/api-ref/compute/#detach-a-volume-from-an-instance

Tags: api-ref
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/567744
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a676d2e6b22b307287a6e18046e3384b7539de98
Submitter: Zuul
Branch: master

commit a676d2e6b22b307287a6e18046e3384b7539de98
Author: Takashi NATSUME <email address hidden>
Date: Fri May 11 14:12:56 2018 +0900

    api-ref: Fix parameters for os-volume-attachments.inc

    In the following APIs, the 'volume_id' parameters are
    'path' parameters. So fix them.

    - GET /servers/{server_id}/os-volume_attachments/{volume_id}
    - DELETE /servers/{server_id}/os-volume_attachments/{volume_id}

    In addition, the descriptions of the parameters are amended.

    Change-Id: Iab93acde31639b1471c83b06fb1a77474bb52c48
    Closes-Bug: #1770560

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 18.0.0.0b2

This issue was fixed in the openstack/nova 18.0.0.0b2 development milestone.

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.