[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Kolla] Stuck at bootstrap_gnocchi during deployment using Ubuntu binary on Rocky release.


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/", line 333, in
    result = fn(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/gnocchi/storage/", line
102, in get_driver
  File "/usr/lib/python3/dist-packages/gnocchi/storage/", line 52,
in __init__
    self.rados, self.ioctx = ceph.create_rados_connection(conf)
  File "/usr/lib/python3/dist-packages/gnocchi/common/", line 51, in
    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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>