Incorrect error message in ceilometer-api

Bug #1201839 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Mehdi Abaakouk
Grizzly
Fix Released
Medium
Eoghan Glynn

Bug Description

Hi,

In this request ceilometer-api complains about timestamp argument or the incorrect one is "AutoScalingGroupName":

2013-07-16 14:36:00.603 27875 WARNING wsme.api [-] Client-side error: Unknown argument: "timestamp": unrecognized query field
master - - [16/Jul/2013 14:36:00] "GET /v2/meters/cpu/statistics?q.op=eq&q.op=le&q.op=ge&q.value=WebServerGroup&q.value=2013-07-16T14%3A36%3A00.596761&q.value=2013-07-16T14%3A34%3A00.596761&q.field=AutoScalingGroupName&q.field=timestamp&q.field=timestamp&period=60 HTTP/1.1" 400 153

Cheers,

Mehdi Abaakouk (sileht)
Changed in ceilometer:
status: New → In Progress
assignee: nobody → Mehdi Abaakouk (sileht)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/37270
Committed: http://github.com/openstack/ceilometer/commit/384617f6ca98723cd9c1ad66d74c4cb827fdf42c
Submitter: Jenkins
Branch: master

commit 384617f6ca98723cd9c1ad66d74c4cb827fdf42c
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Jul 16 17:13:24 2013 +0200

    Fix the argument of UnknownArgument exception

    This change sets the real UnknownArgument instead of the last
    valid one in the exception raised by the API.

    Fixes bug #1201839

    Change-Id: I22e1dadbe9a90e03e8ccfbcc6e0e8dc3f17c5a3e

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → havana-2
status: Fix Committed → Fix Released
Eoghan Glynn (eglynn)
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/39467

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/grizzly)

Reviewed: https://review.openstack.org/39467
Committed: http://github.com/openstack/ceilometer/commit/d09fdef1a935a6386c720482fe201d88d3474c3a
Submitter: Jenkins
Branch: stable/grizzly

commit d09fdef1a935a6386c720482fe201d88d3474c3a
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Jul 16 17:13:24 2013 +0200

    Fix the argument of UnknownArgument exception

    This change sets the real UnknownArgument instead of the last
    valid one in the exception raised by the API.

    Fixes bug #1201839

    Change-Id: I22e1dadbe9a90e03e8ccfbcc6e0e8dc3f17c5a3e
    (cherry picked from commit 384617f6ca98723cd9c1ad66d74c4cb827fdf42c)

tags: added: in-stable-grizzly
Alan Pevec (apevec)
Changed in ceilometer:
importance: Undecided → Medium
tags: removed: grizzly-backport-potential in-stable-grizzly
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-2 → 2013.2
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.