Advertisement
Guest User

Untitled

a guest
Nov 8th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.56 KB | None | 0 0
  1.            
  2. ➜  playbooks git:(18.1.9) ansible keystone -m shell -a "uptime"
  3. Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
  4.  [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source
  5.  
  6. c1w_keystone_container-d7c676b4 | SUCCESS | rc=0 >>
  7.  08:45:44 up 7 days,  2:02,  0 users,  load average: 2.13, 2.25, 2.32
  8.  
  9. c2w_keystone_container-71b4a0aa | SUCCESS | rc=0 >>
  10.  08:43:32 up 6 days, 16:40,  0 users,  load average: 2.29, 2.85, 2.98
  11.  
  12. ➜  playbooks git:(18.1.9) openstack-ansible os-keystone-install.yml
  13. Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
  14.  [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source
  15.  
  16. [DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion. This feature will be removed in a future
  17. release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  18.  
  19. PLAY [Implement openrc/clouds.yaml on the designated service host] ***************************************************************************************************************************
  20.  
  21. TASK [Gathering Facts] ***********************************************************************************************************************************************************************
  22. ok: [localhost]
  23.  
  24. TASK [openstack_openrc : Create openrc file] *************************************************************************************************************************************************
  25. ok: [localhost]
  26.  
  27. TASK [openstack_openrc : Create OpenStack client configuration directory] ********************************************************************************************************************
  28. ok: [localhost]
  29.  
  30. TASK [openstack_openrc : Create clouds.yaml file] ********************************************************************************************************************************************
  31. ok: [localhost]
  32.  
  33. PLAY [Installation and setup of Keystone] ****************************************************************************************************************************************************
  34.  
  35. TASK [Gathering Facts] ***********************************************************************************************************************************************************************
  36. ok: [c1w_keystone_container-d7c676b4]
  37.  
  38. TASK [include] *******************************************************************************************************************************************************************************
  39. included: /opt/openstack-ansible/playbooks/common-tasks/haproxy-endpoint-manage.yml for c1w_keystone_container-d7c676b4
  40. included: /opt/openstack-ansible/playbooks/common-tasks/haproxy-endpoint-manage.yml for c1w_keystone_container-d7c676b4
  41.  
  42. TASK [Set haproxy service state] *************************************************************************************************************************************************************
  43. ok: [c1w_keystone_container-d7c676b4 -> 172.29.236.21] => (item=c1w)
  44. failed: [c1w_keystone_container-d7c676b4 -> 172.29.236.22] (item=c2w) => {"changed": false, "item": "c2w", "module_stderr": "Shared connection to 172.29.236.22 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_ZwEvrC/ansible_module_haproxy.py\", line 458, in <module>\r\n    main()\r\n  File \"/tmp/ansible_ZwEvrC/ansible_module_haproxy.py\", line 454, in main\r\n    ansible_haproxy.act()\r\n  File \"/tmp/ansible_ZwEvrC/ansible_module_haproxy.py\", line 403, in act\r\n    state_before = self.get_state_for(self.backend, self.host)\r\n  File \"/tmp/ansible_ZwEvrC/ansible_module_haproxy.py\", line 334, in get_state_for\r\n    data = self.execute('show stat', 200, False).lstrip('# ')\r\n  File \"/tmp/ansible_ZwEvrC/ansible_module_haproxy.py\", line 254, 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": 1}
  45.  
  46. PLAY RECAP ***********************************************************************************************************************************************************************************
  47. c1w_keystone_container-d7c676b4 : ok=3    changed=0    unreachable=0    failed=1  
  48. localhost                  : ok=4    changed=0    unreachable=0    failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement