Hi
Our env needs Gnocchi because Ceilometer, and we using Kolla to deploy Ceph as the env storage backend.
But I found that it always stuck at bootstrap_gnocchi. The error log shows below when check with docker logs:
2019-06-11 10:59:17,707 [19] ERROR gnocchi.utils: Unable to initialize storage driver
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 333, in call
result = fn(*args, **kwargs)
File "/usr/lib/python3/dist-packages/gnocchi/storage/__init__.py", line 102, in get_driver
conf.storage)
File "/usr/lib/python3/dist-packages/gnocchi/storage/ceph.py", line 52, in __init__
self.rados, self.ioctx = ceph.create_rados_connection(conf)
File "/usr/lib/python3/dist-packages/gnocchi/common/ceph.py", line 51, in create_rados_connection
raise ImportError("No module named 'rados' nor 'cradox'")
ImportError: No module named 'rados' nor 'cradox'
This error occurred not only the image from Docker Hub, but also build by Kolla-build in Ubuntu binary based.
Strange is, no error occur if turn into use Ubuntu source based images.
And I guess it only happen when enabled Ceph.
Does anyone have idea about this?
Many thanks,
Eddie.