Bug 1300918 - /dashboard/admin/metering page in horizon doesn't work
Summary: /dashboard/admin/metering page in horizon doesn't work
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 7.0 (Kilo)
Assignee: Matthias Runge
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-22 04:55 UTC by Graeme Gillies
Modified: 2016-02-18 14:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-18 14:31:51 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1444456 0 None None None 2016-01-22 08:10:10 UTC

Description Graeme Gillies 2016-01-22 04:55:43 UTC
When using horizon on a moderately loaded RHOS 7.0.3 installation, if you browse to the url

http://openstack.example.com/dashboard/admin/metering/

the page sits there taking forever to load, eventually timing out with a 504 error.

This 504 error is coming from haproxy which has a hard limit set to time out pages that take longer than 1 minute to load.

The underlying issue looks like this page and the way it interacts with ceilometer is simply sub par.

Comment 2 Matthias Runge 2016-01-22 07:40:40 UTC
Unfortunately, this is a well known issue; see https://julien.danjou.info/blog/2014/openstack-ceilometer-the-gnocchi-experiment

The only recommendation I can currently give is to disable the metering panel:

[root@euler enabled(keystone_admin)]# pwd
/usr/share/openstack-dashboard/openstack_dashboard/local/enabled

[root@euler enabled(keystone_admin)]# cat _99_disable_metering_panel.py
# The slug of the panel to be added to HORIZON_CONFIG. Required.
PANEL = 'metering'
# The slug of the dashboard the PANEL associated with. Required.
PANEL_DASHBOARD = 'admin'
# The slug of the panel group the PANEL is associated with.
PANEL_GROUP = 'admin'

REMOVE_PANEL = True


That's not a real fix; on the long term, horizon should stop using ceilometer and should switch to gnocchi.

Comment 4 Matthias Runge 2016-02-18 14:31:51 UTC
Unfortunately, there not really anything we can do to fix this. Ceilometer is the wrong tool for this kind of task. Upstream will remove metering via ceilometer in horizon.


Note You need to log in before you can comment on or make changes to this bug.