Graph for cpu resource usage going backwards

Bug #1295537 reported by Matthias Runge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Ladislav Smola

Bug Description

Yesterday I could produce the attached image when I requested the resource usage.

In the image you can see the line going left and even a loop.

In my opinion this is a bug. By looking at the data my feeling is that there is an smoothing algorithm working at some point in order (my guess) to look like a continuous measurement and it is overdoing.

Revision history for this message
Matthias Runge (mrunge) wrote :
Revision history for this message
Matthias Runge (mrunge) wrote :

Seems like some polynomial interpolation error. Might be related to the big values it has. So this could be solved by unit conversions and showing of more human readable values.

Akihiro Motoki (amotoki)
tags: added: ceilometer
Matthias Runge (mrunge)
Changed in horizon:
importance: Undecided → Medium
status: New → Confirmed
tags: added: havana-backport-potential
Revision history for this message
Ladislav Smola (lsmola) wrote :

As a quick fix I will switch to linear interpolation.

When we finish the unit conversions, we can try this again.

Changed in horizon:
assignee: nobody → Ladislav Smola (lsmola)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84463

Changed in horizon:
status: Confirmed → In Progress
Julie Pichon (jpichon)
tags: added: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/84463
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8bcc5e9703fa4db5e702685a584d2e91fbea7b4a
Submitter: Jenkins
Branch: master

commit 8bcc5e9703fa4db5e702685a584d2e91fbea7b4a
Author: Ladislav Smola <email address hidden>
Date: Tue Apr 1 16:43:47 2014 +0200

    Cardinal interpolation error

    -Seems like for the big numbers, d3 is interpolating
     data badly and it is creating loops in the chart.
     So quick fix is to switch to linear interpolation
     as default.
    -Other interpolation can be set with settings.

    Change-Id: I82c1514dce6034b3cbc7f95682356a08301482b7
    Fixes-bug: #1295537

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Is it icehouse-rc-potential?

tags: added: icehouse-rc-potential
removed: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/85631

Matthias Runge (mrunge)
Changed in horizon:
milestone: none → icehouse-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (milestone-proposed)

Reviewed: https://review.openstack.org/85631
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=6826c57602a10b8c07de8b45d6940db55bd8cbda
Submitter: Jenkins
Branch: milestone-proposed

commit 6826c57602a10b8c07de8b45d6940db55bd8cbda
Author: Ladislav Smola <email address hidden>
Date: Tue Apr 1 16:43:47 2014 +0200

    Cardinal interpolation error

    -Seems like for the big numbers, d3 is interpolating
     data badly and it is creating loops in the chart.
     So quick fix is to switch to linear interpolation
     as default.
    -Other interpolation can be set with settings.

    Change-Id: I82c1514dce6034b3cbc7f95682356a08301482b7
    Fixes-bug: #1295537
    (cherry picked from commit 8bcc5e9703fa4db5e702685a584d2e91fbea7b4a)

Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-rc2 → 2014.1
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.