Hi,
I am trying to install latest release.. I succesfully pass setup-hosts.yml and setup-infrastructure.yml
When i execute setup-openstack.yml i got this error.
PLAY [Installation and setup of Keystone] ...
TASK [Set haproxy service state] ******************************************************************************************************************************************************************************
Friday 03 November 2017 08:32:16 +0100 (0:00:00.221) 0:00:10.838 *******
[WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior.
failed: [infra1 -> 172.30.2.84] (item=infra1) => {"failed": true, "item": "infra1", "module_stderr": "Shared connection to 172.30.2.84 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_wa8NVy/ansible_module_haproxy.py\", line 395, in <module>\r\n main()\r\n File \"/tmp/ansible_wa8NVy/ansible_module_haproxy.py\", line 389, in main\r\n ansible_haproxy.act()\r\n File \"/tmp/ansible_wa8NVy/ansible_module_haproxy.py\", line 343, in act\r\n state_before = self.get_state_for(self.backend, self.host)\r\n File \"/tmp/ansible_wa8NVy/ansible_module_haproxy.py\", line 289, in get_state_for\r\n data = self.execute('show stat', 200, False).lstrip('# ')\r\n File \"/tmp/ansible_wa8NVy/ansible_module_haproxy.py\", line 225, in execute\r\n self.client.connect(self.socket)\r\n File \"/usr/lib/python2.7/socket.py\", line 228, in meth\r\n return getattr(self._sock,name)(*args)\r\nsocket.error: [Errno 111] Connection refused\r\n", "msg": "MODULE FAILURE", "rc": 0}
failed: [infra1 -> 172.30.2.86] (item=infra3) => {"failed": true, "item": "infra3", "module_stderr": "Shared connection to 172.30.2.86 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_qTLdlO/ansible_module_haproxy.py\", line 395, in <module>\r\n main()\r\n File \"/tmp/ansible_qTLdlO/ansible_module_haproxy.py\", line 389, in main\r\n ansible_haproxy.act()\r\n File \"/tmp/ansible_qTLdlO/ansible_module_haproxy.py\", line 343, in act\r\n state_before = self.get_state_for(self.backend, self.host)\r\n File \"/tmp/ansible_qTLdlO/ansible_module_haproxy.py\", line 289, in get_state_for\r\n data = self.execute('show stat', 200, False).lstrip('# ')\r\n File \"/tmp/ansible_qTLdlO/ansible_module_haproxy.py\", line 225, in execute\r\n self.client.connect(self.socket)\r\n File \"/usr/lib/python2.7/socket.py\", line 228, in meth\r\n return getattr(self._sock,name)(*args)\r\nsocket.error: [Errno 111] Connection refused\r\n", "msg": "MODULE FAILURE", "rc": 0}
failed: [infra1 -> 172.30.2.85] (item=infra2) => {"failed": true, "item": "infra2", "module_stderr": "Shared connection to 172.30.2.85 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_wIGSSh/ansible_module_haproxy.py\", line 395, in <module>\r\n main()\r\n File \"/tmp/ansible_wIGSSh/ansible_module_haproxy.py\", line 389, in main\r\n ansible_haproxy.act()\r\n File \"/tmp/ansible_wIGSSh/ansible_module_haproxy.py\", line 343, in act\r\n state_before = self.get_state_for(self.backend, self.host)\r\n File \"/tmp/ansible_wIGSSh/ansible_module_haproxy.py\", line 289, in get_state_for\r\n data = self.execute('show stat', 200, False).lstrip('# ')\r\n File \"/tmp/ansible_wIGSSh/ansible_module_haproxy.py\", line 225, in execute\r\n self.client.connect(self.socket)\r\n File \"/usr/lib/python2.7/socket.py\", line 228, in meth\r\n return getattr(self._sock,name)(*args)\r\nsocket.error: [Errno 111] Connection refused\r\n", "msg": "MODULE FAILURE", "rc": 0}
Is haproxy running on your node?
Could you paste your openstack_ user_config on a pastebin to see if that would be the cause of the issue?