Ceilometer (Resource Usage) tab is not activated in Horizon

Bug #1284578 reported by Mike Scherbakov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sergey Otpuschennikov

Bug Description

ISO #198, there is no resource usage tab in Horizon. It was disabled in 4.0 due to bug, but it must be enabled in 4.1 as bug was fixed in upstream.

Revision history for this message
Mike Scherbakov (mihgen) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

It was disabled by this patch:

diff --git a/openstack_dashboard/dashboards/admin/dashboard.py b/openstack_dashboard/dashboards/admin/dashboard.py
index bdfc6ef..cf01ca1 100644
--- a/openstack_dashboard/dashboards/admin/dashboard.py
+++ b/openstack_dashboard/dashboards/admin/dashboard.py
@@ -22,7 +22,7 @@ import horizon
 class SystemPanels(horizon.PanelGroup):
     slug = "admin"
     name = _("System Panel")
- panels = ('overview', 'metering', 'hypervisors', 'instances', 'volumes',
+ panels = ('overview', 'hypervisors', 'instances', 'volumes',
               'flavors', 'images', 'networks', 'routers', 'defaults', 'info')

Revision history for this message
Mike Scherbakov (mihgen) wrote :

httpd log says that there was an issue while trying to get metering info from Nova.
ceilometer log says:
<43>Feb 25 10:57:18 node-1 ceilometer-wsme.api ERROR: Server-side error: "metaquery not implemented". Detail:
Traceback (most recent call last):

  File "/usr/lib/python2.6/site-packages/wsmeext/pecan.py", line 72, in callfunction
    result = f(self, *args, **kwargs)

  File "/usr/lib/python2.6/site-packages/ceilometer/api/controllers/v2.py", line 968, in get_all
    for r in pecan.request.storage_conn.get_resources(**kwargs)]

  File "/usr/lib/python2.6/site-packages/ceilometer/storage/impl_sqlalchemy.py", line 310, in get_resources
    raise NotImplementedError(_('metaquery not implemented'))

NotImplementedError: metaquery not implemented

This is due to the fact that we still use MySQL as backend for Ceilometer. https://bugs.launchpad.net/ceilometer/+bug/1093625 was resolved, and in icehouse-1 this issue is solved for MySQL backends. As we are still on havana, let's postpone this to 5.0.

Changed in fuel:
milestone: 4.1 → 5.0
Evgeniy L (rustyrobot)
Changed in fuel:
status: New → Confirmed
Mike Scherbakov (mihgen)
Changed in fuel:
assignee: nobody → Fuel OSCI Team (fuel-osci)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Sergey Otpuschennikov (sotpuschennikov)
Changed in fuel:
status: Confirmed → In Progress
Roman Vyalov (r0mikiam)
Changed in fuel:
status: In Progress → Fix Released
Mike Scherbakov (mihgen)
tags: added: release-notes
Revision history for this message
Meg McRoberts (dreidellhasa) wrote :

Added to Resolved Issues list in 5.0 Release Notes

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.