Ask Your Question

kolla-ansible stuck at gnocchi: Running gnocchi bootstrap container [closed]

asked 2019-05-16 00:16:10 -0600

AKSN74 gravatar image

Today I tried to deploy OpenStack Rocky by kolla-ansible.

Because my environment have to use Ceilometer, so have to deploy Gnocchi.

But now I'm stuck at "TASK [gnocchi : Running gnocchi bootstrap container]"

And check docker container, it shows one gnocchi container is running call "bootstrap_gnocchi" and using the image called "kolla/ubuntu-binary-gnocchi-api:rocky".

So I check its docker log and found that it shows below error repeatly.

2019-05-16 05:00:50,005 [19] ERROR    gnocchi.utils: Unable to initialize storage driver
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tenacity/", line 333, in call
    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 create_rados_connection
    raise ImportError("No module named 'rados' nor 'cradox'")
ImportError: No module named 'rados' nor 'cradox'

I think it caused by images, because it's normal when I deployed another environment two weeks ago.

And found that this image just updated 10 hours ago.

But it just my guess. Can anyone know what happen?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by AKSN74
close date 2019-05-16 20:50:13.799177

1 answer

Sort by ยป oldest newest most voted

answered 2019-05-16 20:49:34 -0600

AKSN74 gravatar image

Perhaps it really happens on Kolla's images. I found that they updated their images. And issue resolved after re-download the images.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-05-16 00:12:39 -0600

Seen: 483 times

Last updated: May 16 '19