[openstack-dev] [nova][horizon] Inter-project issue : redundant hyperviosr_hostname
Manickam, Kanagaraj
kanagaraj.manickam at hp.com
Wed Feb 11 17:58:38 UTC 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150211/d820c9c4/attachment.html>
More information about the OpenStack-dev
mailing list