Nova os-volume-types endpoint doesn't exist

Bug #1543169 reported by Carolyn Van Slyck
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
openstack-api-site
Invalid
Medium
Unassigned

Bug Description

The Nova v2.1 documentation shows an endpoint "os-volume-types" which lists the available volume types. http://developer.openstack.org/api-ref-compute-v2.1.html#listVolumeTypes

I am using OpenStack Liberty and that endpoint doesn't appear to exist anymore. GET requests sent to /v2.1/​{tenant_id}​/os-volume-types return 404 not found. When I searched the Nova codebase on GitHub, I could only find a reference to volume types in the policy.json but not implemented anywhere.

Does this endpoint still exist, and if so what is the appropriate documentation?

Tags: nova
Atsushi SAKAI (sakaia)
tags: added: nova
Revision history for this message
Anne Gentle (annegentle) wrote :

Good catch, this resource/extension definitely no longer exists. You can use the Block Storage API and endpoint to list volume types, see http://developer.openstack.org/api-ref-blockstorage-v2.html#volumes-v2-types.

Changed in openstack-api-site:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Anne Gentle (annegentle)
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/278047

Changed in openstack-api-site:
status: Triaged → In Progress
Revision history for this message
Anne Gentle (annegentle) wrote :

As it turns out, no calls should be removed.

Revision history for this message
Anne Gentle (annegentle) wrote :

Carolyn, do you have a list of operations that have been removed from v2 to v2.1?

Revision history for this message
Carolyn Van Slyck (carolynvs) wrote :

Not really. I've covered about 95% of the (non-operator) endpoints at this point and this is the only one that just plain wasn't there anymore. If I run into any more, I'll let y'all know. :-)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on api-site (master)

Change abandoned by Anne Gentle (<email address hidden>) on branch: master
Review: https://review.openstack.org/278047
Reason: This operation should be added back to the nova code base. Moving bug from openstack-api-site to nova.

Anne Gentle (annegentle)
Changed in openstack-api-site:
status: In Progress → Confirmed
assignee: Anne Gentle (annegentle) → nobody
Revision history for this message
Sean Dague (sdague) wrote :

It's not there in 2.0 either. The help text is super out of whack saying that volumes have 'gpu' associated with them.

I just don't think this ever existed.

Changed in nova:
status: New → Invalid
Revision history for this message
Sean Dague (sdague) wrote :

I went back to juno code, couldn't find any reference to any of this. I think we just delete it from docs. It's not a thing.

Revision history for this message
Anne Gentle (annegentle) wrote :

Sean, this extension has been documented for a long time and in 2012 it was an alias returned when listing /extensions:

https://answers.launchpad.net/nova/+question/213261

How would you like to handle this? It was definitely removed from the nova codebase. Sure, it was an alias, but if SDK authors are finding this we need to handle. Ideas?

$ git log | grep -C 5 "os-volume-types"

    * SecurityGroups (security_groups)
    * SimpleTenantUsage (os-simple-tenant-usage)
    * VirtualInterfaces (virtual_interfaces)
    * Volumes (os-volumes)
    * VolumeTypes (os-volume-types)

    Change-Id: Ia3aef79c1912d3df14ab72bbdda3768ae131a19e

commit 8920181a0d8cfb4f78af0fa0b868e864d8971744
Author: Brian Waldon <email address hidden>

Revision history for this message
Carolyn Van Slyck (carolynvs) wrote :

In principle, I lean towards not adding back this alias. It's confusing to have block storage functionality aliased and slightly different in the compute service. To me, it is more straightforward to not uses aliases like this, and as a SDK writer, I avoid them. When I can, I use the original service directly instead of the alias.

I am guessing the only reason the alias existed in the first place was nova was a dumping ground for a while until the other solutions and API strategy matured?

Revision history for this message
Sharat Sharma (sharat-sharma) wrote :

Nova api has moved to nova code base.

Changed in nova:
status: Invalid → Confirmed
Changed in openstack-api-site:
status: Confirmed → Invalid
Changed in nova:
assignee: nobody → Sharat Sharma (sharat-sharma)
Changed in nova:
status: Confirmed → In Progress
Changed in nova:
status: In Progress → New
assignee: Sharat Sharma (sharat-sharma) → nobody
Revision history for this message
Anusha Unnam (anusha-unnam) wrote :

Changing the status from new to Invalid, as this bug is marked as invalid by sean dague before it was changed to confirmed by sharat sharma.
Carolyn, Please feel free to mark it as new if you still feel this bug is valid.

Changed in nova:
status: New → Invalid
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.