Hi

This issue just reported on the Launchpad.

Many thanks,
Eddie.

Radosław Piliszek <radoslaw.piliszek@gmail.com> 於 2019年6月11日 週二 下午2:12寫道:
Hello Eddie,

this classifies as a bug.
Please file one at: https://bugs.launchpad.net/kolla
with details on the used settings.

Thank you.

Kind regards,
Radosław Piliszek

wt., 11 cze 2019 o 05:29 Eddie Yen <missile0407@gmail.com> napisał(a):
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.