[
https://issues.apache.org/jira/browse/CLOUDSTACK-6884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045671#comment-14045671
]
ASF subversion and git services commented on CLOUDSTACK-6884:
-------------------------------------------------------------
Commit 8f9458e517fe6c5f3877cbe9a0dd6ec56f4c3adb in cloudstack's branch
refs/heads/4.4 from [~sanjay.tripathi]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8f9458e ]
CLOUDSTACK-6884: List Capacity API always returns GPU capacity also even if
type is different.
(cherry picked from commit 48646ae186eb75052da3da385404a823bd785444)
> List Capacity API always returns GPU capacity also even if type is different
> ----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6884
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6884
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.4.0
> Reporter: Saksham Srivastava
> Assignee: Sanjay Tripathi
>
> Using cloudmonkey to test the API response:
> monkey# list capacity type=2
> count = 2
> capacity:
> capacitytotal = 5948946644992
> capacityused = 1154143485952
> percentused = 19.4
> type = 2
> zoneid = 7ea9a47c-7f39-4334-82e5-896a5d02aeb2
> zonename = z1
> ================================================================================
> capacitytotal = 0
> capacityused = 0
> percentused = 0
> type = 19
> zoneid = 7ea9a47c-7f39-4334-82e5-896a5d02aeb2
> zonename = z1
> List capacity should not return GPU capacity if type other than 19 is passed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)