Advertisement
Guest User

Untitled

a guest
Oct 11th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/sysctl.py
  2. <kolla-test.local> ESTABLISH SSH CONNECTION FOR USER: None
  3. <kolla-test.local> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hrw/.ansible/cp/931a17e328 kolla-test.local '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
  4. <kolla-test.local> (0, '/home/hrw\n', '')
  5. <kolla-test.local> ESTABLISH SSH CONNECTION FOR USER: None
  6. <kolla-test.local> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hrw/.ansible/cp/931a17e328 kolla-test.local '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116 `" && echo ansible-tmp-1507737659.91-58152325387116="` echo /home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116 `" ) && sleep 0'"'"''
  7. <kolla-test.local> (0, 'ansible-tmp-1507737659.91-58152325387116=/home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116\n', '')
  8. <kolla-test.local> PUT /tmp/tmpSi0RY5 TO /home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116/sysctl.py
  9. <kolla-test.local> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hrw/.ansible/cp/931a17e328 '[kolla-test.local]'
  10. <kolla-test.local> (0, 'sftp> put /tmp/tmpSi0RY5 /home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116/sysctl.py\n', '')
  11. <kolla-test.local> ESTABLISH SSH CONNECTION FOR USER: None
  12. <kolla-test.local> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hrw/.ansible/cp/931a17e328 kolla-test.local '/bin/sh -c '"'"'chmod u+x /home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116/ /home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116/sysctl.py && sleep 0'"'"''
  13. <kolla-test.local> (0, '', '')
  14. <kolla-test.local> ESTABLISH SSH CONNECTION FOR USER: None
  15. <kolla-test.local> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/hrw/.ansible/cp/931a17e328 -tt kolla-test.local '/bin/sh -c '"'"'/usr/bin/python /home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116/sysctl.py; rm -rf "/home/hrw/.ansible/tmp/ansible-tmp-1507737659.91-58152325387116/" > /dev/null 2>&1 && sleep 0'"'"''
  16. <kolla-test.local> (0, 'Traceback (most recent call last):\r\n File "/tmp/ansible_JmuLyr/ansible_module_sysctl.py", line 398, in <module>\r\n main()\r\n File "/tmp/ansible_JmuLyr/ansible_module_sysctl.py", line 392, in main\r\n result = SysctlModule(module)\r\n File "/tmp/ansible_JmuLyr/ansible_module_sysctl.py", line 143, in __init__\r\n self.process()\r\n File "/tmp/ansible_JmuLyr/ansible_module_sysctl.py", line 191, in process\r\n self.write_sysctl()\r\n File "/tmp/ansible_JmuLyr/ansible_module_sysctl.py", line 358, in write_sysctl\r\n fd, tmp_path = tempfile.mkstemp(\'.conf\', \'.ansible_m_sysctl_\', os.path.dirname(self.sysctl_file))\r\n File "/usr/lib/python2.7/tempfile.py", line 314, in mkstemp\r\n return _mkstemp_inner(dir, prefix, suffix, flags)\r\n File "/usr/lib/python2.7/tempfile.py", line 244, in _mkstemp_inner\r\n fd = _os.open(file, flags, 0600)\r\nOSError: [Errno 13] Brak dost\xc4\x99pu: \'/etc/.ansible_m_sysctl_g2yR3I.conf\'\r\n', 'Shared connection to kolla-test.local closed.\r\n')
  17. failed: [kolla-test.local] (item={u'name': u'net.ipv4.conf.default.rp_filter', u'value': 0}) => {
  18. "failed": true,
  19. "item": {
  20. "name": "net.ipv4.conf.default.rp_filter",
  21. "value": 0
  22. },
  23. "module_stderr": "Shared connection to kolla-test.local closed.\r\n",
  24. "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_JmuLyr/ansible_module_sysctl.py\", line 398, in <module>\r\n main()\r\n File \"/tmp/ansible_JmuLyr/ansible_module_sysctl.py\", line 392, in main\r\n result = SysctlModule(module)\r\n File \"/tmp/ansible_JmuLyr/ansible_module_sysctl.py\", line 143, in __init__\r\n self.process()\r\n File \"/tmp/ansible_JmuLyr/ansible_module_sysctl.py\", line 191, in process\r\n self.write_sysctl()\r\n File \"/tmp/ansible_JmuLyr/ansible_module_sysctl.py\", line 358, in write_sysctl\r\n fd, tmp_path = tempfile.mkstemp('.conf', '.ansible_m_sysctl_', os.path.dirname(self.sysctl_file))\r\n File \"/usr/lib/python2.7/tempfile.py\", line 314, in mkstemp\r\n return _mkstemp_inner(dir, prefix, suffix, flags)\r\n File \"/usr/lib/python2.7/tempfile.py\", line 244, in _mkstemp_inner\r\n fd = _os.open(file, flags, 0600)\r\nOSError: [Errno 13] Brak dostępu: '/etc/.ansible_m_sysctl_g2yR3I.conf'\r\n",
  25. "msg": "MODULE FAILURE",
  26. "rc": 0
  27. }
  28. to retry, use: --limit @/home/hrw/devel/linaro/17.12/kolla-ansible/ansible/site.retry
  29.  
  30. PLAY RECAP ****************************************************************************************************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement