Ask Your Question
0

Pulling kolla toolbox image task fails

asked 2017-08-31 07:02:03 -0600

guptas gravatar image

Hi,

The task fails with the following error:

**TASK [common : Pulling kolla-toolbox image] ************************************
fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):\\n  File \"/tmp/ansible_wb5Hs9/ansible_module_kolla_docker.py\", line 777, in main\\n    dw = DockerWorker(module)\\n  File \"/tmp/ansible_wb5Hs9/ansible_module_kolla_docker.py\", line 214, in __init__\\n    self.dc = docker.Client(**options)\\nAttributeError: \\'module\\' object has no attribute \\'Client\\'\\n'"}**

Following are the versions I am using for kolla pike installation:

**Docker python 1.10.6
Docker 2.5.1
Ansible 2.2.0
Python jinja 2.9.6**
edit retag flag offensive close merge delete

Comments

Please, paste exact output of pip freeze | grep -i docker and rpm -qa | grep -i docker. I think you have docker-py and docker libraries installed.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-08-31 07:19:23 -0600 )edit

The output for

pip freeze | grep -i docker is:
docker-py==1.10.0
docker-pycreds==0.2.1

rpm -qa | grep -i docker is nothing.
guptas gravatar imageguptas ( 2017-08-31 08:53:19 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-08-31 09:37:56 -0600

Hi,

In Pike docker-py is not supported. Will need to install docker client but first remove docker-py.

pip uninstall docker-py docker-pycreds
pip install docker

After that kolla should be working.

Regards

edit flag offensive delete link more

Comments

HI,

Now I am getting this error:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named docker
guptas gravatar imageguptas ( 2017-09-02 05:09:20 -0600 )edit

Hi,

After installing docker-py and docker-pycreds and upgrading kolla-ansible to version 5.0.0.0b2 I am getting the following error:

manifest for kolla/centos-binary-fluentd:5.0.0 not found
manifest for kolla/centos-binary-kolla-toolbox:5.0.0 not found
guptas gravatar imageguptas ( 2017-09-02 05:57:07 -0600 )edit

Have you build 5.0.0 images, the error says images are not found in image registry. We have not pushed any 5.0.0 images to dockerhub yet. Also, kolla pike is not officially released yet as other deployments tools

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-09-04 03:01:58 -0600 )edit

Thanks for the information. May I know what is the expected date on which kolla installation will be available in production environment?

guptas gravatar imageguptas ( 2017-09-04 06:39:41 -0600 )edit

Around 15th of September will be available to use stable/pike release of kolla and kolla-ansible

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-09-04 07:28:15 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-08-31 07:02:03 -0600

Seen: 765 times

Last updated: Aug 31 '17