compute createVolume has incorrect params

Bug #1474246 reported by Keisuke Se
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Keisuke Se

Bug Description

Compute API v2 extensions , "Create volume" accept following parameters.
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/contrib/volumes.py#L137
- display_name
- display_description
- size
- volume_type
- metadata
- snapshot_id
- availability_zone

But, api-site missing those params in Request params: http://developer.openstack.org/api-ref-compute-v2-ext.html#createVolume

Keisuke Se (se-keisuke)
Changed in openstack-api-site:
assignee: nobody → Keisuke SE (se-keisuke)
Keisuke Se (se-keisuke)
description: updated
Keisuke Se (se-keisuke)
description: updated
Changed in openstack-api-site:
status: New → In Progress
Revision history for this message
Anne Gentle (annegentle) wrote :

Appreciate the bug! I was wondering if it's a duplicate, but did a quick search and I don't think so.

Looks like metadata and snapshot_id are missing. Can you be more specific on which ones are missing when you file the bug? That helps us review, thanks.

Then my next question is, when were those added and why wasn't APIImpact or DocImpact used so a bug could be logged? Just pointing out the process so you can learn. Thanks again!

Changed in openstack-api-site:
importance: Undecided → Medium
Keisuke Se (se-keisuke)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

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

commit aa5454ff61edfde0db533eda9c73d0b145f3e4ed
Author: Keisuke SE <email address hidden>
Date: Tue Jul 21 08:47:24 2015 +0000

    Fix CreateVolume missing the Request parameters

    Compute API v2 extensions, Create Volume
    missing the Request parameters.

    Closes-Bug: #1474246
    Change-Id: Ia0d0a12c621b60720e89662541c6564e41f676be

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.