Skip to content

Instantly share code, notes, and snippets.

@samvarankashyap
Created June 7, 2017 17:07
Show Gist options
  • Save samvarankashyap/80f3e325e89d6630e3ea465c98f183f4 to your computer and use it in GitHub Desktop.
Save samvarankashyap/80f3e325e89d6630e3ea465c98f183f4 to your computer and use it in GitHub Desktop.
[root@a778111483a5 atomic-host-tests]# ansible-playbook -vvvv -i /tmp/general_1node.inv tests/openshift-ansible-test/main
.yml
No config file found; using defaults
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc
PLAYBOOK: main.yml *************************************************************
1 plays in tests/openshift-ansible-test/main.yml
PLAY [OpenShift Ansible Installer Test] ****************************************
TASK [setup] *******************************************************************
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/system/setup.py
<192.168.122.85> ESTABLISH SSH CONNECTION FOR USER: admin
<192.168.122.85> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=admin -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 192.168.122.85 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1496854501.61-58516623901419 `" && echo ansible-tmp-1496854501.61-58516623901419="` echo $HOME/.ansible/tmp/ansible-tmp-1496854501.61-58516623901419 `" ) && sleep 0'"'"''
<192.168.122.85> PUT /tmp/tmpHo3BDQ TO /home/admin/.ansible/tmp/ansible-tmp-1496854501.61-58516623901419/setup.py
<192.168.122.85> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=admin -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r '[192.168.122.85]'
<192.168.122.85> ESTABLISH SSH CONNECTION FOR USER: admin
<192.168.122.85> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=admin -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 192.168.122.85 '/bin/sh -c '"'"'chmod u+x /home/admin/.ansible/tmp/ansible-tmp-1496854501.61-58516623901419/ /home/admin/.ansible/tmp/ansible-tmp-1496854501.61-58516623901419/setup.py && sleep 0'"'"''
<192.168.122.85> ESTABLISH SSH CONNECTION FOR USER: admin
<192.168.122.85> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=admin -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 192.168.122.85 '/bin/sh -c '"'"'/usr/bin/python /home/admin/.ansible/tmp/ansible-tmp-1496854501.61-58516623901419/setup.py; rm -rf "/home/admin/.ansible/tmp/ansible-tmp-1496854501.61-58516623901419/" > /dev/null 2>&1 && sleep 0'"'"''
ok: [node1]
TASK [Setup vars for templating the inventory, etc.] ***************************
task path: /atomic-host-tests/tests/openshift-ansible-test/main.yml:8
ok: [node1] => {
"ansible_facts": {
"oo_ansible_tag": "master",
"oo_ansible_user": "admin",
"oo_host": "192.168.122.85",
"oo_public_host": "192.168.122.85",
"oo_py_interpreter": "-e ansible_python_interpreter=/usr/bin/python3",
"oo_release": "1.5.1",
"oo_skip_memory_check": "-e openshift_disable_check=memory_availability"
},
"changed": false,
"invocation": {
"module_args": {
"oo_ansible_tag": "master",
"oo_ansible_user": "admin",
"oo_host": "192.168.122.85",
"oo_public_host": "192.168.122.85",
"oo_py_interpreter": "-e ansible_python_interpreter=/usr/bin/python3",
"oo_release": "1.5.1",
"oo_skip_memory_check": "-e openshift_disable_check=memory_availability"
},
"module_name": "set_fact"
}
}
TASK [Make temp directory of holding] ******************************************
task path: /atomic-host-tests/tests/openshift-ansible-test/main.yml:26
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1496854504.72-257448717668337 `" && echo ansible-tmp-1496854504.72-257448717668337="` echo $HOME/.ansible/tmp/ansible-tmp-1496854504.72-257448717668337 `" ) && sleep 0'
<localhost> PUT /tmp/tmpayF5Zl TO /root/.ansible/tmp/ansible-tmp-1496854504.72-257448717668337/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854504.72-257448717668337/ /root/.ansible/tmp/ansible-tmp-1496854504.72-257448717668337/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1496854504.72-257448717668337/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1496854504.72-257448717668337/" > /dev/null 2>&1 && sleep 0'
changed: [node1 -> localhost] => {
"changed": true,
"cmd": [
"mktemp",
"-d"
],
"delta": "0:00:00.089090",
"end": "2017-06-07 16:55:05.094838",
"invocation": {
"module_args": {
"_raw_params": "mktemp -d",
"_uses_shell": false,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 0,
"start": "2017-06-07 16:55:05.005748",
"warnings": []
}
STDOUT:
---
/tmp/tmp.DIIPhdvi90
---
TASK [git clone openshift-ansible repo] ****************************************
task path: /atomic-host-tests/tests/openshift-ansible-test/main.yml:31
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/source_control/git.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1496854505.47-110268018630025 `" && echo ansible-tmp-1496854505.47-110268018630025="` echo $HOME/.ansible/tmp/ansible-tmp-1496854505.47-110268018630025 `" ) && sleep 0'
<localhost> PUT /tmp/tmp2Oukat TO /root/.ansible/tmp/ansible-tmp-1496854505.47-110268018630025/git.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854505.47-110268018630025/ /root/.ansible/tmp/ansible-tmp-1496854505.47-110268018630025/git.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1496854505.47-110268018630025/git.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1496854505.47-110268018630025/" > /dev/null 2>&1 && sleep 0'
changed: [node1 -> localhost] => {
"after": "f510d55043a94f3e9ad6972a2bef3ff45662fa4a",
"before": null,
"changed": true,
"invocation": {
"module_args": {
"accept_hostkey": false,
"bare": false,
"clone": true,
"depth": null,
"dest": "/tmp/tmp.DIIPhdvi90",
"executable": null,
"force": false,
"key_file": null,
"recursive": true,
"reference": null,
"refspec": null,
"remote": "origin",
"repo": "https://github.com/openshift/openshift-ansible.git",
"ssh_opts": null,
"track_submodules": false,
"umask": null,
"update": true,
"verify_commit": false,
"version": "master"
},
"module_name": "git"
},
"warnings": []
}
TASK [Template the inventory file] *********************************************
task path: /atomic-host-tests/tests/openshift-ansible-test/main.yml:38
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446 `" && echo ansible-tmp-1496854509.88-37409466441446="` echo $HOME/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<localhost> PUT /tmp/tmpVJu0TT TO /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/ /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/stat.py && sleep 0'
<localhost> PUT /tmp/tmp1ZZTX4 TO /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/ /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/source && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/files/copy.py
<localhost> PUT /tmp/tmpk7Mz6Y TO /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/ /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/ > /dev/null 2>&1 && sleep 0'
changed: [node1 -> localhost] => {
"changed": true,
"checksum": "26701a389bda563e36e76945e0ad27e80dd38178",
"dest": "/tmp/tmp.DIIPhdvi90/cluster-inventory",
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"backup": false,
"content": null,
"delimiter": null,
"dest": "/tmp/tmp.DIIPhdvi90/cluster-inventory",
"directory_mode": null,
"follow": true,
"force": true,
"group": null,
"mode": null,
"original_basename": "cluster-inventory.j2",
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "5cad2a736ba7d1e77102e8a94f5b24a3",
"mode": "0644",
"owner": "root",
"size": 874,
"src": "/root/.ansible/tmp/ansible-tmp-1496854509.88-37409466441446/source",
"state": "file",
"uid": 0
}
TASK [Template the ansible.cfg] ************************************************
task path: /atomic-host-tests/tests/openshift-ansible-test/main.yml:44
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775 `" && echo ansible-tmp-1496854510.97-246290954885775="` echo $HOME/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<localhost> PUT /tmp/tmpNrc0gx TO /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/stat.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/ /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/stat.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/stat.py && sleep 0'
<localhost> PUT /tmp/tmptx4opq TO /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/source
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/ /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/source && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/files/copy.py
<localhost> PUT /tmp/tmp06gBt_ TO /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/copy.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/ /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/copy.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/ > /dev/null 2>&1 && sleep 0'
changed: [node1 -> localhost] => {
"changed": true,
"checksum": "0f1737acc32f17be2554840d56c09cf26d4f74ea",
"dest": "/tmp/tmp.DIIPhdvi90/ansible.cfg",
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"backup": false,
"content": null,
"delimiter": null,
"dest": "/tmp/tmp.DIIPhdvi90/ansible.cfg",
"directory_mode": null,
"follow": true,
"force": true,
"group": null,
"mode": null,
"original_basename": "ansible.cfg.j2",
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "1d2b74abf42837f41ecc5f1c738a6fbd",
"mode": "0644",
"owner": "root",
"size": 37,
"src": "/root/.ansible/tmp/ansible-tmp-1496854510.97-246290954885775/source",
"state": "file",
"uid": 0
}
TASK [Run the openshift-ansible playbook] **************************************
task path: /atomic-host-tests/tests/openshift-ansible-test/main.yml:50
Using module file /usr/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1496854511.58-137478801438029 `" && echo ansible-tmp-1496854511.58-137478801438029="` echo $HOME/.ansible/tmp/ansible-tmp-1496854511.58-137478801438029 `" ) && sleep 0'
<localhost> PUT /tmp/tmpD89sfD TO /root/.ansible/tmp/ansible-tmp-1496854511.58-137478801438029/command.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1496854511.58-137478801438029/ /root/.ansible/tmp/ansible-tmp-1496854511.58-137478801438029/command.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1496854511.58-137478801438029/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1496854511.58-137478801438029/" > /dev/null 2>&1 && sleep 0'
fatal: [node1 -> localhost]: FAILED! => {
"changed": true,
"cmd": [
"ansible-playbook",
"-i",
"cluster-inventory",
"playbooks/byo/config.yml",
"-e",
"ansible_python_interpreter=/usr/bin/python3",
"-e",
"openshift_disable_check=memory_availability",
"--private-key=/root/.ssh/id_rsa"
],
"delta": "0:05:42.184212",
"end": "2017-06-07 17:00:53.993155",
"failed": true,
"invocation": {
"module_args": {
"_raw_params": "ansible-playbook -i cluster-inventory playbooks/byo/config.yml -e ansible_python_interpreter=/usr/bin/python3 -e openshift_disable_check=memory_availability --private-key=/root/.ssh/id_rsa",
"_uses_shell": false,
"chdir": "/tmp/tmp.DIIPhdvi90",
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 2,
"start": "2017-06-07 16:55:11.808943",
"warnings": []
}
STDOUT:
---
PLAY [Create initial host groups for localhost] ********************************
TASK [include_vars] ************************************************************
ok: [localhost]
PLAY [Verify Requirements] *****************************************************
TASK [setup] *******************************************************************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when conflicting deployment type variables are set] ***
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Standardize on latest variable names] *****
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when deployment type is invalid] ****
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Normalize openshift_release] **************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when openshift_release is invalid] **
skipping: [192.168.122.85]
TASK [openshift_facts : Detecting Operating System] ****************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Determine Atomic Host Docker Version] ******************
changed: [192.168.122.85]
TASK [openshift_facts : assert] ************************************************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [openshift_facts : Load variables] ****************************************
ok: [192.168.122.85] => (item=/tmp/tmp.DIIPhdvi90/roles/openshift_facts/vars/Fedora.yml)
TASK [openshift_facts : Ensure various deps are installed] *********************
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Ensure various deps for running system containers are installed] ***
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
changed: [192.168.122.85]
TASK [openshift_facts : Set repoquery command] *********************************
ok: [192.168.122.85]
TASK [openshift_repos : openshift_repos detect ostree] *************************
ok: [192.168.122.85]
TASK [openshift_repos : Ensure libselinux-python is installed] *****************
skipping: [192.168.122.85]
TASK [openshift_repos : Create any additional repos that are defined] **********
skipping: [192.168.122.85]
TASK [openshift_repos : Remove the additional repos if no longer defined] ******
skipping: [192.168.122.85]
TASK [openshift_repos : Configure origin gpg keys if needed] *******************
skipping: [192.168.122.85] => (item={u'dest': u'/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-PaaS', u'src': u'origin/gpg_keys/openshift-ansible-CentOS-SIG-PaaS'})
skipping: [192.168.122.85] => (item={u'dest': u'/etc/yum.repos.d/CentOS-OpenShift-Origin.repo', u'src': u'origin/repos/openshift-ansible-centos-paas-sig.repo'})
TASK [openshift_repos : Ensure clean repo cache in the event repos have been changed manually] ***
skipping: [192.168.122.85]
TASK [openshift_repos : Set fact r_osr_first_run false] ************************
skipping: [192.168.122.85]
TASK [openshift_docker_facts : Set docker facts] *******************************
changed: [192.168.122.85] => (item={u'local_facts': {u'blocked_registries': u'', u'hosted_registry_insecure': False, u'log_driver': u'', u'disable_push_dockerhub': u'', u'selinux_enabled': u'', u'additional_registries': u'', u'hosted_registry_network': u'', u'log_options': u'', u'insecure_registries': u'', u'options': u'', u'use_system_container': False}, u'role': u'docker'})
ok: [192.168.122.85] => (item={u'local_facts': {u'sdn_mtu': u''}, u'role': u'node'})
TASK [openshift_docker_facts : set_fact] ***************************************
ok: [192.168.122.85]
TASK [openshift_docker_facts : set_fact] ***************************************
skipping: [192.168.122.85]
TASK [openshift_docker_facts : set_fact] ***************************************
ok: [192.168.122.85]
TASK [os_firewall : Assert - Do not use firewalld on Atomic Host] **************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [os_firewall : Install firewalld packages] ********************************
skipping: [192.168.122.85]
TASK [os_firewall : Ensure iptables services are not enabled] ******************
skipping: [192.168.122.85] => (item=iptables)
skipping: [192.168.122.85] => (item=ip6tables)
TASK [os_firewall : Wait 10 seconds after disabling iptables] ******************
skipping: [192.168.122.85]
TASK [os_firewall : Start and enable firewalld service] ************************
skipping: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the firewalld service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Restart polkitd] *******************************************
skipping: [192.168.122.85]
TASK [os_firewall : Wait for polkit action to have been created] ***************
skipping: [192.168.122.85]
TASK [os_firewall : Add firewalld allow rules] *********************************
TASK [os_firewall : Remove firewalld allow rules] ******************************
TASK [os_firewall : Ensure firewalld service is not enabled] *******************
ok: [192.168.122.85]
TASK [os_firewall : Wait 10 seconds after disabling firewalld] *****************
skipping: [192.168.122.85]
TASK [os_firewall : Install iptables packages] *********************************
skipping: [192.168.122.85] => (item=[])
TASK [os_firewall : Start and enable iptables service] *************************
changed: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the iptables service starting can sometimes cause ssh to fail] ***
Pausing for 10 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [192.168.122.85]
TASK [os_firewall : Add iptables allow rules] **********************************
TASK [os_firewall : Remove iptables rules] *************************************
TASK [docker : Getting current systemd-udevd exec command] *********************
skipping: [192.168.122.85]
TASK [docker : Assure systemd-udevd.service.d directory exists] ****************
skipping: [192.168.122.85]
TASK [docker : Create systemd-udevd override file] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
TASK [docker : Get current installed Docker version] ***************************
skipping: [192.168.122.85]
TASK [docker : Error out if Docker pre-installed but too old] ******************
skipping: [192.168.122.85]
TASK [docker : Error out if requested Docker is too old] ***********************
skipping: [192.168.122.85]
TASK [docker : Fail if Docker version requested but downgrade is required] *****
skipping: [192.168.122.85]
TASK [docker : Error out if attempting to upgrade Docker across the 1.10 boundary] ***
skipping: [192.168.122.85]
TASK [docker : Install Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Ensure docker.service.d directory exists] ***********************
changed: [192.168.122.85]
TASK [docker : Configure Docker service unit file] *****************************
changed: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Set registry params] ********************************************
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'ADD_REGISTRY', u'reg_flag': u'--add-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'BLOCK_REGISTRY', u'reg_flag': u'--block-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'INSECURE_REGISTRY', u'reg_flag': u'--insecure-registry', u'reg_fact_val': u''})
TASK [docker : Set Proxy Settings] *********************************************
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTP_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTPS_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'NO_PROXY', u'reg_fact_val': u''})
TASK [docker : Set various Docker options] *************************************
changed: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Configure Docker Network OPTIONS] *******************************
changed: [192.168.122.85]
TASK [docker : Start the Docker service] ***************************************
ok: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
RUNNING HANDLER [docker : restart docker] **************************************
changed: [192.168.122.85]
TASK [docker : Fail quickly if openshift_docker_options are set] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure atomic is installed] *************************************
skipping: [192.168.122.85]
TASK [docker : Ensure runc is installed] ***************************************
skipping: [192.168.122.85]
TASK [docker : Install Docker so we can use the client] ************************
skipping: [192.168.122.85]
TASK [docker : Disable Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Add http_proxy to /etc/atomic.conf] *****************************
skipping: [192.168.122.85]
TASK [docker : Add https_proxy to /etc/atomic.conf] ****************************
skipping: [192.168.122.85]
TASK [docker : Add no_proxy to /etc/atomic.conf] *******************************
skipping: [192.168.122.85]
TASK [docker : Set to default prepend] *****************************************
skipping: [192.168.122.85]
TASK [docker : Use Red Hat Registry for image when distribution is Red Hat] ****
skipping: [192.168.122.85]
TASK [docker : Use Fedora Registry for image when distribution is Fedora] ******
skipping: [192.168.122.85]
TASK [docker : Use a testing registry if requested] ****************************
skipping: [192.168.122.85]
TASK [docker : Set the full image name] ****************************************
skipping: [192.168.122.85]
TASK [docker : Pre-pull Container Engine System Container image] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure container-engine.service.d directory exists] *************
skipping: [192.168.122.85]
TASK [docker : Ensure /etc/docker directory exists] ****************************
skipping: [192.168.122.85]
TASK [docker : Install Container Engine System Container] **********************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine Service File] ************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine] *************************************
skipping: [192.168.122.85]
TASK [docker : Start the Container Engine service] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Abort when we cannot safely guess what Origin image version the user wanted] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : (Origin) Verify openshift_image_tag is valid] ********
skipping: [192.168.122.85]
TASK [openshift_version : (Enterprise) Verify openshift_image_tag is valid] ****
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Use openshift.common.version fact as version to configure if already installed] ***
skipping: [192.168.122.85]
TASK [openshift_version : Set rpm version to configure if openshift_pkg_version specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Get available origin version] ************************
skipping: [192.168.122.85]
TASK [openshift_version : fail] ************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Set containerized version to configure if openshift_image_tag specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Set containerized version to configure if openshift_release specified] ***
ok: [192.168.122.85]
TASK [openshift_version : Lookup latest containerized version if no version specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Set precise containerized version to configure if openshift_release specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Get available origin version] ************************
skipping: [192.168.122.85]
TASK [openshift_version : fail] ************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Fail if rpm version and docker image version are different] ***
skipping: [192.168.122.85]
TASK [openshift_version : Warn if openshift_image_tag is defined when not doing a containerized install] ***
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"msg": "openshift_image_tag was not defined. Falling back to v1.5.1"
}
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"msg": "openshift_pkg_version was not defined. Falling back to -1.5.1"
}
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Abort if openshift_version was not set] **************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_image_tag was not set] ************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_pkg_version was not set] **********
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_pkg_version was not set] **********
skipping: [192.168.122.85]
TASK [openshift_version : For an RPM install, abort when the release requested does not match the available version.] ***
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_release": "1.5.1"
}
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_image_tag": "v1.5.1"
}
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_pkg_version": "-1.5.1"
}
TASK [openshift_health_check] **************************************************
CHECK [disk_availability : 192.168.122.85] *************************************
CHECK [memory_availability : 192.168.122.85] ***********************************
ok: [192.168.122.85]
PLAY [Populate config host groups] *********************************************
TASK [Evaluate groups - g_etcd_hosts required] *********************************
skipping: [localhost]
TASK [Evaluate groups - g_master_hosts or g_new_master_hosts required] *********
skipping: [localhost]
TASK [Evaluate groups - g_node_hosts or g_new_node_hosts required] *************
skipping: [localhost]
TASK [Evaluate groups - g_lb_hosts required] ***********************************
skipping: [localhost]
TASK [Evaluate groups - g_nfs_hosts required] **********************************
skipping: [localhost]
TASK [Evaluate groups - g_nfs_hosts is single host] ****************************
skipping: [localhost]
TASK [Evaluate groups - g_glusterfs_hosts required] ****************************
skipping: [localhost]
TASK [Evaluate oo_all_hosts] ***************************************************
ok: [localhost] => (item=192.168.122.85)
TASK [Evaluate oo_masters] *****************************************************
ok: [localhost] => (item=192.168.122.85)
TASK [Evaluate oo_first_master] ************************************************
ok: [localhost]
TASK [Evaluate oo_masters_to_config] *******************************************
ok: [localhost] => (item=192.168.122.85)
TASK [Evaluate oo_etcd_to_config] **********************************************
ok: [localhost] => (item=192.168.122.85)
TASK [Evaluate oo_first_etcd] **************************************************
ok: [localhost]
TASK [Evaluate oo_etcd_hosts_to_upgrade] ***************************************
ok: [localhost] => (item=192.168.122.85)
TASK [Evaluate oo_etcd_hosts_to_backup] ****************************************
ok: [localhost] => (item=192.168.122.85)
TASK [Evaluate oo_nodes_to_config] *********************************************
ok: [localhost] => (item=192.168.122.85)
TASK [Add master to oo_nodes_to_config] ****************************************
skipping: [localhost] => (item=192.168.122.85)
TASK [Evaluate oo_lb_to_config] ************************************************
TASK [Evaluate oo_nfs_to_config] ***********************************************
TASK [Evaluate oo_glusterfs_to_config] *****************************************
PLAY [Ensure that all non-node hosts are accessible] ***************************
TASK [setup] *******************************************************************
ok: [192.168.122.85]
PLAY [Initialize host facts] ***************************************************
TASK [setup] *******************************************************************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when conflicting deployment type variables are set] ***
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Standardize on latest variable names] *****
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when deployment type is invalid] ****
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Normalize openshift_release] **************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when openshift_release is invalid] **
skipping: [192.168.122.85]
TASK [openshift_facts : Detecting Operating System] ****************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Determine Atomic Host Docker Version] ******************
changed: [192.168.122.85]
TASK [openshift_facts : assert] ************************************************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [openshift_facts : Load variables] ****************************************
ok: [192.168.122.85] => (item=/tmp/tmp.DIIPhdvi90/roles/openshift_facts/vars/Fedora.yml)
TASK [openshift_facts : Ensure various deps are installed] *********************
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Ensure various deps for running system containers are installed] ***
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
ok: [192.168.122.85]
TASK [openshift_facts : Set repoquery command] *********************************
ok: [192.168.122.85]
TASK [openshift_facts] *********************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
PLAY [Gather and set facts for node hosts] *************************************
TASK [setup] *******************************************************************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when conflicting deployment type variables are set] ***
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Standardize on latest variable names] *****
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when deployment type is invalid] ****
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Normalize openshift_release] **************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when openshift_release is invalid] **
skipping: [192.168.122.85]
TASK [openshift_facts : Detecting Operating System] ****************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Determine Atomic Host Docker Version] ******************
changed: [192.168.122.85]
TASK [openshift_facts : assert] ************************************************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [openshift_facts : Load variables] ****************************************
ok: [192.168.122.85] => (item=/tmp/tmp.DIIPhdvi90/roles/openshift_facts/vars/Fedora.yml)
TASK [openshift_facts : Ensure various deps are installed] *********************
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Ensure various deps for running system containers are installed] ***
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
ok: [192.168.122.85]
TASK [openshift_facts : Set repoquery command] *********************************
ok: [192.168.122.85]
TASK [command] *****************************************************************
ok: [192.168.122.85]
TASK [Warn user about bad openshift_hostname values] ***************************
skipping: [192.168.122.85]
PLAY [Verify compatible yum/subscription-manager combination] ******************
TASK [Check for bad combinations of yum and subscription-manager] **************
skipping: [192.168.122.85]
TASK [fail] ********************************************************************
skipping: [192.168.122.85]
PLAY [Determine openshift_version to configure on first master] ****************
TASK [setup] *******************************************************************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when conflicting deployment type variables are set] ***
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Standardize on latest variable names] *****
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when deployment type is invalid] ****
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Normalize openshift_release] **************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when openshift_release is invalid] **
skipping: [192.168.122.85]
TASK [openshift_repos : openshift_repos detect ostree] *************************
ok: [192.168.122.85]
TASK [openshift_repos : Ensure libselinux-python is installed] *****************
skipping: [192.168.122.85]
TASK [openshift_repos : Create any additional repos that are defined] **********
skipping: [192.168.122.85]
TASK [openshift_repos : Remove the additional repos if no longer defined] ******
skipping: [192.168.122.85]
TASK [openshift_repos : Configure origin gpg keys if needed] *******************
skipping: [192.168.122.85] => (item={u'dest': u'/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-PaaS', u'src': u'origin/gpg_keys/openshift-ansible-CentOS-SIG-PaaS'})
skipping: [192.168.122.85] => (item={u'dest': u'/etc/yum.repos.d/CentOS-OpenShift-Origin.repo', u'src': u'origin/repos/openshift-ansible-centos-paas-sig.repo'})
TASK [openshift_repos : Ensure clean repo cache in the event repos have been changed manually] ***
skipping: [192.168.122.85]
TASK [openshift_repos : Set fact r_osr_first_run false] ************************
skipping: [192.168.122.85]
TASK [openshift_facts : Detecting Operating System] ****************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Determine Atomic Host Docker Version] ******************
changed: [192.168.122.85]
TASK [openshift_facts : assert] ************************************************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [openshift_facts : Load variables] ****************************************
ok: [192.168.122.85] => (item=/tmp/tmp.DIIPhdvi90/roles/openshift_facts/vars/Fedora.yml)
TASK [openshift_facts : Ensure various deps are installed] *********************
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Ensure various deps for running system containers are installed] ***
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
ok: [192.168.122.85]
TASK [openshift_facts : Set repoquery command] *********************************
ok: [192.168.122.85]
TASK [openshift_docker_facts : Set docker facts] *******************************
changed: [192.168.122.85] => (item={u'local_facts': {u'blocked_registries': u'', u'hosted_registry_insecure': False, u'log_driver': u'', u'disable_push_dockerhub': u'', u'selinux_enabled': u'', u'additional_registries': u'', u'hosted_registry_network': u'172.30.0.0/16', u'log_options': u'', u'insecure_registries': u'', u'options': u'', u'use_system_container': False}, u'role': u'docker'})
ok: [192.168.122.85] => (item={u'local_facts': {u'sdn_mtu': u''}, u'role': u'node'})
TASK [openshift_docker_facts : set_fact] ***************************************
ok: [192.168.122.85]
TASK [openshift_docker_facts : set_fact] ***************************************
skipping: [192.168.122.85]
TASK [openshift_docker_facts : set_fact] ***************************************
ok: [192.168.122.85]
TASK [os_firewall : Assert - Do not use firewalld on Atomic Host] **************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [os_firewall : Install firewalld packages] ********************************
skipping: [192.168.122.85]
TASK [os_firewall : Ensure iptables services are not enabled] ******************
skipping: [192.168.122.85] => (item=iptables)
skipping: [192.168.122.85] => (item=ip6tables)
TASK [os_firewall : Wait 10 seconds after disabling iptables] ******************
skipping: [192.168.122.85]
TASK [os_firewall : Start and enable firewalld service] ************************
skipping: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the firewalld service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Restart polkitd] *******************************************
skipping: [192.168.122.85]
TASK [os_firewall : Wait for polkit action to have been created] ***************
skipping: [192.168.122.85]
TASK [os_firewall : Add firewalld allow rules] *********************************
TASK [os_firewall : Remove firewalld allow rules] ******************************
TASK [os_firewall : Ensure firewalld service is not enabled] *******************
ok: [192.168.122.85]
TASK [os_firewall : Wait 10 seconds after disabling firewalld] *****************
skipping: [192.168.122.85]
TASK [os_firewall : Install iptables packages] *********************************
skipping: [192.168.122.85] => (item=[])
TASK [os_firewall : Start and enable iptables service] *************************
ok: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the iptables service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Add iptables allow rules] **********************************
TASK [os_firewall : Remove iptables rules] *************************************
TASK [docker : Getting current systemd-udevd exec command] *********************
skipping: [192.168.122.85]
TASK [docker : Assure systemd-udevd.service.d directory exists] ****************
skipping: [192.168.122.85]
TASK [docker : Create systemd-udevd override file] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
TASK [docker : Get current installed Docker version] ***************************
skipping: [192.168.122.85]
TASK [docker : Error out if Docker pre-installed but too old] ******************
skipping: [192.168.122.85]
TASK [docker : Error out if requested Docker is too old] ***********************
skipping: [192.168.122.85]
TASK [docker : Fail if Docker version requested but downgrade is required] *****
skipping: [192.168.122.85]
TASK [docker : Error out if attempting to upgrade Docker across the 1.10 boundary] ***
skipping: [192.168.122.85]
TASK [docker : Install Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Ensure docker.service.d directory exists] ***********************
ok: [192.168.122.85]
TASK [docker : Configure Docker service unit file] *****************************
ok: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Set registry params] ********************************************
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'ADD_REGISTRY', u'reg_flag': u'--add-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'BLOCK_REGISTRY', u'reg_flag': u'--block-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'INSECURE_REGISTRY', u'reg_flag': u'--insecure-registry', u'reg_fact_val': u''})
TASK [docker : Set Proxy Settings] *********************************************
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTP_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTPS_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'NO_PROXY', u'reg_fact_val': u''})
TASK [docker : Set various Docker options] *************************************
ok: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Configure Docker Network OPTIONS] *******************************
ok: [192.168.122.85]
TASK [docker : Start the Docker service] ***************************************
ok: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
TASK [docker : Fail quickly if openshift_docker_options are set] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure atomic is installed] *************************************
skipping: [192.168.122.85]
TASK [docker : Ensure runc is installed] ***************************************
skipping: [192.168.122.85]
TASK [docker : Install Docker so we can use the client] ************************
skipping: [192.168.122.85]
TASK [docker : Disable Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Add http_proxy to /etc/atomic.conf] *****************************
skipping: [192.168.122.85]
TASK [docker : Add https_proxy to /etc/atomic.conf] ****************************
skipping: [192.168.122.85]
TASK [docker : Add no_proxy to /etc/atomic.conf] *******************************
skipping: [192.168.122.85]
TASK [docker : Set to default prepend] *****************************************
skipping: [192.168.122.85]
TASK [docker : Use Red Hat Registry for image when distribution is Red Hat] ****
skipping: [192.168.122.85]
TASK [docker : Use Fedora Registry for image when distribution is Fedora] ******
skipping: [192.168.122.85]
TASK [docker : Use a testing registry if requested] ****************************
skipping: [192.168.122.85]
TASK [docker : Set the full image name] ****************************************
skipping: [192.168.122.85]
TASK [docker : Pre-pull Container Engine System Container image] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure container-engine.service.d directory exists] *************
skipping: [192.168.122.85]
TASK [docker : Ensure /etc/docker directory exists] ****************************
skipping: [192.168.122.85]
TASK [docker : Install Container Engine System Container] **********************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine Service File] ************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine] *************************************
skipping: [192.168.122.85]
TASK [docker : Start the Container Engine service] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Abort when we cannot safely guess what Origin image version the user wanted] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : (Origin) Verify openshift_image_tag is valid] ********
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [openshift_version : (Enterprise) Verify openshift_image_tag is valid] ****
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Use openshift.common.version fact as version to configure if already installed] ***
skipping: [192.168.122.85]
TASK [openshift_version : Set rpm version to configure if openshift_pkg_version specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Get available origin version] ************************
skipping: [192.168.122.85]
TASK [openshift_version : fail] ************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Set containerized version to configure if openshift_image_tag specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Set containerized version to configure if openshift_release specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Lookup latest containerized version if no version specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Set precise containerized version to configure if openshift_release specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Get available origin version] ************************
skipping: [192.168.122.85]
TASK [openshift_version : fail] ************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Fail if rpm version and docker image version are different] ***
skipping: [192.168.122.85]
TASK [openshift_version : Warn if openshift_image_tag is defined when not doing a containerized install] ***
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_version was not set] **************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_image_tag was not set] ************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_pkg_version was not set] **********
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_pkg_version was not set] **********
skipping: [192.168.122.85]
TASK [openshift_version : For an RPM install, abort when the release requested does not match the available version.] ***
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_release": "1.5.1"
}
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_image_tag": "v1.5.1"
}
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_pkg_version": "-1.5.1"
}
PLAY [Set oo_option facts] *****************************************************
TASK [setup] *******************************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
TASK [set_fact] ****************************************************************
ok: [192.168.122.85]
PLAY [Disable excluders] *******************************************************
TASK [openshift_excluder : Detecting Atomic Host Operating System] *************
ok: [192.168.122.85]
TASK [openshift_excluder : Debug r_openshift_excluder_enable_docker_excluder] **
skipping: [192.168.122.85]
TASK [openshift_excluder : Debug r_openshift_excluder_enable_openshift_excluder] ***
skipping: [192.168.122.85]
TASK [openshift_excluder : Fail if invalid openshift_excluder_action provided] *
skipping: [192.168.122.85]
TASK [openshift_excluder : Fail if r_openshift_excluder_service_type is not defined] ***
skipping: [192.168.122.85]
TASK [openshift_excluder : Fail if r_openshift_excluder_upgrade_target is not defined] ***
skipping: [192.168.122.85]
TASK [openshift_excluder : Include main action task file] **********************
skipping: [192.168.122.85]
PLAY [Configure etcd] **********************************************************
TASK [setup] *******************************************************************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when conflicting deployment type variables are set] ***
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Standardize on latest variable names] *****
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when deployment type is invalid] ****
skipping: [192.168.122.85]
TASK [openshift_sanitize_inventory : Normalize openshift_release] **************
ok: [192.168.122.85]
TASK [openshift_sanitize_inventory : Abort when openshift_release is invalid] **
skipping: [192.168.122.85]
TASK [openshift_facts : Detecting Operating System] ****************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : set_fact] **********************************************
ok: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Validate python version] *******************************
skipping: [192.168.122.85]
TASK [openshift_facts : Determine Atomic Host Docker Version] ******************
changed: [192.168.122.85]
TASK [openshift_facts : assert] ************************************************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [openshift_facts : Load variables] ****************************************
ok: [192.168.122.85] => (item=/tmp/tmp.DIIPhdvi90/roles/openshift_facts/vars/Fedora.yml)
TASK [openshift_facts : Ensure various deps are installed] *********************
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Ensure various deps for running system containers are installed] ***
skipping: [192.168.122.85] => (item=[])
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
ok: [192.168.122.85]
TASK [openshift_facts : Set repoquery command] *********************************
ok: [192.168.122.85]
TASK [openshift_etcd_facts : openshift_facts] **********************************
changed: [192.168.122.85]
TASK [openshift_clock : Set clock facts] ***************************************
changed: [192.168.122.85]
TASK [openshift_clock : Install ntp package] ***********************************
skipping: [192.168.122.85]
TASK [openshift_clock : Start and enable ntpd/chronyd] *************************
changed: [192.168.122.85]
TASK [openshift_repos : openshift_repos detect ostree] *************************
ok: [192.168.122.85]
TASK [openshift_repos : Ensure libselinux-python is installed] *****************
skipping: [192.168.122.85]
TASK [openshift_repos : Create any additional repos that are defined] **********
skipping: [192.168.122.85]
TASK [openshift_repos : Remove the additional repos if no longer defined] ******
skipping: [192.168.122.85]
TASK [openshift_repos : Configure origin gpg keys if needed] *******************
skipping: [192.168.122.85] => (item={u'dest': u'/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-PaaS', u'src': u'origin/gpg_keys/openshift-ansible-CentOS-SIG-PaaS'})
skipping: [192.168.122.85] => (item={u'dest': u'/etc/yum.repos.d/CentOS-OpenShift-Origin.repo', u'src': u'origin/repos/openshift-ansible-centos-paas-sig.repo'})
TASK [openshift_repos : Ensure clean repo cache in the event repos have been changed manually] ***
skipping: [192.168.122.85]
TASK [openshift_repos : Set fact r_osr_first_run false] ************************
skipping: [192.168.122.85]
TASK [openshift_docker_facts : Set docker facts] *******************************
ok: [192.168.122.85] => (item={u'local_facts': {u'blocked_registries': u'', u'hosted_registry_insecure': False, u'log_driver': u'', u'disable_push_dockerhub': u'', u'selinux_enabled': u'', u'additional_registries': u'', u'hosted_registry_network': u'172.30.0.0/16', u'log_options': u'', u'insecure_registries': u'', u'options': u'', u'use_system_container': False}, u'role': u'docker'})
ok: [192.168.122.85] => (item={u'local_facts': {u'sdn_mtu': u''}, u'role': u'node'})
TASK [openshift_docker_facts : set_fact] ***************************************
ok: [192.168.122.85]
TASK [openshift_docker_facts : set_fact] ***************************************
skipping: [192.168.122.85]
TASK [openshift_docker_facts : set_fact] ***************************************
ok: [192.168.122.85]
TASK [os_firewall : Assert - Do not use firewalld on Atomic Host] **************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [os_firewall : Install firewalld packages] ********************************
skipping: [192.168.122.85]
TASK [os_firewall : Ensure iptables services are not enabled] ******************
skipping: [192.168.122.85] => (item=iptables)
skipping: [192.168.122.85] => (item=ip6tables)
TASK [os_firewall : Wait 10 seconds after disabling iptables] ******************
skipping: [192.168.122.85]
TASK [os_firewall : Start and enable firewalld service] ************************
skipping: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the firewalld service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Restart polkitd] *******************************************
skipping: [192.168.122.85]
TASK [os_firewall : Wait for polkit action to have been created] ***************
skipping: [192.168.122.85]
TASK [os_firewall : Add firewalld allow rules] *********************************
TASK [os_firewall : Remove firewalld allow rules] ******************************
TASK [os_firewall : Ensure firewalld service is not enabled] *******************
ok: [192.168.122.85]
TASK [os_firewall : Wait 10 seconds after disabling firewalld] *****************
skipping: [192.168.122.85]
TASK [os_firewall : Install iptables packages] *********************************
skipping: [192.168.122.85] => (item=[])
TASK [os_firewall : Start and enable iptables service] *************************
ok: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the iptables service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Add iptables allow rules] **********************************
TASK [os_firewall : Remove iptables rules] *************************************
TASK [docker : Getting current systemd-udevd exec command] *********************
skipping: [192.168.122.85]
TASK [docker : Assure systemd-udevd.service.d directory exists] ****************
skipping: [192.168.122.85]
TASK [docker : Create systemd-udevd override file] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
TASK [docker : Get current installed Docker version] ***************************
skipping: [192.168.122.85]
TASK [docker : Error out if Docker pre-installed but too old] ******************
skipping: [192.168.122.85]
TASK [docker : Error out if requested Docker is too old] ***********************
skipping: [192.168.122.85]
TASK [docker : Fail if Docker version requested but downgrade is required] *****
skipping: [192.168.122.85]
TASK [docker : Error out if attempting to upgrade Docker across the 1.10 boundary] ***
skipping: [192.168.122.85]
TASK [docker : Install Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Ensure docker.service.d directory exists] ***********************
ok: [192.168.122.85]
TASK [docker : Configure Docker service unit file] *****************************
ok: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Set registry params] ********************************************
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'ADD_REGISTRY', u'reg_flag': u'--add-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'BLOCK_REGISTRY', u'reg_flag': u'--block-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'INSECURE_REGISTRY', u'reg_flag': u'--insecure-registry', u'reg_fact_val': u''})
TASK [docker : Set Proxy Settings] *********************************************
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTP_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTPS_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'NO_PROXY', u'reg_fact_val': u''})
TASK [docker : Set various Docker options] *************************************
ok: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Configure Docker Network OPTIONS] *******************************
ok: [192.168.122.85]
TASK [docker : Start the Docker service] ***************************************
ok: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
TASK [docker : Fail quickly if openshift_docker_options are set] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure atomic is installed] *************************************
skipping: [192.168.122.85]
TASK [docker : Ensure runc is installed] ***************************************
skipping: [192.168.122.85]
TASK [docker : Install Docker so we can use the client] ************************
skipping: [192.168.122.85]
TASK [docker : Disable Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Add http_proxy to /etc/atomic.conf] *****************************
skipping: [192.168.122.85]
TASK [docker : Add https_proxy to /etc/atomic.conf] ****************************
skipping: [192.168.122.85]
TASK [docker : Add no_proxy to /etc/atomic.conf] *******************************
skipping: [192.168.122.85]
TASK [docker : Set to default prepend] *****************************************
skipping: [192.168.122.85]
TASK [docker : Use Red Hat Registry for image when distribution is Red Hat] ****
skipping: [192.168.122.85]
TASK [docker : Use Fedora Registry for image when distribution is Fedora] ******
skipping: [192.168.122.85]
TASK [docker : Use a testing registry if requested] ****************************
skipping: [192.168.122.85]
TASK [docker : Set the full image name] ****************************************
skipping: [192.168.122.85]
TASK [docker : Pre-pull Container Engine System Container image] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure container-engine.service.d directory exists] *************
skipping: [192.168.122.85]
TASK [docker : Ensure /etc/docker directory exists] ****************************
skipping: [192.168.122.85]
TASK [docker : Install Container Engine System Container] **********************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine Service File] ************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine] *************************************
skipping: [192.168.122.85]
TASK [docker : Start the Container Engine service] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Abort when we cannot safely guess what Origin image version the user wanted] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : (Origin) Verify openshift_image_tag is valid] ********
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [openshift_version : (Enterprise) Verify openshift_image_tag is valid] ****
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Use openshift.common.version fact as version to configure if already installed] ***
skipping: [192.168.122.85]
TASK [openshift_version : Set rpm version to configure if openshift_pkg_version specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Get available origin version] ************************
skipping: [192.168.122.85]
TASK [openshift_version : fail] ************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Set containerized version to configure if openshift_image_tag specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Set containerized version to configure if openshift_release specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : Lookup latest containerized version if no version specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Set precise containerized version to configure if openshift_release specified] ***
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
ok: [192.168.122.85]
TASK [openshift_version : Get available origin version] ************************
skipping: [192.168.122.85]
TASK [openshift_version : fail] ************************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Fail if rpm version and docker image version are different] ***
skipping: [192.168.122.85]
TASK [openshift_version : Warn if openshift_image_tag is defined when not doing a containerized install] ***
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
skipping: [192.168.122.85]
TASK [openshift_version : set_fact] ********************************************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_version was not set] **************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_image_tag was not set] ************
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_pkg_version was not set] **********
skipping: [192.168.122.85]
TASK [openshift_version : Abort if openshift_pkg_version was not set] **********
skipping: [192.168.122.85]
TASK [openshift_version : For an RPM install, abort when the release requested does not match the available version.] ***
skipping: [192.168.122.85]
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_release": "1.5.1"
}
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_image_tag": "v1.5.1"
}
TASK [openshift_version : debug] ***********************************************
ok: [192.168.122.85] => {
"openshift_pkg_version": "-1.5.1"
}
TASK [os_firewall : Assert - Do not use firewalld on Atomic Host] **************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [os_firewall : Install firewalld packages] ********************************
skipping: [192.168.122.85]
TASK [os_firewall : Ensure iptables services are not enabled] ******************
skipping: [192.168.122.85] => (item=iptables)
skipping: [192.168.122.85] => (item=ip6tables)
TASK [os_firewall : Wait 10 seconds after disabling iptables] ******************
skipping: [192.168.122.85]
TASK [os_firewall : Start and enable firewalld service] ************************
skipping: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the firewalld service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Restart polkitd] *******************************************
skipping: [192.168.122.85]
TASK [os_firewall : Wait for polkit action to have been created] ***************
skipping: [192.168.122.85]
TASK [os_firewall : Add firewalld allow rules] *********************************
TASK [os_firewall : Remove firewalld allow rules] ******************************
TASK [os_firewall : Ensure firewalld service is not enabled] *******************
ok: [192.168.122.85]
TASK [os_firewall : Wait 10 seconds after disabling firewalld] *****************
skipping: [192.168.122.85]
TASK [os_firewall : Install iptables packages] *********************************
skipping: [192.168.122.85] => (item=[])
TASK [os_firewall : Start and enable iptables service] *************************
ok: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the iptables service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Add iptables allow rules] **********************************
TASK [os_firewall : Remove iptables rules] *************************************
TASK [docker : Getting current systemd-udevd exec command] *********************
skipping: [192.168.122.85]
TASK [docker : Assure systemd-udevd.service.d directory exists] ****************
skipping: [192.168.122.85]
TASK [docker : Create systemd-udevd override file] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
TASK [docker : Get current installed Docker version] ***************************
skipping: [192.168.122.85]
TASK [docker : Error out if Docker pre-installed but too old] ******************
skipping: [192.168.122.85]
TASK [docker : Error out if requested Docker is too old] ***********************
skipping: [192.168.122.85]
TASK [docker : Fail if Docker version requested but downgrade is required] *****
skipping: [192.168.122.85]
TASK [docker : Error out if attempting to upgrade Docker across the 1.10 boundary] ***
skipping: [192.168.122.85]
TASK [docker : Install Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Ensure docker.service.d directory exists] ***********************
ok: [192.168.122.85]
TASK [docker : Configure Docker service unit file] *****************************
ok: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Set registry params] ********************************************
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'ADD_REGISTRY', u'reg_flag': u'--add-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'BLOCK_REGISTRY', u'reg_flag': u'--block-registry', u'reg_fact_val': u''})
skipping: [192.168.122.85] => (item={u'reg_conf_var': u'INSECURE_REGISTRY', u'reg_flag': u'--insecure-registry', u'reg_fact_val': u''})
TASK [docker : Set Proxy Settings] *********************************************
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTP_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'HTTPS_PROXY', u'reg_fact_val': u''})
ok: [192.168.122.85] => (item={u'reg_conf_var': u'NO_PROXY', u'reg_fact_val': u''})
TASK [docker : Set various Docker options] *************************************
ok: [192.168.122.85]
TASK [docker : stat] ***********************************************************
ok: [192.168.122.85]
TASK [docker : Configure Docker Network OPTIONS] *******************************
ok: [192.168.122.85]
TASK [docker : Start the Docker service] ***************************************
ok: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
ok: [192.168.122.85]
TASK [docker : Fail quickly if openshift_docker_options are set] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure atomic is installed] *************************************
skipping: [192.168.122.85]
TASK [docker : Ensure runc is installed] ***************************************
skipping: [192.168.122.85]
TASK [docker : Install Docker so we can use the client] ************************
skipping: [192.168.122.85]
TASK [docker : Disable Docker] *************************************************
skipping: [192.168.122.85]
TASK [docker : Add http_proxy to /etc/atomic.conf] *****************************
skipping: [192.168.122.85]
TASK [docker : Add https_proxy to /etc/atomic.conf] ****************************
skipping: [192.168.122.85]
TASK [docker : Add no_proxy to /etc/atomic.conf] *******************************
skipping: [192.168.122.85]
TASK [docker : Set to default prepend] *****************************************
skipping: [192.168.122.85]
TASK [docker : Use Red Hat Registry for image when distribution is Red Hat] ****
skipping: [192.168.122.85]
TASK [docker : Use Fedora Registry for image when distribution is Fedora] ******
skipping: [192.168.122.85]
TASK [docker : Use a testing registry if requested] ****************************
skipping: [192.168.122.85]
TASK [docker : Set the full image name] ****************************************
skipping: [192.168.122.85]
TASK [docker : Pre-pull Container Engine System Container image] ***************
skipping: [192.168.122.85]
TASK [docker : Ensure container-engine.service.d directory exists] *************
skipping: [192.168.122.85]
TASK [docker : Ensure /etc/docker directory exists] ****************************
skipping: [192.168.122.85]
TASK [docker : Install Container Engine System Container] **********************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine Service File] ************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [docker : Configure Container Engine] *************************************
skipping: [192.168.122.85]
TASK [docker : Start the Container Engine service] *****************************
skipping: [192.168.122.85]
TASK [docker : set_fact] *******************************************************
skipping: [192.168.122.85]
TASK [os_firewall : Assert - Do not use firewalld on Atomic Host] **************
ok: [192.168.122.85] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [os_firewall : Install firewalld packages] ********************************
skipping: [192.168.122.85]
TASK [os_firewall : Ensure iptables services are not enabled] ******************
skipping: [192.168.122.85] => (item=iptables)
skipping: [192.168.122.85] => (item=ip6tables)
TASK [os_firewall : Wait 10 seconds after disabling iptables] ******************
skipping: [192.168.122.85]
TASK [os_firewall : Start and enable firewalld service] ************************
skipping: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the firewalld service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Restart polkitd] *******************************************
skipping: [192.168.122.85]
TASK [os_firewall : Wait for polkit action to have been created] ***************
skipping: [192.168.122.85]
TASK [os_firewall : Add firewalld allow rules] *********************************
skipping: [192.168.122.85] => (item={u'port': u'2379/tcp', u'service': u'etcd'})
skipping: [192.168.122.85] => (item={u'port': u'2380/tcp', u'service': u'etcd peering'})
TASK [os_firewall : Remove firewalld allow rules] ******************************
TASK [os_firewall : Ensure firewalld service is not enabled] *******************
ok: [192.168.122.85]
TASK [os_firewall : Wait 10 seconds after disabling firewalld] *****************
skipping: [192.168.122.85]
TASK [os_firewall : Install iptables packages] *********************************
skipping: [192.168.122.85] => (item=[])
TASK [os_firewall : Start and enable iptables service] *************************
ok: [192.168.122.85]
TASK [os_firewall : need to pause here, otherwise the iptables service starting can sometimes cause ssh to fail] ***
skipping: [192.168.122.85]
TASK [os_firewall : Add iptables allow rules] **********************************
changed: [192.168.122.85] => (item={u'port': u'2379/tcp', u'service': u'etcd'})
changed: [192.168.122.85] => (item={u'port': u'2380/tcp', u'service': u'etcd peering'})
TASK [os_firewall : Remove iptables rules] *************************************
TASK [etcd_ca : Install openssl] ***********************************************
skipping: [192.168.122.85]
TASK [etcd_ca : file] **********************************************************
changed: [192.168.122.85 -> 192.168.122.85] => (item=/etc/etcd/ca/certs)
changed: [192.168.122.85 -> 192.168.122.85] => (item=/etc/etcd/ca/crl)
changed: [192.168.122.85 -> 192.168.122.85] => (item=/etc/etcd/ca/fragments)
TASK [etcd_ca : command] *******************************************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_ca : template] ******************************************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_ca : assemble] ******************************************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_ca : Check etcd_ca_db exist] ****************************************
ok: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_ca : Touch etcd_ca_db file] *****************************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_ca : copy] **********************************************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_ca : Create etcd CA certificate] ************************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Install etcd] *********************************
skipping: [192.168.122.85]
TASK [etcd_server_certificates : Check status of etcd certificates] ************
ok: [192.168.122.85] => (item=server.crt)
ok: [192.168.122.85] => (item=peer.crt)
ok: [192.168.122.85] => (item=ca.crt)
TASK [etcd_server_certificates : set_fact] *************************************
ok: [192.168.122.85]
TASK [etcd_server_certificates : Ensure generated_certs directory present] *****
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Create the server csr] ************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Sign and create the server crt] ***************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Create the peer csr] **************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Sign and create the peer crt] *****************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : file] *****************************************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Create local temp directory for syncing certs]
ok: [192.168.122.85 -> localhost]
TASK [etcd_server_certificates : Create a tarball of the etcd certs] ***********
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Retrieve etcd cert tarball] *******************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Ensure certificate directory exists] **********
ok: [192.168.122.85]
TASK [etcd_server_certificates : Unarchive cert tarball] ***********************
changed: [192.168.122.85]
TASK [etcd_server_certificates : Create a tarball of the etcd ca certs] ********
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Retrieve etcd ca cert tarball] ****************
changed: [192.168.122.85 -> 192.168.122.85]
TASK [etcd_server_certificates : Ensure ca directory exists] *******************
ok: [192.168.122.85]
TASK [etcd_server_certificates : Unarchive etcd ca cert tarballs] **************
ok: [192.168.122.85]
TASK [etcd_server_certificates : Delete temporary directory] *******************
ok: [192.168.122.85 -> localhost]
TASK [etcd_server_certificates : Validate permissions on certificate files] ****
changed: [192.168.122.85] => (item=/etc/etcd/ca.crt)
changed: [192.168.122.85] => (item=/etc/etcd/server.crt)
changed: [192.168.122.85] => (item=/etc/etcd/server.key)
TASK [etcd_server_certificates : Validate permissions on peer certificate files] ***
ok: [192.168.122.85] => (item=/etc/etcd/ca.crt)
changed: [192.168.122.85] => (item=/etc/etcd/peer.crt)
changed: [192.168.122.85] => (item=/etc/etcd/peer.key)
TASK [etcd_server_certificates : Validate permissions on the config dir] *******
ok: [192.168.122.85]
TASK [etcd : Set hostname and ip facts] ****************************************
ok: [192.168.122.85]
TASK [etcd : Install etcd] *****************************************************
skipping: [192.168.122.85]
TASK [etcd : Pull etcd container] **********************************************
changed: [192.168.122.85]
TASK [etcd : Install etcd container service file] ******************************
changed: [192.168.122.85]
TASK [etcd : Create configuration directory] ***********************************
skipping: [192.168.122.85]
TASK [etcd : Copy service file for etcd instance] ******************************
skipping: [192.168.122.85]
TASK [etcd : Create third party etcd service.d directory exists] ***************
skipping: [192.168.122.85]
TASK [etcd : Configure third part etcd service unit file] **********************
skipping: [192.168.122.85]
TASK [etcd : Ensure etcd datadir exists] ***************************************
changed: [192.168.122.85]
TASK [etcd : Ensure etcd datadir ownership for thirdparty datadir] *************
skipping: [192.168.122.85]
TASK [etcd : command] **********************************************************
skipping: [192.168.122.85]
TASK [etcd : Disable system etcd when containerized] ***************************
changed: [192.168.122.85]
TASK [etcd : Install etcd container service file] ******************************
ok: [192.168.122.85]
TASK [etcd : Pull etcd system container] ***************************************
skipping: [192.168.122.85]
TASK [etcd : Set initial Etcd cluster] *****************************************
skipping: [192.168.122.85]
TASK [etcd : Install or Update Etcd system container package] ******************
skipping: [192.168.122.85]
TASK [etcd : Validate permissions on the config dir] ***************************
ok: [192.168.122.85]
TASK [etcd : Write etcd global config file] ************************************
changed: [192.168.122.85]
TASK [etcd : Enable etcd] ******************************************************
changed: [192.168.122.85]
TASK [etcd_common : Install etcd for etcdctl] **********************************
fatal: [192.168.122.85]: FAILED! => {"failed": true, "msg": "The conditional check 'o' failed. The error was: error while evaluating conditional (o): 'o' is undefined\n\nThe error appears to have been in '/tmp/tmp.DIIPhdvi90/roles/etcd/tasks/main.yml': line 123, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- include_role:\n ^ here\n"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/tmp/tmp.DIIPhdvi90/playbooks/byo/config.retry
PLAY RECAP *********************************************************************
192.168.122.85 : ok=217 changed=44 unreachable=0 failed=1
localhost : ok=10 changed=0 unreachable=0 failed=0
Failure summary:
1. Host: 192.168.122.85
Play: Configure etcd
Task: etcd_common : Install etcd for etcdctl
Message: The conditional check 'o' failed. The error was: error while evaluating conditional (o): 'o' is undefined
The error appears to have been in '/tmp/tmp.DIIPhdvi90/roles/etcd/tasks/main.yml': line 123, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- include_role:
^ here
---
to retry, use: --limit @/atomic-host-tests/tests/openshift-ansible-test/main.retry
PLAY RECAP *********************************************************************
node1 : ok=6 changed=4 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment