cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8857) 'listProjects' doesn't return tags 'vmstopped' or 'vmrunning' when their value is zero
Date Fri, 03 Jun 2016 11:48:59 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-8857:
--------------------------------------------

Github user bvbharatk commented on the issue:

    https://github.com/apache/cloudstack/pull/838
  
    ### ACS CI BVT Run
     **Sumarry:**
     Build Number 120
     Hypervisor xenserver
     NetworkType Advanced
     Passed=73
     Failed=0
     Skipped=3
    
    _Link to logs Folder (search by build_no):_ https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
    
    
    **Failed tests:**
    
    **Skipped tests:**
    test_vm_nic_adapter_vmxnet3
    test_static_role_account_acls
    test_deploy_vgpu_enabled_vm
    
    **Passed test suits:**
    test_deploy_vm_with_userdata.py
    test_affinity_groups_projects.py
    test_portable_publicip.py
    test_vpc_vpn.py
    test_over_provisioning.py
    test_global_settings.py
    test_scale_vm.py
    test_service_offerings.py
    test_routers_iptables_default_policy.py
    test_routers.py
    test_reset_vm_on_reboot.py
    test_snapshots.py
    test_deploy_vms_with_varied_deploymentplanners.py
    test_login.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_disk_offerings.py


>  'listProjects' doesn't return tags 'vmstopped' or 'vmrunning' when their value is zero
> ---------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8857
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8857
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Bharat Kumar
>            Assignee: Bharat Kumar
>
>  'listProjects' doesn't return tags 'vmstopped' or 'vmrunning' when their value is zero.
> Eg:
> API result when 1 vm is stopped and 0 vms are running:
> curl -s 'http://127.0.0.1:8096/api?command=listProjects&account=admin&domainid=10513804-76ec-11e4-924f-065db2000097'
2>/dev/null | xmllint --format - -o 
> <?xml version="1.0" encoding="UTF-8"?> 
> <listprojectsresponse cloud-stack-version="4.3.0.1"> 
> <count>1</count> 
> <project> 
> <id>a811d7e1-3ec7-4dda-92c4-4792200f38cf</id> 
> <name>abc</name> 
> <displaytext>abc</displaytext> 
> <domainid>10513804-76ec-11e4-924f-065db2000097</domainid> 
> <domain>ROOT</domain> 
> <account>admin</account> 
> <state>Active</state> 
> <networklimit>20</networklimit> 
> <networktotal>1</networktotal> 
> <networkavailable>19</networkavailable> 
> <vpclimit>20</vpclimit> 
> <vpctotal>0</vpctotal> 
> <vpcavailable>20</vpcavailable> 
> <cpulimit>40</cpulimit> 
> <cputotal>1</cputotal> 
> <cpuavailable>39</cpuavailable> 
> <memorylimit>40960</memorylimit> 
> <memorytotal>512</memorytotal> 
> <memoryavailable>40448</memoryavailable> 
> <primarystoragelimit>200</primarystoragelimit> 
> <primarystoragetotal>2</primarystoragetotal> 
> <primarystorageavailable>198</primarystorageavailable> 
> <secondarystoragelimit>400</secondarystoragelimit> 
> <secondarystoragetotal>0</secondarystoragetotal> 
> <secondarystorageavailable>400</secondarystorageavailable> 
> <vmlimit>20</vmlimit> 
> <vmtotal>1</vmtotal> 
> <vmavailable>19</vmavailable> 
> <iplimit>20</iplimit> 
> <iptotal>1</iptotal> 
> <ipavailable>4</ipavailable> 
> <volumelimit>20</volumelimit> 
> <volumetotal>1</volumetotal> 
> <volumeavailable>19</volumeavailable> 
> <snapshotlimit>20</snapshotlimit> 
> <snapshottotal>0</snapshottotal> 
> <snapshotavailable>20</snapshotavailable> 
> <templatelimit>20</templatelimit> 
> <templatetotal>1</templatetotal> 
> <templateavailable>19</templateavailable> 
> <vmstopped>1</vmstopped> 
> </project> 
> </listprojectsresponse>
> The above response should have a tag <vmrunning>0</vmrunning>, which is missing,
similar when the zero vms are stopped, vmstopped would be missing. When there are no VMs in
the project neither of these tags are in the response.



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

Mime
View raw message