Project

General

Profile

Actions

Bug #22298

open

GET /api/compute_resources/:id/available_storage_pods/:storage_pod fails

Added by Daniel Lobato Garcia over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The API documentation describes an API call to get details about a storage pod:
GET /api/compute_resources/:id/available_storage_pods/:storage_pod
List attributes for a given storage pod

Steps to Reproduce:
1. Define a VMware compute ressource
2. Query API about storage pod details

curl -k -u admin:password -H "Content-Type: application/json" -d '{"r_page":9999}' -X GET https://satellite.example.com/api/compute_resources/1/available_storage_pods/group-p123 | python -mjson.tool

Actual results:

{
"error": {
"message": "private method `get_storage_pod' called for #<Fog::Compute::Vsphere::Real:0x007f293760d3f0>\nDid you mean? get_raw_storage_pod\n list_storage_pods"
}
}

Expected results:

Storage pod details

Additional info:

No data to display

Actions

Also available in: Atom PDF