ceilometer dashboard Stats page error

Bug #1654963 reported by huangjianbo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Won't Fix
Low
Unassigned

Bug Description

When I try to open the "stats" page of dashboard, I get the dialog of "An error occurred. Please try again later." and "No data available." is showed. At last, I find there is a mistake in /usr/share/openstack-dashboard/openstack_dashboard/dashboards/admin/metering/templates/metering/stats.html :

<div class="chart"
    data-chart-type="line_chart"
    data-url="{% url 'horizon:admin:metering:samples'%}"
    data-form-selector='#linechart_general_form'
    data-legend-selector="#legend"
    data-smoother-selector="#smoother"
    data-slider-selector="#slider">
</div>

The "data-url" should be "data-data", otherwise the d3linechart will get null value and report error.
My problem was solved by correcting it.

Julien Danjou (jdanjou)
affects: ceilometer → horizon
Revision history for this message
Thomas Bechtold (toabctl) wrote :

For master this is no longer valid because the code for metering was removed from horizon. See https://review.openstack.org/#/c/399298/

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

The metering panel was removed from Horizon, and was deprecated for several cycles before that.

Changed in horizon:
status: New → Won't Fix
importance: Undecided → Low
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.