[ https://issues.apache.org/jira/browse/CLOUDSTACK-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834154#comment-13834154 ]
Jessica Wang edited comment on CLOUDSTACK-1889 at 11/27/13 9:15 PM: -------------------------------------------------------------------- Sailaja, I just checked in an UI change. Now, UI will pop up a dialog box showing updateResourceCount result (as in attachment "when_updateResourceCount_action_finishes". http://10.215.3.26:8080/client/api?command=updateResourceCount&response=json&sessionkey=VfHolPlraMY5cQVbfDhNiVoLQSY%3D&domainid=b95a5b02-e45d-4971-b0d8-d1620f7bf44e&account=aaa_user&_=1385586611476 { "updateresourcecountresponse": { "count": 12, "resourcecount": [ { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "0", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "1", "resourcecount": 1 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "2", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "3", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "4", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "5", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "6", "resourcecount": 1 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "7", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "8", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "9", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "10", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "11", "resourcecount": 0 } ] } } was (Author: jessicawang): I just checked in an UI change. Now, UI will pop up a dialog box showing updateResourceCount result (as in attachment "when_updateResourceCount_action_finishes". http://10.215.3.26:8080/client/api?command=updateResourceCount&response=json&sessionkey=VfHolPlraMY5cQVbfDhNiVoLQSY%3D&domainid=b95a5b02-e45d-4971-b0d8-d1620f7bf44e&account=aaa_user&_=1385586611476 { "updateresourcecountresponse": { "count": 12, "resourcecount": [ { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "0", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "1", "resourcecount": 1 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "2", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "3", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "4", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "5", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "6", "resourcecount": 1 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "7", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "8", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "9", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "10", "resourcecount": 0 }, { "account": "aaa_user", "domainid": "b95a5b02-e45d-4971-b0d8-d1620f7bf44e", "domain": "aaa", "resourcetype": "11", "resourcecount": 0 } ] } } > [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, when_updateResourceCount_action_finishes.jpg > > > 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)