Rohan_Kanojia

Untitled

Jun 6th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. [root@sftests ~]# sfconfig --enable-insecure-slaves
  2. [Wed Jun 6 07:44:48 2018] Running sfconfig
  3. WARNING: couldn't read previous version, defaulting to 2.6
  4. [WARNING]: log file at /var/log/software-factory/ansible.log is not writeable and we cannot create it, aborting
  5.  
  6.  
  7. PLAY [install-server] ******************************************************************************************************************
  8.  
  9. TASK [sf-ssh : include_tasks] **********************************************************************************************************
  10. included: /usr/share/sf-config/ansible/roles/sf-ssh/tasks/populate_hosts.yml for managesf.sftests.com
  11.  
  12. TASK [sf-ssh : Ensure /root/.ssh exists] ***********************************************************************************************
  13. ok: [managesf.sftests.com]
  14.  
  15. TASK [sf-ssh : Check if ssh_known_hosts exist] *****************************************************************************************
  16. ok: [managesf.sftests.com]
  17.  
  18. TASK [sf-ssh : Create ssh known_hosts config file] *************************************************************************************
  19. skipping: [managesf.sftests.com]
  20.  
  21. TASK [sf-ssh : Get all server hostnames] ***********************************************************************************************
  22. ok: [managesf.sftests.com]
  23.  
  24. TASK [sf-ssh : Wait for ssh services on all servers] ***********************************************************************************
  25. ok: [managesf.sftests.com] => (item=managesf.sftests.com)
  26.  
  27. TASK [sf-ssh : Gathering public ssh servers keys] **************************************************************************************
  28. ok: [managesf.sftests.com] => (item=managesf.sftests.com)
  29.  
  30. TASK [sf-ssh : Populate ssh_know_hosts] ************************************************************************************************
  31. ok: [managesf.sftests.com] => (item=None)
  32.  
  33. PLAY [all] *****************************************************************************************************************************
  34.  
  35. TASK [sf-base : include_tasks] *********************************************************************************************************
  36. included: /usr/share/sf-config/ansible/roles/sf-base/tasks/install.yml for managesf.sftests.com
  37.  
  38. TASK [sf-base : Create libexec directory] **********************************************************************************************
  39. ok: [managesf.sftests.com]
  40.  
  41. TASK [sf-base : Check for sf-release] **************************************************************************************************
  42. ok: [managesf.sftests.com]
  43.  
  44. TASK [sf-base : Install sf-release if needed] ******************************************************************************************
  45. skipping: [managesf.sftests.com]
  46.  
  47. TASK [sf-base : Install useful packages] ***********************************************************************************************
  48. failed: [managesf.sftests.com] (item=[u'haveged', u'git', u'monit', u'ntp', u'patch', u'postfix', u'rsyslog', u'tmux', u'vim-enhanced', u'sf-config', u'libsemanage-python', u'policycoreutils-python', u'nmap-ncat']) => {"changed": false, "item": ["haveged", "git", "monit", "ntp", "patch", "postfix", "rsyslog", "tmux", "vim-enhanced", "sf-config", "libsemanage-python", "policycoreutils-python", "nmap-ncat"], "msg": "Failure talking to yum: failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more mirrors to try.\nhttp://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found"}
  49. to retry, use: --limit @/var/lib/software-factory/ansible/sfconfig.retry
  50.  
  51. PLAY RECAP *****************************************************************************************************************************
  52. managesf.sftests.com : ok=10 changed=0 unreachable=0 failed=1
  53.  
  54. Traceback (most recent call last):
  55. File "/usr/bin/sfconfig", line 10, in <module>
  56. sys.exit(main())
  57. File "/usr/lib/python2.7/site-packages/sfconfig/cmd.py", line 217, in main
  58. sfconfig.inventory.run(args)
  59. File "/usr/lib/python2.7/site-packages/sfconfig/inventory.py", line 361, in run
  60. sfconfig.utils.execute(["ansible-playbook", playbook_path])
  61. File "/usr/lib/python2.7/site-packages/sfconfig/utils.py", line 58, in execute
  62. raise RuntimeError("Command failed: %s" % argv)
  63. RuntimeError: Command failed: ['ansible-playbook', '/var/lib/software-factory/ansible/sfconfig.yml']
Add Comment
Please, Sign In to add comment