Aodh does not support resource query

Bug #1740209 reported by machao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aodh
New
Undecided
machao

Bug Description

It can not query alarm in mysql driver by resource id when we use "get_all" method of AlarmsController
by passing paramter query which includes resource id query.
It will raise error Unknown argument: "resource": unrecognized field in query: [<Query u'resource_id' eq xxxxxxxxxxxxxxxx >].

machao (machao1990)
description: updated
machao (machao1990)
description: updated
Revision history for this message
gordon chung (chungg) wrote :

i'm sorry, what are you trying to achieve here? to get all alarms against a single resource?

Revision history for this message
machao (machao1990) wrote :

Yes, I want to get all alarms which belong to one resource by add resource into the query condition.

Changed in aodh:
assignee: nobody → machao (machao1990)
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.