Hi, Nova provides following REST API to get the details of instances provisioned in the given hypervisor. REST API: /v2/{tenant_id}/os-hypervisors/{hypervisor_hostname}/servers Ref: http://developer.openstack.org/api-ref-compute-v2-ext.html
This API is consumed in horizon to report hypervisor’s instances details under Admin->Hypervisors panel. According to the above API, nova never should allow same ‘hypervisor_hostname’ for more than one hypervisors, as ‘hypervisor_hostname’ used as identifier, but it allows. Due to this reason, horizon reports invalid data. So, this should be fixed on horizon, with the intention that, horizon should consume the API provided by nova as it’s and reports correct information. To address it, bug has been filed in horizon at https://bugs.launchpad.net/horizon/+bug/1402572 (using work-around, it’s being fixed) This could be fixed at the nova side as well by using ‘hypervisor.id’ as identifier instead of ‘hypervisor_hostname’ and use it in horizon and python-novaclient as well. Now this issue becomes inter-project related. And I’m looking for help to take it forward to get fixed in kilo release. Could someone please help here? Thanks Kanagaraj M
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev