Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@sftests ~]# sfconfig --enable-insecure-slaves
- [Wed Jun 6 07:44:48 2018] Running sfconfig
- WARNING: couldn't read previous version, defaulting to 2.6
- [WARNING]: log file at /var/log/software-factory/ansible.log is not writeable and we cannot create it, aborting
- PLAY [install-server] ******************************************************************************************************************
- TASK [sf-ssh : include_tasks] **********************************************************************************************************
- included: /usr/share/sf-config/ansible/roles/sf-ssh/tasks/populate_hosts.yml for managesf.sftests.com
- TASK [sf-ssh : Ensure /root/.ssh exists] ***********************************************************************************************
- ok: [managesf.sftests.com]
- TASK [sf-ssh : Check if ssh_known_hosts exist] *****************************************************************************************
- ok: [managesf.sftests.com]
- TASK [sf-ssh : Create ssh known_hosts config file] *************************************************************************************
- skipping: [managesf.sftests.com]
- TASK [sf-ssh : Get all server hostnames] ***********************************************************************************************
- ok: [managesf.sftests.com]
- TASK [sf-ssh : Wait for ssh services on all servers] ***********************************************************************************
- ok: [managesf.sftests.com] => (item=managesf.sftests.com)
- TASK [sf-ssh : Gathering public ssh servers keys] **************************************************************************************
- ok: [managesf.sftests.com] => (item=managesf.sftests.com)
- TASK [sf-ssh : Populate ssh_know_hosts] ************************************************************************************************
- ok: [managesf.sftests.com] => (item=None)
- PLAY [all] *****************************************************************************************************************************
- TASK [sf-base : include_tasks] *********************************************************************************************************
- included: /usr/share/sf-config/ansible/roles/sf-base/tasks/install.yml for managesf.sftests.com
- TASK [sf-base : Create libexec directory] **********************************************************************************************
- ok: [managesf.sftests.com]
- TASK [sf-base : Check for sf-release] **************************************************************************************************
- ok: [managesf.sftests.com]
- TASK [sf-base : Install sf-release if needed] ******************************************************************************************
- skipping: [managesf.sftests.com]
- TASK [sf-base : Install useful packages] ***********************************************************************************************
- 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"}
- to retry, use: --limit @/var/lib/software-factory/ansible/sfconfig.retry
- PLAY RECAP *****************************************************************************************************************************
- managesf.sftests.com : ok=10 changed=0 unreachable=0 failed=1
- Traceback (most recent call last):
- File "/usr/bin/sfconfig", line 10, in <module>
- sys.exit(main())
- File "/usr/lib/python2.7/site-packages/sfconfig/cmd.py", line 217, in main
- sfconfig.inventory.run(args)
- File "/usr/lib/python2.7/site-packages/sfconfig/inventory.py", line 361, in run
- sfconfig.utils.execute(["ansible-playbook", playbook_path])
- File "/usr/lib/python2.7/site-packages/sfconfig/utils.py", line 58, in execute
- raise RuntimeError("Command failed: %s" % argv)
- RuntimeError: Command failed: ['ansible-playbook', '/var/lib/software-factory/ansible/sfconfig.yml']
Add Comment
Please, Sign In to add comment