Specifying invalid aggregation method for statistics leads to 500 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
ZhiQiang Fan |
Bug Description
Specifying invalid aggregation method leads to 500 error:
ceilometer --debug statistics -m gabbilive-meter -a mmm
...
INFO (connectionpool) Starting new HTTP connection (1): 192.168.1.13
DEBUG (connectionpool) "GET /v2/meters/
DEBUG (client) RESP: [500] {'date': 'Thu, 14 Apr 2016 14:34:28 GMT', 'content-length': '86', 'content-type': 'application/json', 'x-openstack-
DEBUG (client) RESP BODY: {"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "u'mmm'"}}
DEBUG (client) Request returned failure status: 500
Traceback (most recent call last):
File "/bin/ceilometer", line 10, in <module>
sys.
File "/usr/lib/
CeilometerS
File "/usr/lib/
args.
File "/usr/lib/
statistics = cc.statistics.
File "/usr/lib/
q, p))
File "/usr/lib/
resp = self.api.get(url)
File "/usr/lib/
return self.client_
File "/usr/lib/
self, method, url, **kwargs)
File "/usr/lib/
method, self.concat_
File "/usr/lib/
raise exceptions.
ceilometerclien
Packages:
openstack-
Regards,
Yurii
Changed in ceilometer: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
milestone: | none → newton-1 |
Hi Yurii Prokulevych,
I am using ceilometer- 2.4.0 and i am getting the following error
ceilometerclien t.openstack. common. apiclient. exceptions. HttpNotImplemen ted: Selectable aggregate function mmm is not supported
which is correct i guess.
please correct me if i am wrong
Regards
Sirisha