Horizon Ceilometer hard-coded availability zone

Bug #1278796 reported by David Taylor
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Expired
Undecided
Unassigned

Bug Description

I spent the last couple of hours trying to figure out why nothing was showing up under the 'Compute' menu in the 'Resource Usage' panel in Horizon. I am using a custom availability zone name for my Nova compute nodes. I am using 'openstack-dashboard' version 2013.2.1-1 on a CentOS 6.5 server. If you look in:

/usr/share/openstack-dashboard/openstack_dashboard/dashboards/admin/metering/tabs.py

at around line 40, you will see a 'query' object that looks for instances by availability zone:

query = [{"field": "metadata.OS-EXT-AZ:availability_zone",
                  "op": "eq",
                  "value": "nova"}]

The ceilometer panel in Horizon should account for the fact that users may have custom (and possibly multiple) availability zones. You could add an additional drop down menu in the panel to select from a list of the current availability zones in the database. Replace the hard-coded value of 'nova' with a variable that is populated from a drop down menu in Horizon.

Revision history for this message
Ala Rezmerita (arezmerita) wrote :

This is solved for icehouse by https://review.openstack.org/#/c/47579/

Revision history for this message
Ahmad Faizal (ahmadfaizall) wrote :

i believe this is also happened to me.

Revision history for this message
Julie Pichon (jpichon) wrote :

Could you confirm that this is fixed in Icehouse as suggested in the comments? Unfortunately the linked patch may be a bit too involved to be safely backported to Havana.

Changed in horizon:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.