Issue in cloudkitty

Jyoti Dahiwele jyotishri403 at gmail.com
Fri Aug 30 13:44:27 UTC 2019


Dear Team,

Plz help in following issue.

While collecting gnocchi aggregates I ran into 400 response from gnocchi
due to lack of metrics at that particular point of time. I am unable to
fill the metrics with zero values.

The cloudkitty rated_data_frames table in the database shows __NO_DATA__ .

Here below are the logs

*cloudkitty-processor.log*

*2019-01-11 17:06:56.334 7207 WARNING cloudkitty.orchestrator [-]
[5793054cd0fe4a018e959eb9081442a8] Error while collecting metric
volume.size: {u'cause': u'Metrics not found', u'detail': [u'volume.size']}
(HTTP 400). Retrying on next collection cycle.: BadRequest: {u'cause':
u'Metrics not found', u'detail': [u'volume.size']} (HTTP 400)*
*2019-01-11 17:07:00.356 7207 WARNING cloudkitty.orchestrator [-]
[2eea218eea984dd68f1378ea21c64b83] Error while collecting metric
volume.size: {u'cause': u'Metrics not found', u'detail': [u'volume.size']}
(HTTP 400). Retrying on next collection cycle.: BadRequest: {u'cause':
u'Metrics not found', u'detail': [u'volume.size']} (HTTP 400)*



*gnocchi-api.log*

*10.20.0.100 - - [11/Jan/2019:17:07:04 +0000] "POST
/v1/aggregates?details=False&groupby=id&groupby=project_id&start=2019-01-01T00%3A00%3A00&stop=2019-01-01T01%3A00%3A00
HTTP/1.1" 400 280 "-" "cloudkitty-processor keystoneauth1/3.11.2
python-requests/2.21.0 CPython/2.7.15rc1"*
*10.20.0.100 - - [11/Jan/2019:17:07:08 +0000] "POST
/v1/aggregates?details=False&groupby=id&groupby=project_id&start=2019-01-01T00%3A00%3A00&stop=2019-01-01T01%3A00%3A00
HTTP/1.1" 400 280 "-" "cloudkitty-processor keystoneauth1/3.11.2
python-requests/2.21.0 CPython/2.7.15rc1"*



*Also, the price while launching the instance is not getting updated on the
fly.*

*Below are the processor logs of cloudkitty:-*

*2019-08-30 11:20:18.571 23130 ERROR oslo_messaging.rpc.server
AttributeError: 'list' object has no attribute 'start'*
2019-08-30 11:20:18.571 23130 ERROR oslo_messaging.rpc.server
2019-08-30 11:20:18.887 23136 DEBUG cloudkitty.orchestrator [-] Received
quote from RPC. quote
/usr/lib/python2.7/site-packages/cloudkitty/orchestrator.py:11
1
2019-08-30 11:20:18.977 23136 DEBUG oslo_db.api [-] Loading backend
'sqlalchemy' from 'cloudkitty.rating.hash.db.sqlalchemy.api' _load_backend
/usr/lib/pytho
n2.7/site-packages/oslo_db/api.py:261
2019-08-30 11:20:19.131 23136 DEBUG oslo_db.api [-] Loading backend
'sqlalchemy' from 'cloudkitty.db.sqlalchemy.api' _load_backend
/usr/lib/python2.7/site-pa
ckages/oslo_db/api.py:261
2019-08-30 11:20:19.153 23136 DEBUG oslo_db.api [-] Loading backend
'sqlalchemy' from 'cloudkitty.rating.pyscripts.db.sqlalchemy.api'
_load_backend /usr/lib/
python2.7/site-packages/oslo_db/api.py:261
2019-08-30 11:20:19.167 23136 ERROR oslo_messaging.rpc.server [-] Exception
during message handling: AttributeError: 'list' object has no attribute
'start'
2019-08-30 11:20:19.167 23136 ERROR oslo_messaging.rpc.server Traceback
(most recent call last):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190830/853f1d03/attachment-0001.html>


More information about the openstack-discuss mailing list