[
https://issues.apache.org/jira/browse/CLOUDSTACK-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596356#comment-13596356
]
Brian Federle commented on CLOUDSTACK-1433:
-------------------------------------------
It looks like that API call is only returning system VMs, not hypervisor hosts
('type=routing'). Can you double check that you have hosts installed on the
system, and then look for the correct API call on the dashboard? You want the
one with '&type=routing' parameter included in the request. There are a total
of 3 listHosts API calls on the dashboard.
Mine looks like:
http://localhost:8080/client/api?command=listHosts&response=json&sessionkey=jx1vH8ZUeyqdT2LOi7xpnnYBJL4%3D&type=routing&page=1&pagesize=1&_=1362689289964
{ "listhostsresponse" : { "count":1 ,"host" : [
{"id":"d8e745e8-1285-4555-9c02-f33d5794e989","name":"brian-xen","state":"Up",
... ] } }
> Count of Hosts on Infrastructure tab is incorrect
> -------------------------------------------------
>
> Key: CLOUDSTACK-1433
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1433
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: UI
> Affects Versions: 4.2.0
> Environment: Chrome on Mac OS X 10.8.2
> Reporter: Mike Tutkowski
> Assignee: Pranav Saxena
> Fix For: 4.2.0
>
> Attachments: Infrastructure.png
>
>
> I had one Host and on the Infrastructure tab it was reported correctly as 1.
> I added a Host.
> The Infrastructure tab still reported 1 Host (even after I logged out and
> logged back in again).
--
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