Overview usage data not filtered by default dates

Bug #1294668 reported by Thiago Paiva Brito
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Thiago Paiva Brito

Bug Description

When one opens the project overview page, the date selectors are set to the first day of month to the current date.

What should be happening:
Usage data should be filtered by default by those default dates.

What is currently happening:
Usage data shown is only the usage of the current day.

It is important to fix this since this can lead a user to wrong assumptions regarding project usage.

Obs.: This bug can be verified using the a fix that add the default date filters set on the page (screenshot attached): https://review.openstack.org/#/c/79688/

Revision history for this message
Thiago Paiva Brito (outbrito) wrote :
Changed in horizon:
assignee: nobody → Thiago Paiva Brito (thiagop)
Revision history for this message
Doug Fish (drfish) wrote :

Navigate to https://[mysystem]/project/
From 2014-03-01 to 2014-03-20
 Active Instances: 1 Active RAM: 512MB This Period's VCPU-Hours: 20.28 This Period's GB-Hours: 20.28
Don't change the dates, Click Submit
 Active Instances: 1 Active RAM: 512MB This Period's VCPU-Hours: 142.52 This Period's GB-Hours: 142.52
(I notice the URL is now https://[mysystem]/project/?start=2014-03-01&end=2014-03-20)

Changed in horizon:
status: New → Confirmed
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/81913

Changed in horizon:
status: Confirmed → In Progress
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Low
milestone: none → juno-1
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/81913
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=497f69aef374ac46128f34e9fcc16998dd97b66c
Submitter: Jenkins
Branch: master

commit 497f69aef374ac46128f34e9fcc16998dd97b66c
Author: Thiago Paiva Brito <email address hidden>
Date: Wed Mar 19 13:53:56 2014 -0300

    Correct default usage filtering on overview page

    On the overview page, the usage data showed by default was not filtered by
    the dates shown on the date selectors. This can lead the user to wrong
    conclusions about resource usage.

    This patch corrects the default filtering dates to match the dates showed
    by default on overview (first day in the month to current date).

    Change-Id: I37a240d784ca0826821c125f06922d2c1d1e8659
    Closes-Bug: #1294668

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.