Ask Your Question
0

kolla-ansible pull error

asked 2019-03-23 03:02:44 -0500

Sibasankar gravatar image

Dear Open stack community,

We are trying to deploy multi node devestack using kolla centos, but we are getting error when pulling the images. We have successfully pulled some images and now we are stuck. Kindly help us to resolve the issue.

Please go the the below error.

TASK [placement : Pulling placement images] **************************************** task path: /home/zeel/kolla-ansible/ansible/roles/placement/tasks/pull.yml:2

<localhost> ESTABLISH LOCAL CONNECTION FOR USER: zeel

<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0 ' <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp/ansible-tmp-1553327240.67-241464758751211" && echo ansible-tmp-1553327240.67-241464758751211="echo /root/.ansible/tmp/ansible-tmp-1553327240.67-241464758751211" ) && sleep 0'

Using module file /home/zeel/kolla-ansible/ansible/library/kolla_docker.py <localhost> PUT /root/.ansible/tmp/ansible-local-32675ssZmM0/tmpRSc6Su TO /root/.ansible/tmp/ansible-tmp-1553327240.67-241464758751211/AnsiballZ_kolla_docker.py

<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1553327240.67-241464758751211/ /root/.ansible/tmp/ansible-tmp-1553327240.67-241464758751211/AnsiballZ_kolla_docker.py && sleep 0' <localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ucffxldetkfbbodzchhkkwfamxibethw; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1553327240.67-241464758751211/AnsiballZ_kolla_docker.py'"'"' && sleep 0'

<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1553327240.67-241464758751211/ > /dev/null 2>&1 && sleep 0'

failed: [localhost] (item={'value': {u'haproxy': {u'placement_api_external': {u'mode': u'http', u'enabled': True, u'external': True, u'listen_port': u'8780', u'port': u'8780'}, u'placement_api': {u'mode': u'http', u'enabled': True, u'external': False, u'listen_port': u'8780', u'port': u'8780'}}, u'group': u'placement-api', u'dimensions': {}, u'volumes': [u'/etc/kolla//placement-api/:/var/lib/kolla/config_files/:ro', u'/etc/localtime:/etc/localtime:ro', u'kolla_logs:/var/log/kolla/', u''], u'container_name': u'placement_api', u'image': u'kolla/centos-source-placement-api:rocky', u'enabled': True}, 'key': u'placement-api'}) => { "changed": false, "invocation": { "module_args": { "action": "pull_image", "api_version": "auto", "auth_email": null, "auth_password": null, "auth_registry": null, "auth_username": null, "cap_add": [], "command": null, "detach": true, "dimensions": {}, "environment": { "KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS" }, "graceful_timeout": 10, "image": "kolla/centos-source-placement-api:rocky", "labels": {}, "name": null, "privileged": false, "remove_on_exit": true, "restart_policy": "unless-stopped", "restart_retries": 10, "security_opt": [], "state": "running", "tls_cacert": null, "tls_cert": null, "tls_key": null, "tls_verify": false, "tty": false, "volumes": null, "volumes_from": null } }, "item": { "key": "placement-api", "value": { "container_name": "placement_api", "dimensions": {}, "enabled": true, "group": "placement-api", "haproxy": { "placement_api": { "enabled": true, "external": false, "listen_port": "8780", "mode": "http", "port": "8780" }, "placement_api_external": { "enabled": true, "external": true, "listen_port": "8780", "mode": "http", "port": "8780" } }, "image": "kolla/centos-source-placement-api:rocky", "volumes": [ "/etc/kolla//placement-api/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "kolla_logs:/var/log/kolla/", "" ] } },

**"msg": "The requested image does not exist: kolla/centos-source-placement-api:rocky"**

}

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-03-26 08:14:54 -0500

Sibasankar gravatar image

Could you please share the documentation to re deploy.

edit flag offensive delete link more
0

answered 2019-03-26 04:36:21 -0500

Hi,

you are trying to deploy rocky version with kolla-ansible master branch (placement api is now an independent role).

Checkout to stable/rocky and re-deploy.

Regards

edit flag offensive delete link more

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

Stats

Asked: 2019-03-23 03:02:44 -0500

Seen: 30 times

Last updated: Mar 26