← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496539] Re: Ceilometer dashboard send requests with redundant timestamp queries

 

Seems to have been addressed by https://review.openstack.org/#/c/225613/

** Changed in: horizon
       Status: In Progress => Invalid

** Changed in: horizon
     Assignee: Ilya Tyaptin (ityaptin) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1496539

Title:
  Ceilometer dashboard send requests with redundant timestamp queries

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  For requests with many resources horizon sends too many timestamp query for statistics request. It caused by incorrect using of mutable variable in next lines:
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/utils/metering.py#L178

  In this code we append data for existing query list, what causes
  invalid requests.

  Example:
  /v2/meters/network.outgoing.packets.rate/statistics?q.field=project_id&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.field=timestamp&q.op=eq&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.op=ge&q.op=le&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.type=&q.value=bdc3e00de2ea4503bae975b7fc950c8b&q.value=2015-09-15+13:16:22.010352+00:00&q.value=2015-09-16+13:16:22.010352+00:00&q.value=2015-09-15+13:16:25.877340+00:00&q.value=2015-09-16+13:16:25.877340+00:00&q.value=2015-09-16+12:24:49.708256+00:00&q.value=2015-09-16+13:24:49.708256+00:00&q.value=2015-08-31+13:24:52.704234+00:00&q.value=2015-09-16+13:24:52.704234+00:00&q.value=2015-08-31+13:24:59.378379+00:00&q.value=2015-09-16+13:24:59.378379+00:00&q.value=2015-08-31+13:25:06.624019+00:00&q.value=2015-09-16+13:25:06.624019+00:00&q.value=2015-09-15+13:25:08.039085+00:00&q.value=2015-09-16+13:25:08.039085+00:00&q.value=2015-09-16+13:26:05.604847+00:00&q.value=2015-09-16+14:26:05.604847+00:00&q.value=2015-09-16+13:26:08.275199+00:00&q.value=2015-09-16+14:26:08.275199+00:00&q.value=2015-09-09+14:31:20.469065+00:00&q.value=2015-09-16+14:31:20.469065+00:00&q.value=2015-09-09+14:31:36.214890+00:00&q.value=2015-09-16+14:31:36.214890+00:00&q.value=2015-09-09+14:32:37.745697+00:00&q.value=2015-09-16+14:32:37.745697+00:00&period=86400

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1496539/+subscriptions


References