← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1818345] [NEW] api-ref: list/show volume attachment response parameter "device" should be marked optional

 

Public bug reported:

The "device" parameter for the following API responses is not marked
optional in the API reference but should be due to this conditional:

https://github.com/openstack/nova/blob/ffd73deffbc54222b04aa4c80ad236c01bdd716d/nova/api/openstack/compute/volumes.py#L239

- GET /servers/{server_id}/os-volume_attachments (list)
- GET /servers/{server_id}/os-volume_attachments/{volume_id} (show)

** Affects: nova
     Importance: Medium
         Status: Triaged


** Tags: api-ref low-hanging-fruit

-- 
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/1818345

Title:
  api-ref: list/show volume attachment response parameter "device"
  should be marked optional

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  The "device" parameter for the following API responses is not marked
  optional in the API reference but should be due to this conditional:

  https://github.com/openstack/nova/blob/ffd73deffbc54222b04aa4c80ad236c01bdd716d/nova/api/openstack/compute/volumes.py#L239

  - GET /servers/{server_id}/os-volume_attachments (list)
  - GET /servers/{server_id}/os-volume_attachments/{volume_id} (show)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1818345/+subscriptions


Follow ups