ZhiQiang Fan e056f6f312 exclude precise metaquery in query field
We use metaquery as a parameter of db func, and valid keys include
db func parameters.

When we parse query filters, the metadata dict is stored as key named
metaquery in kwargs, and we store q.field=foo as key named foo in kwargs.
Then if q.field=metaquery, the kwargs will get the key metaquery but
its type is something, for i.e. string, but not dict. However the db
func expects metaquery to be a dict but gets a string, then 500 is returned

This patch returns a 400 error for such case, and removes 'metaquery'
from valid keys in error message to avoid misleading end user.

Change-Id: I430717e71a6586d63f267baee29bb71ef8c9eac1
Closes-Bug: #1426466
2015-03-19 21:49:12 +08:00
2015-03-17 10:38:44 +01:00
2014-12-03 06:39:17 +00:00
2015-02-02 11:00:47 -05:00
2012-11-11 19:13:08 +00:00
2014-10-09 10:31:23 +03:00
2014-10-01 10:26:27 +02:00
2013-03-15 14:25:48 +00:00
2013-07-14 21:09:38 +02:00
2012-12-05 10:22:43 +01:00
2014-05-20 12:59:42 -04:00
2015-03-11 09:33:19 +08:00

ceilometer

See the ReleaseNotes document and the project home for more info.

http://launchpad.net/ceilometer

Description
OpenStack Telemetry (Ceilometer) Alarming
Readme 21 MiB
Languages
Python 98%
Shell 1.8%
Mako 0.2%