Request is wrong for compute v2.1 os-flavor-access list

Bug #1569555 reported by Matt Riedemann on 2016-04-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Sharat Sharma

Bug Description

The docs say that it takes a tenant_id parameter for listing flavor-access:

http://developer.openstack.org/api-ref-compute-v2.1.html#listFlavorAccess

But the code doesn't take a tenant_id, only a flavor_id:

https://github.com/openstack/nova/blob/2002120c459561d995eac4273befb42b3809d5bb/nova/api/openstack/compute/flavor_access.py#L51

The response in the docs is correct, only the request is wrong.

Atsushi SAKAI (sakaia) on 2016-04-12
tags: added: nova
Atsushi SAKAI (sakaia) wrote :
Changed in openstack-api-site:
status: New → Confirmed
Changed in openstack-api-site:
assignee: nobody → Sharat Sharma (sharat-sharma)

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

Changed in openstack-api-site:
status: Confirmed → In Progress

Change abandoned by Sharat Sharma (<email address hidden>) on branch: master
Review: https://review.openstack.org/305778

Sharat Sharma (sharat-sharma) wrote :

Fix proposed in nova: master
Review: https://review.openstack.org/307151/

affects: openstack-api-site → nova
Matt Riedemann (mriedem) on 2016-04-28
tags: added: api-ref
Changed in nova:
importance: Undecided → Medium
Sarafraj Singh (sarafraj-singh) wrote :
Changed in nova:
status: In Progress → Fix Committed
John Garbutt (johngarbutt) wrote :

We should say Fix Released for this.

Changed in nova:
status: Fix Committed → Fix Released

Change abandoned by Sharat Sharma (<email address hidden>) on branch: master
Review: https://review.openstack.org/307151

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers