Image list api is wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
High
|
Raildo Mascena de Sousa Filho |
Bug Description
The Compute API explains that to list images you need to call v2/images but this information is wrong because the right url is v2/{project_
The problem can be found here:
http://
The error is on all the calls for images in the compute api
GET v2/images Lists IDs, names, and links for available images.
GET v2/images/detail Lists all details for available images.
GET v2/images/
DELETE v2/images/
The url should be:
GET v2/{project_
GET v2/{project_
GET v2/{project_
DELETE v2/{project_
Changed in nova: | |
assignee: | nobody → Telles Mota Vidal Nóbrega (tellesmvn) |
Changed in nova: | |
status: | New → Confirmed |
affects: | nova → openstack-api-site |
description: | updated |
description: | updated |
tags: | added: compute-api |
tags: | added: v2 |
Changed in openstack-api-site: | |
assignee: | Telles Mota Vidal Nóbrega (tellesmvn) → Raildo Mascena de Sousa Filho (raildo) |
To fix, update the WADL file in api-site/ api-ref/ src/wadls/ compute- api/src/ v2/wadl/ os-compute- 2-wadl so that both /images and /flavors are wrapped in the {tenant_id} resource.
So line 29 of that wadl has the start point of the <resource id="tenant_id" and line 132 has the </resource> end wrapper, but it seems that should wrap to line 184.
Rebuild with mvn clean generate-sources to see if it does what it should.