Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45C7910177 for ; Thu, 22 Aug 2013 19:04:59 +0000 (UTC) Received: (qmail 53338 invoked by uid 500); 22 Aug 2013 19:04:55 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 53268 invoked by uid 500); 22 Aug 2013 19:04:54 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 52934 invoked by uid 500); 22 Aug 2013 19:04:54 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 52824 invoked by uid 99); 22 Aug 2013 19:04:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 19:04:53 +0000 Date: Thu, 22 Aug 2013 19:04:53 +0000 (UTC) From: "Brian Federle (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-3105) UI- "View Hosts" option in Vm detail page lists all the hosts. listHosts call is made with hostid instead of id. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3105?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Federle updated CLOUDSTACK-3105: -------------------------------------- Assignee: Brian Federle =20 > 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-310= 5 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: UI > Affects Versions: 4.2.0 > Environment: Build from master > Reporter: Sangeetha Hariharan > Assignee: Brian Federle > 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 i= d.=20 > 2013-06-20 18:23:10,295 INFO [cloud.api.ApiServer] (catalina-exec-5:null= ) (userId=3D2 accountId=3D2 sessionId=3D7D5DEB7A62BBD2DE48298AAC7C351909) 1= 0.252.120.103 -- GET command=3DlistHosts&type=3DRouting&hostid=3D7cdff16f-6= 23e-40df-98f5-393d223fec52&page=3D1&pagesize=3D20&response=3Djson&sessionke= y=3DfeUkuow%2BfRcVloUXlGs37A%2BWNjw%3D&_=3D1371777803998 200 { "listhostsre= sponse" : { "count":2 ,"host" : [ {"id":"360a6630-600b-4472-803f-5958c1b71= 203","name":"Rack3Host20.lab.vmops.com","state":"Up","type":"Routing","ipad= dress":"10.223.59.66","zoneid":"c6fe9dd8-6b3f-4f4e-8f5c-1030b93208a6","zone= name":"ZONE-NTIER-AGN","zonetype":"Advanced","podid":"7b15cf66-8e01-459f-bd= 51-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,"networkkbswr= ite":10295,"memorytotal":16190149248,"memoryallocated":1073741824,"memoryus= ed":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-08= 00","managementserverid":7471666038533,"clusterid":"18fd96c3-1036-49ac-8291= -63081b6cebc3","clustername":"XenCluster1","clustertype":"CloudManaged","is= localstorageactive":false,"created":"2013-06-20T17:34:14-0700","events":"Pi= ng; Remove; StartAgentRebalance; AgentDisconnected; ManagementServerDown; H= ostDown; AgentConnected; ShutdownRequested; PingTimeout","resourcestate":"E= nabled","hypervisorversion":"6.1.0","hahost":false}, {"id":"7cdff16f-623e-4= 0df-98f5-393d223fec52","name":"Rack3Host23.lab.vmops.com","state":"Up","typ= e":"Routing","ipaddress":"10.223.59.67","zoneid":"c6fe9dd8-6b3f-4f4e-8f5c-1= 030b93208a6","zonename":"ZONE-NTIER-AGN","zonetype":"Advanced","podid":"7b1= 5cf66-8e01-459f-bd51-1bb382ab5ddb","podname":"POD-1","version":"4.2.0-SNAPS= HOT","hypervisor":"XenServer","cpunumber":4,"cpuspeed":2261,"cpuallocated":= "0%","cpuused":"0.1%","cpuwithoverprovisioning":"9044.0","networkkbsread":7= 193,"networkkbswrite":30348,"memorytotal":16190149248,"memoryallocated":335= 5443200,"memoryused":4580544,"capabilities":"xen-3.0-x86_64 , xen-3.0-x86_3= 2p","lastpinged":"1970-01-16T04:05:17-0800","managementserverid":7471666038= 533,"clusterid":"18fd96c3-1036-49ac-8291-63081b6cebc3","clustername":"XenCl= uster1","clustertype":"CloudManaged","islocalstorageactive":false,"created"= :"2013-06-19T11:30:41-0700","events":"Ping; Remove; StartAgentRebalance; Ag= entDisconnected; ManagementServerDown; HostDown; AgentConnected; ShutdownRe= quested; PingTimeout","resourcestate":"Enabled","hypervisorversion":"6.1.0"= ,"hahost":false} ] } } > =20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira