cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiping Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8173) listCapacity api call returns less response tags than expected
Date Fri, 17 Apr 2015 19:31:59 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500500#comment-14500500
] 

Yiping Zhang commented on CLOUDSTACK-8173:
------------------------------------------

There are more problems with this api !

I am using 4.3.2.  When calling listCapacity API without any arguments,  returned records
only have following fields:

type
zoneid
zonename
capacityused
capacitytotal
percentused

Does this imply capacity for multiple pod/clusters in the same zone are lumped together? 
 If so, the documents should state so clearly.

However, the real problem in this case is that for some type of resources, values for multiple
"zones" are lumped together and assigned to the first zone , that's clearly wrong ! These
types are:

Memory
CPU
Storage_Allocated

Personally,  I would like listCapacity API to also take zoneid as an argument and return capacities
just for that zone.

> listCapacity api call returns less response tags than expected
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8173
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8173
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.4.2
>            Reporter: Anton Opgenoort
>
> listCapacity api call returns less response tags than expected on new capacity types
introduced since ACS 4.4.2 i.e. type 19(GPU) and type 3(storage allocated)
> in 4.4.2: listCapacity clusterid=<uuid> only returns the following fields:
> capacitytotal 
> capacityused 
> percentused 
> type 
> zoneid 
> zonename 
> clustername 
> clusterid
> in 4.3: we had additional fields returned:
> podid 
> podname 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message