cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-3105) UI- "View Hosts" option in Vm detail page lists all the hosts. listHosts call is made with hostid instead of id.
Date Fri, 21 Jun 2013 01:31:21 GMT
Sangeetha Hariharan created CLOUDSTACK-3105:
-----------------------------------------------

             Summary: UI- "View Hosts" option in Vm detail page lists all the hosts. listHosts
call is made with hostid instead of id.
                 Key: CLOUDSTACK-3105
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3105
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
         Environment: Build from master
            Reporter: Sangeetha Hariharan
             Fix For: 4.2.0


UI- "View Hosts" option in Vm detail page lists all the hosts.

Go to Instances list and select ant 1 instance , so that the detail view of the instance is
presented.
Click on "View Hosts" option.

All hosts are listed in this view.

listHosts API call passes Vm's host uuid in hostid parameter instead of id. 

2013-06-20 18:23:10,295 INFO  [cloud.api.ApiServer] (catalina-exec-5:null) (userId=2 accountId=2
sessionId=7D5DEB7A62BBD2DE48298AAC7C351909) 10.252.120.103 -- GET command=listHosts&type=Routing&hostid=7cdff16f-623e-40df-98f5-393d223fec52&page=1&pagesize=20&response=json&sessionkey=feUkuow%2BfRcVloUXlGs37A%2BWNjw%3D&_=1371777803998
200 { "listhostsresponse" : { "count":2 ,"host" : [  {"id":"360a6630-600b-4472-803f-5958c1b71203","name":"Rack3Host20.lab.vmops.com","state":"Up","type":"Routing","ipaddress":"10.223.59.66","zoneid":"c6fe9dd8-6b3f-4f4e-8f5c-1030b93208a6","zonename":"ZONE-NTIER-AGN","zonetype":"Advanced","podid":"7b15cf66-8e01-459f-bd51-1bb382ab5ddb","podname":"POD-1","version":"4.2.0-SNAPSHOT","hypervisor":"XenServer","cpunumber":4,"cpuspeed":2261,"cpuallocated":"0%","cpuused":"0.05%","cpuwithoverprovisioning":"9044.0","networkkbsread":3521,"networkkbswrite":10295,"memorytotal":16190149248,"memoryallocated":1073741824,"memoryused":2168436,"capabilities":"xen-3.0-x86_64
, xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64","lastpinged":"1970-01-16T04:07:03-0800","managementserverid":7471666038533,"clusterid":"18fd96c3-1036-49ac-8291-63081b6cebc3","clustername":"XenCluster1","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2013-06-20T17:34:14-0700","events":"Ping;
Remove; StartAgentRebalance; AgentDisconnected; ManagementServerDown; HostDown; AgentConnected;
ShutdownRequested; PingTimeout","resourcestate":"Enabled","hypervisorversion":"6.1.0","hahost":false},
{"id":"7cdff16f-623e-40df-98f5-393d223fec52","name":"Rack3Host23.lab.vmops.com","state":"Up","type":"Routing","ipaddress":"10.223.59.67","zoneid":"c6fe9dd8-6b3f-4f4e-8f5c-1030b93208a6","zonename":"ZONE-NTIER-AGN","zonetype":"Advanced","podid":"7b15cf66-8e01-459f-bd51-1bb382ab5ddb","podname":"POD-1","version":"4.2.0-SNAPSHOT","hypervisor":"XenServer","cpunumber":4,"cpuspeed":2261,"cpuallocated":"0%","cpuused":"0.1%","cpuwithoverprovisioning":"9044.0","networkkbsread":7193,"networkkbswrite":30348,"memorytotal":16190149248,"memoryallocated":3355443200,"memoryused":4580544,"capabilities":"xen-3.0-x86_64
, xen-3.0-x86_32p","lastpinged":"1970-01-16T04:05:17-0800","managementserverid":7471666038533,"clusterid":"18fd96c3-1036-49ac-8291-63081b6cebc3","clustername":"XenCluster1","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2013-06-19T11:30:41-0700","events":"Ping;
Remove; StartAgentRebalance; AgentDisconnected; ManagementServerDown; HostDown; AgentConnected;
ShutdownRequested; PingTimeout","resourcestate":"Enabled","hypervisorversion":"6.1.0","hahost":false}
] } }


 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message