APIv2: 500 when requesting statistics with MongoDB using tools/make_test_data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
Liusheng |
Bug Description
DEBUG (connectionpool) "GET /v2/meters/
DEBUG (client) RESP: [500] {'Content-Length': '138', 'Server': 'Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5', 'Connection': 'close', 'Date': 'Fri, 09 Oct 2015 13:12:53 GMT', 'Content-Type': 'application/json', 'x-openstack-
DEBUG (client) RESP BODY: {"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "unsupported operand type(s) for -: 'unicode' and 'unicode'"}}
DEBUG (client) Request returned failure status: 500
The traceback:
2015-10-09 15:13:14.144553 2015-10-09 15:13:14.144 30586 ERROR wsme.api [-] Server-side error: "unsupported operand type(s) for -: 'unicode' and 'unicode'". Detail:
2015-10-09 15:13:14.144587 Traceback (most recent call last):
2015-10-09 15:13:14.144591
2015-10-09 15:13:14.144594 File "/usr/lib/
2015-10-09 15:13:14.144596 result = f(self, *args, **kwargs)
2015-10-09 15:13:14.144598
2015-10-09 15:13:14.144601 File "/opt/stack/
2015-10-09 15:13:14.144603 f, period, g, aggregate)
2015-10-09 15:13:14.144605
2015-10-09 15:13:14.144607 File "/opt/stack/
2015-10-09 15:13:14.144619 for point in self._get_
2015-10-09 15:13:14.144621
2015-10-09 15:13:14.144625 File "/opt/stack/
2015-10-09 15:13:14.144628 result[
2015-10-09 15:13:14.144631
2015-10-09 15:13:14.144633 TypeError: unsupported operand type(s) for -: 'unicode' and 'unicode'
Changed in ceilometer: | |
assignee: | nobody → Liusheng (liusheng) |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | none → mitaka-1 |
The timestamp returned is "2015-10- 11T12:04: 49.108221"