ceilometer dashboard Stats page error

Bug #1654963 reported by huangjianbo on 2017-01-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
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) on 2017-01-09
affects: ceilometer → horizon
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/

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  Edit
Everyone can see this information.

Other bug subscribers