I am building multi node cluster with 3 infra node (ostack-controller-X) and 1 compute node with CentOS7 64bit, now i am stuck here.
[root@ostack-osa playbooks]# openstack-ansible setup-openstack.yml
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
PLAY [Prepare MQ/DB services] *****************************************************************************************************************************************************
TASK [Ensure Rabbitmq vhost] ******************************************************************************************************************************************************
Tuesday 22 May 2018 13:22:56 -0400 (0:00:00.104) 0:00:00.105 ***********
fatal: [ostack-controller-03_keystone_container-503bf55e -> 192.168.100.189]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to find required executable rabbitmqctl in paths: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"}
NO MORE HOSTS LEFT ****************************************************************************************************************************************************************
PLAY RECAP ************************************************************************************************************************************************************************
ostack-controller-03_keystone_container-503bf55e : ok=0 changed=0 unreachable=0 failed=1
Tuesday 22 May 2018 13:23:00 -0400 (0:00:04.210) 0:00:04.315 ***********
===============================================================================
Ensure Rabbitmq vhost --------------------------------------------------- 4.21s
EXIT NOTICE [Playbook execution failure] **************************************
===============================================================================
after running -vvv i saw following errors
container_name: "ostack- controller- 03_rabbit_ mq_container- c482ee13" controller- 03" ecking= no -o KbdInteractiveA uthentication= no -o PreferredAuthen tications= gssapi- with-mic, gssapi- keyex,hostbased ,publickey -o PasswordAuthent ication= no -o User=root -o ConnectTimeout=5 -o UserKnownHostsF ile=/dev/ null -o StrictHostKeyCh ecking= no -o ServerAliveInte rval=64 -o ServerAliveCoun tMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath= /root/. ansible/ cp/cf55a70db6 -tt 192.168.100.3 'lxc-attach --clear-env --name ostack- controller- 03_rabbit_ mq_container- c482ee13 -- su - root -c '"'"'/bin/sh -c '"'"'"' "'"'"'" '"'/usr/ bin/python /root/. ansible/ tmp/ansible- tmp-1527013772. 43-257309099288 749/rabbitmq_ vhost.py; rm -rf "/root/ .ansible/ tmp/ansible- tmp-1527013772. 43-257309099288 749/" > /dev/null 2>&1 && sleep 0'"'"'" '"'"'"' "'"''"' "'' sbin:/usr/ local/bin: /sbin:/ bin:/usr/ sbin:/usr/ bin:/root/ bin", "failed": true, "invocation": {"module_args": {"node": "rabbit", "tracing": false, "state": "present", "name": "/keystone" }}}\r\n' , 'Shared connection to 192.168.100.3 closed.\r\n') controller- 03_keystone_ container- 503bf55e -> 192.168.100.189]: FAILED! => {
"module_ args": {
"state" : "present",
"tracing" : false sbin:/usr/ local/bin: /sbin:/ bin:/usr/ sbin:/usr/ bin:/root/ bin"
physical_host: "ostack-
Container confirmed
<192.168.100.3> ESTABLISH SSH CONNECTION FOR USER: root
<192.168.100.3> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
<192.168.100.3> (0, '\r\n{"msg": "Failed to find required executable rabbitmqctl in paths: /usr/local/
fatal: [ostack-
"changed": false,
"failed": true,
"invocation": {
"name": "/keystone",
"node": "rabbit",
}
},
"msg": "Failed to find required executable rabbitmqctl in paths: /usr/local/
}
NO MORE HOSTS LEFT ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* controller- 03_keystone_ container- 503bf55e : ok=0 changed=0 unreachable=0 failed=1
ostack-
Tuesday 22 May 2018 14:29:34 -0400 (0:00:04.134) 0:00:04.241 *********** ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == ------- ------- ------- ------- ------- ------- -- 4.14s openstack- ansible/ playbooks/ common- tasks/rabbitmq- vhost-user. yml:21 --
=======
Ensure Rabbitmq vhost -------
/var/opt/
EXIT NOTICE [Playbook execution failure] ******* ******* ******* ******* ******* *** ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======