[ https://issues.apache.org/jira/browse/CLOUDSTACK-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15867284#comment-15867284 ]
ASF GitHub Bot commented on CLOUDSTACK-8856: -------------------------------------------- Github user cloudmonger commented on the issue: https://github.com/apache/cloudstack/pull/865 ### ACS CI BVT Run **Sumarry:** Build Number 340 Hypervisor xenserver NetworkType Advanced Passed=103 Failed=1 Skipped=7 _Link to logs Folder (search by build_no):_ https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0 **Failed tests:** * test_non_contigiousvlan.py * test_extendPhysicalNetworkVlan Failed **Skipped tests:** test_01_test_vm_volume_snapshot test_vm_nic_adapter_vmxnet3 test_static_role_account_acls test_11_ss_nfs_version_on_ssvm test_nested_virtualization_vmware test_3d_gpu_support test_deploy_vgpu_enabled_vm **Passed test suits:** test_deploy_vm_with_userdata.py test_affinity_groups_projects.py test_portable_publicip.py test_over_provisioning.py test_global_settings.py test_scale_vm.py test_service_offerings.py test_routers_iptables_default_policy.py test_loadbalance.py test_routers.py test_reset_vm_on_reboot.py test_deploy_vms_with_varied_deploymentplanners.py test_network.py test_router_dns.py test_login.py test_deploy_vm_iso.py test_list_ids_parameter.py test_public_ip_range.py test_multipleips_per_nic.py test_regions.py test_affinity_groups.py test_network_acl.py test_pvlan.py test_volumes.py test_nic.py test_deploy_vm_root_resize.py test_resource_detail.py test_secondary_storage.py test_vm_life_cycle.py test_routers_network_ops.py test_disk_offerings.py > Primary Storage Used(type tag with value 2) related tag is not showing in > listCapacity api response > --------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8856 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8856 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Bharat Kumar > Assignee: Bharat Kumar > > Actual behavior: > Primary Storage Used(type tag with value 2) related tag is showing in > listCapacity api response when 'sortby=Usage' parameter is removed in > listCapacity api. > Expected behavior: > Primary Storage Used(type tag with value 2) related tag should be shown in > listCapacity api response when 'sortby=Usage' parameter is included in > listCapacity api. > Steps to reproduce: > 1.Login cloudstack as admin and launch one vm successfully. > 2.Make sure that firebug tool is enable and navigate to Dashboard. > 3.Right click on 'listCapacity' api and select 'Copy Location'. > 4.Remove 'response=json' parameter from above copied url and paste the > modified url in new tab. > 5.Check for 'type tag with value 2' in 'listCapcity' api xml response. > listCapacity API Command: > http://10.81.29.87/client/api?command=listCapacity&sessionkey=Qp0XOEUVLrZHBZrQp7ame96IzXE%3D&fetchLatest=true&sortBy=usage&_=1417697306264 > Response: > <?xml version="1.0" encoding="UTF-8"?> > -<listcapacityresponse cloud-stack-version="4.5.0-SNAPSHOT"> > <count>9</count> > -<capacity> > <type>5</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>3</capacityused> > <capacitytotal>5</capacitytotal> > <percentused>60</percentused> > </capacity> > -<capacity> > <type>4</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>3</capacityused> > <capacitytotal>15</capacitytotal> > <percentused>20</percentused> > </capacity> > -<capacity> > <type>7</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>1</capacityused> > <capacitytotal>5</capacitytotal> > <percentused>20</percentused> > </capacity> > -<capacity> > <type>6</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>227751755776</capacityused> > <capacitytotal>4395909513216</capacitytotal> > <percentused>5.18</percentused> > </capacity> > -<capacity> > <type>0</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>2952790016</capacityused> > <capacitytotal>124470096896</capacitytotal> > <percentused>2.37</percentused> > </capacity> > -<capacity> > <type>1</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>2000</capacityused> > <capacitytotal>100800</capacitytotal> > <percentused>1.98</percentused> > </capacity> > -<capacity> > <type>3</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>29339156480</capacityused> > <capacitytotal>8791819026432</capacitytotal> > <percentused>0.33</percentused> > </capacity> > -<capacity> > <type>9</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>8388608</capacityused> > <capacitytotal>981911732224</capacitytotal> > <percentused>0</percentused> > </capacity> > -<capacity> > <type>19</type> > <zoneid>25cb4986-c286-4937-a0ec-b290307eaa4f</zoneid> > <zonename>XenRT-Zone-0</zonename> > <capacityused>0</capacityused> > <capacitytotal>0</capacitytotal> > <percentused>0</percentused> > </capacity> > </listcapacityresponse> -- This message was sent by Atlassian JIRA (v6.3.15#6346)