Horizon Ceilometer hard-coded availability zone
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-
/usr/share/
at around line 40, you will see a 'query' object that looks for instances by availability zone:
query = [{"field": "metadata.
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.
This is solved for icehouse by https:/ /review. openstack. org/#/c/ 47579/