contrail-ansible-deployer icon indicating copy to clipboard operation
contrail-ansible-deployer copied to clipboard

installation failure @ Creating swift rings

Open ygordienko opened this issue 6 years ago • 3 comments

Hello, while executing ansible-playbook -i inventory/ -e orchestrator=openstack playbooks/install_contrail.yml_ step I see installation failure at the following task:

TASK [swift : Creating swift rings] ****************************************************************************************************************************** fatal: [192.168.3.45 -> localhost]: FAILED! => {"changed": true, "cmd": ["/bin/swift_ring_builder.sh"], "delta": "0:00:00.023809", "end": "2018-04-07 17:13:05.898269", "msg": "non-zero return code", "rc": 127, "start": "2018-04-07 17:13:05.874460", "stderr": "/bin/swift_ring_builder.sh: line 8: docker: command not found\n/bin/swift_ring_builder.sh: line 17: docker: command not found\n/bin/swift_ring_builder.sh: line 17: docker: command not found\n/bin/swift_ring_builder.sh: line 17: docker: command not found\n/bin/swift_ring_builder.sh: line 27: docker: command not found\n/bin/swift_ring_builder.sh: line 36: docker: command not found\n/bin/swift_ring_builder.sh: line 36: docker: command not found\n/bin/swift_ring_builder.sh: line 36: docker: command not found\n/bin/swift_ring_builder.sh: line 46: docker: command not found\n/bin/swift_ring_builder.sh: line 55: docker: command not found\n/bin/swift_ring_builder.sh: line 55: docker: command not found\n/bin/swift_ring_builder.sh: line 55: docker: command not found\n/bin/swift_ring_builder.sh: line 65: docker: command not found\n/bin/swift_ring_builder.sh: line 65: docker: command not found\n/bin/swift_ring_builder.sh: line 65: docker: command not found", "stderr_lines": ["/bin/swift_ring_builder.sh: line 8: docker: command not found", "/bin/swift_ring_builder.sh: line 17: docker: command not found", "/bin/swift_ring_builder.sh: line 17: docker: command not found", "/bin/swift_ring_builder.sh: line 17: docker: command not found", "/bin/swift_ring_builder.sh: line 27: docker: command not found", "/bin/swift_ring_builder.sh: line 36: docker: command not found", "/bin/swift_ring_builder.sh: line 36: docker: command not found", "/bin/swift_ring_builder.sh: line 36: docker: command not found", "/bin/swift_ring_builder.sh: line 46: docker: command not found", "/bin/swift_ring_builder.sh: line 55: docker: command not found", "/bin/swift_ring_builder.sh: line 55: docker: command not found", "/bin/swift_ring_builder.sh: line 55: docker: command not found", "/bin/swift_ring_builder.sh: line 65: docker: command not found", "/bin/swift_ring_builder.sh: line 65: docker: command not found", "/bin/swift_ring_builder.sh: line 65: docker: command not found"], "stdout": "", "stdout_lines": []}

PLAY RECAP ******************************************************************************************************************************************************* 192.168.3.45 : ok=174 changed=76 unreachable=0 failed=1 localhost : ok=7 changed=2 unreachable=0 failed=0

ygordienko avatar Apr 07 '18 21:04 ygordienko

My config/instances.yaml:

provider_config: bms: ssh_pwd: juniper123 ssh_user: root ntpserver: 66.70.172.17 domainsuffix: local instances: bms1: provider: bms ip: 192.168.3.45 contrail_configuration: RABBITMQ_NODE_PORT: 5673 AUTH_MODE: keystone KEYSTONE_AUTH_URL_VERSION: /v3 kolla_config: kolla_globals: enable_haproxy: no kolla_passwords: keystone_admin_password: juniper123

ygordienko avatar Apr 07 '18 21:04 ygordienko

Hello, I think that you need to install docker on your host thanks

selyousfi avatar Apr 10 '18 07:04 selyousfi

@ygordienko Hi, can you please update status of your issue? I see that some code for swift was added here and in ansible deployer.

Andrey-mp avatar May 17 '18 17:05 Andrey-mp