[
https://issues.apache.org/jira/browse/CLOUDSTACK-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822223#comment-13822223
]
Saurav Lahiri commented on CLOUDSTACK-1889:
-------------------------------------------
Adding the question which I had raised on the developer list. So not sure if
this is a bug or an enhancement requested.
===================================================================================================
All,
I have a query with respect to this defect. With a build off the master it
looks like the updateResourceCount api is returning the count of resources a
user can use or create and that appears to be the documented behaviour for this
api. Furthermore it appears that the UI is correctly displaying that.
With respect to issue raised in the defect the expected behaviour is that
instead of the count of resources that can be created or used it should display
the actual usage count.
Could someone please clarify whats the correct expected behaviour with respect
to the updateResourceCount api and if this a valid bug?
Thanks
Saurav
================================================================================================
> [UI] Consumed Resource usage details are not available for all the resources
> ----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-1889
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1889
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: UI
> Affects Versions: 4.2.0
> Reporter: Sailaja Mada
> Assignee: Jessica Wang
> Fix For: 4.3.0
>
> Attachments: ConsumedresourcesUSage.png, Page1.jpg, Page2.jpg,
> Page3.jpg, jessica_2013_10_10.PNG, new.rar, resources.png,
> updateResourceCount_out.xml
>
>
> Setup: Advanced Networking zone with Xen 6.1 [4.2]
> Steps:
> 1. Create Child domain (CDC1) under ROOT
> 2. Create Domain account CDC1Admin1 under Child Domain CDC1
> 3. Access Management Server as this domain admin account
> 4. Deploy VM with this account
> 5. Tried to update resource Count
> Observation: Consumed Resource usage details are not available for all the
> resources. It is available only with Total of VM , Total of IP Address ,
> Bytes Received ,Bytes Sent.
> API provides the details.
> http://10.102.192.208:8096/client/api?command=updateResourceCount&domainid=2&resourcetype=9&account=cdc1admin1
> <updateresourcecountresponse
> cloud-stack-version="4.2.0-SNAPSHOT"><count>1</count><resourcecount><account>cdc1admin1</account><domainid>e8377899-c351-47a2-aed5-92c624eebae5</domainid><domain>cdc1</domain><resourcetype>9</resourcetype><resourcecount>512</resourcecount></resourcecount></updateresourcecountresponse>
--
This message was sent by Atlassian JIRA
(v6.1#6144)