I am having a few issues here.
-
govc when i run ansible-playbook deploy-aio-lab.yml
I get error
TASK [vmware : Create the vCenter folder by the same name as the cluster, only if it doesn't exist] ******************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "govc folder.create /OCP_Datacenter/vm/ocp4-r6zkw", "msg": "[Errno 8] Exec format error: b'govc'", "rc": 8}
So I have to go on tar the file and then comment out the the govc line in all.yml and command out the download and unarchive and make govc excutable lines in pre-install.yml
-
It is hard to understand if i need to create a coredns_vm and lb_vm and need addresses for them . Is that really needed?
-
after I moved passed the 2 above by "fixing / adding " I get stuck on this error:
TASK [coredns : Create CoreDNS transpiled ignition file] *************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct -d /tmp/ansible.xen1q_p3coredns --pretty --strict < /tmp/ansible.xen1q_p3coredns/coredns.fcc > /tmp/ansible.xen1q_p3coredns/transpiled_config.ign", "delta": "0:00:00.007524", "end": "2021-06-23 13:46:28.273505", "msg": "non-zero return code", "rc": 1, "start": "2021-06-23 13:46:28.265981", "stderr": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct: /lib64/libc.so.6: version GLIBC_2.32' not found (required by /root/ocp4-aio-vsphere-upi-lab/bin/fcct)", "stderr_lines": ["/root/ocp4-aio-vsphere-upi-lab/bin/fcct: /lib64/libc.so.6: version
GLIBC_2.32' not found (required by /root/ocp4-aio-vsphere-upi-lab/bin/fcct)"], "stdout": "", "stdout_lines": []}
I am not sure what it is saying here. I feel like it says i have the low level fcct package and I used this butane: https://github.com/coreos/butane/releases/download/v0.10.0/fcct-x86_64-unknown-linux-gnu in the all.yml file. I could not find a fcct package in any of the later releases just butane packages.
Here is the lastest glibc for 8.4 that is installed
Installed Packages
glibc.x86_64 2.28-151.el8
Expected Behavior
not sure at this point
Actual Behavior
TASK [coredns : Create CoreDNS transpiled ignition file] *************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct -d /tmp/ansible.xen1q_p3coredns --pretty --strict < /tmp/ansible.xen1q_p3coredns/coredns.fcc > /tmp/ansible.xen1q_p3coredns/transpiled_config.ign", "delta": "0:00:00.007524", "end": "2021-06-23 13:46:28.273505", "msg": "non-zero return code", "rc": 1, "start": "2021-06-23 13:46:28.265981", "stderr": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct: /lib64/libc.so.6: version GLIBC_2.32' not found (required by /root/ocp4-aio-vsphere-upi-lab/bin/fcct)", "stderr_lines": ["/root/ocp4-aio-vsphere-upi-lab/bin/fcct: /lib64/libc.so.6: version
GLIBC_2.32' not found (required by /root/ocp4-aio-vsphere-upi-lab/bin/fcct)"], "stdout": "", "stdout_lines": []}
Environment
OS: rhel 8.4
Ansible Version: 2.9.21-1.el8
OpenShift Version: 4.7
ESXi Version: 7
Commands used to run ansible-playbook
ansible-playbook deploy-aio-lab.yml
Ansible Playbook Output
[root@x150n151 ocp4-aio-vsphere-upi-lab]# ansible-playbook -vvv deploy-aio-lab.yml
ansible-playbook 2.9.21
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 3.6.8 (default, Mar 18 2021, 08:58:41) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
statically imported: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml
[DEPRECATION WARNING]: Included file '/root/ocp4-aio-vsphere-upi-lab/handle_proxy.yml' not found, however since this include is not explicitly marked as 'static: yes', we will
try and include it dynamically later. In the future, this will be an error unless 'static: no' is used on the include task. If you do not want missing includes to be considered
dynamic, use 'static: yes' on the include or set the global ansible.cfg options to make all includes static for tasks and/or handlers. This feature will be removed in version
2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
statically imported: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml
statically imported: /root/ocp4-aio-vsphere-upi-lab/roles/local_dns/tasks/etc_resolv.yml
statically imported: /root/ocp4-aio-vsphere-upi-lab/roles/local_dns/tasks/resolved.yml
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.
PLAYBOOK: deploy-aio-lab.yml *****************************************************************************************************************************************************
3 plays in deploy-aio-lab.yml
PLAY [localhost] *****************************************************************************************************************************************************************
META: ran handlers
TASK [cache : Check to make sure multiple OCP Versions not set] ******************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:1
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [cache : Set clients_url fact] **********************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:9
ok: [localhost] => {
"ansible_facts": {
"clients_url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7"
},
"changed": false
}
TASK [cache : Set clients_url fact] **********************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:15
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [cache : Set rhcos_url fact when specific_version is defined.] **************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:21
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [cache : Set rhcos_url fact when specific_version is not defined.] **********************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:27
ok: [localhost] => {
"ansible_facts": {
"rhcos_url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest"
},
"changed": false
}
TASK [cache : Fetch the content of the sha256sum.txt from the clients downloads page] ********************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:33
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474232.90332-367758-7153409167144
" && echo ansible-tmp-1624474232.90332-367758-7153409167144="echo /root/.ansible/tmp/ansible-tmp-1624474232.90332-367758-7153409167144
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/net_tools/basics/uri.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpd4ex1oe7 TO /root/.ansible/tmp/ansible-tmp-1624474232.90332-367758-7153409167144/AnsiballZ_uri.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474232.90332-367758-7153409167144/ /root/.ansible/tmp/ansible-tmp-1624474232.90332-367758-7153409167144/AnsiballZ_uri.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474232.90332-367758-7153409167144/AnsiballZ_uri.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474232.90332-367758-7153409167144/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"accept_ranges": "bytes",
"changed": false,
"connection": "close",
"content": "378fc049719b297fe44e0cc712f230cd1a68d40fb83d45630e5f3fae5b1a017f openshift-client-linux-4.7.16.tar.gz\n095e92469517639c594ea749e5685fa3faaec42b94e488e49929adc795ed6ec4 openshift-client-mac-4.7.16.tar.gz\n2f805eb8b31a285e1fdf527177e2209a2c237ac48e2c5e8967e65d5efe8e5e47 openshift-client-windows-4.7.16.zip\ncb9a4dfa12de459198b80eee6199db0e5f15db1d26587365d195a09847a99979 openshift-install-linux-4.7.16.tar.gz\n6dbdc4fa5290a1d2c4409092c73a9fa2e4a8df9393b6fc96584248c5917dc87d openshift-install-mac-4.7.16.tar.gz\n98910989bc6690dba9a5ec6f052122f4ff359eeea8ee02688b99c2097af6e4a7 release.txt\n535740fced908c3516778c8399a12bd7336c1979c46f56a2e05669f13fbb1bee opm-linux-4.7.16.tar.gz\n3ee541e36e3690936dea98d4d03c2c8d33a6458b95fb961a94f906cae4370994 opm-mac-4.7.16.tar.gz\nd738d5cbde72c73379b71ea64e41b6e9b51d8f209831cff5dc477d95560cfae0 opm-windows-4.7.16.tar.gz\n",
"content_length": "860",
"content_type": "text/plain; charset=UTF-8",
"cookies": {},
"cookies_string": "",
"date": "Wed, 23 Jun 2021 18:51:05 GMT",
"elapsed": 0,
"etag": ""35c-5c4759addd400"",
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"body": null,
"body_format": "raw",
"client_cert": null,
"client_key": null,
"content": null,
"creates": null,
"delimiter": null,
"dest": null,
"directory_mode": null,
"follow": false,
"follow_redirects": "safe",
"force": false,
"force_basic_auth": false,
"group": null,
"headers": {},
"http_agent": "ansible-httpget",
"method": "GET",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"removes": null,
"return_content": true,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"status_code": [
200
],
"timeout": 30,
"unix_socket": null,
"unsafe_writes": null,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/sha256sum.txt",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": true
}
},
"last_modified": "Fri, 11 Jun 2021 04:04:32 GMT",
"msg": "OK (860 bytes)",
"redirected": false,
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
"status": 200,
"strict_transport_security": "max-age=15768000, includeSubDomains",
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/sha256sum.txt"
}
TASK [cache : Fetch the content of the sha256sum.txt from the rhcos downloads page] **********************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:39
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474233.399643-367777-248943595528026
" && echo ansible-tmp-1624474233.399643-367777-248943595528026="echo /root/.ansible/tmp/ansible-tmp-1624474233.399643-367777-248943595528026
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/net_tools/basics/uri.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp5wi44qqy TO /root/.ansible/tmp/ansible-tmp-1624474233.399643-367777-248943595528026/AnsiballZ_uri.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474233.399643-367777-248943595528026/ /root/.ansible/tmp/ansible-tmp-1624474233.399643-367777-248943595528026/AnsiballZ_uri.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474233.399643-367777-248943595528026/AnsiballZ_uri.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474233.399643-367777-248943595528026/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"accept_ranges": "bytes",
"changed": false,
"connection": "close",
"content": "62e55bf5bc40a62598a4089d6798cf137a0d71b00d849d7c94d26c566349fd11 rhcos-4.7.13-x86_64-aws.x86_64.vmdk.gz\nda927bd6dcafd567dda92c0089a3104355fc2f94a8ef6fcd08140f0de1fcae9b rhcos-4.7.13-x86_64-azure.x86_64.vhd.gz\n70fd680a066f66df897ea69825ef61bb7a9ba3754652f528fa897857d8dcab58 rhcos-4.7.13-x86_64-gcp.x86_64.tar.gz\n69f03b9892a9012e84c53382eea6901063ed3df0dabf02aa72ca2b0850b0f01a rhcos-4.7.13-x86_64-ibmcloud.x86_64.qcow2.gz\nda9620ffb5f9c9025c7b26dddd2364ca60e745165eb650f944aa9163141ff390 rhcos-4.7.13-x86_64-live-initramfs.x86_64.img\n9f2a35ee745e32584d9671d0098f523f4264ff41ad0cfc620b254bc2f5b256a4 rhcos-4.7.13-x86_64-live-kernel-x86_64\n353fc501690ccf1836383a0f43f815551b099bcb8ba7ca964b6a322e28f5def1 rhcos-4.7.13-x86_64-live-rootfs.x86_64.img\n2bf11b6a81b022c02f052f9f600b5d7520a6bfb925ed60f2417a64eac38b2ff8 rhcos-4.7.13-x86_64-live.x86_64.iso\n16a0e2c8b894abb39e864fe183f6e732526124b3a7989a4d272b50c8304f9e06 rhcos-4.7.13-x86_64-metal4k.x86_64.raw.gz\nf830f9dea3be56ee73a084af4e517000bd2f560c1b150c3169417fd802c7b705 rhcos-4.7.13-x86_64-metal.x86_64.raw.gz\n156e695b0a834cc9efe1ef95609cec078c65f8030be8c68b8fe946f82a65dd3a rhcos-4.7.13-x86_64-openstack.x86_64.qcow2.gz\n36bc6b6b187c803ad6a8c641c9e8051d383761a747296d58450a1b299b96ca08 rhcos-4.7.13-x86_64-ostree.x86_64.tar\n4be67c5c1a3ac7ca67154244325f2bbf4d2ca872716e650c79e52eff4c512140 rhcos-4.7.13-x86_64-qemu.x86_64.qcow2.gz\nbb7d5f4246aa7b2985e1f49a2aafde8df0bf56789814647221a3a374393702e8 rhcos-4.7.13-x86_64-vmware.x86_64.ova\n62e55bf5bc40a62598a4089d6798cf137a0d71b00d849d7c94d26c566349fd11 rhcos-aws.x86_64.vmdk.gz\nda927bd6dcafd567dda92c0089a3104355fc2f94a8ef6fcd08140f0de1fcae9b rhcos-azure.x86_64.vhd.gz\n70fd680a066f66df897ea69825ef61bb7a9ba3754652f528fa897857d8dcab58 rhcos-gcp.x86_64.tar.gz\n69f03b9892a9012e84c53382eea6901063ed3df0dabf02aa72ca2b0850b0f01a rhcos-ibmcloud.x86_64.qcow2.gz\nda9620ffb5f9c9025c7b26dddd2364ca60e745165eb650f944aa9163141ff390 rhcos-live-initramfs.x86_64.img\n9f2a35ee745e32584d9671d0098f523f4264ff41ad0cfc620b254bc2f5b256a4 rhcos-live-kernel-x86_64\n353fc501690ccf1836383a0f43f815551b099bcb8ba7ca964b6a322e28f5def1 rhcos-live-rootfs.x86_64.img\n2bf11b6a81b022c02f052f9f600b5d7520a6bfb925ed60f2417a64eac38b2ff8 rhcos-live.x86_64.iso\n16a0e2c8b894abb39e864fe183f6e732526124b3a7989a4d272b50c8304f9e06 rhcos-metal4k.x86_64.raw.gz\nf830f9dea3be56ee73a084af4e517000bd2f560c1b150c3169417fd802c7b705 rhcos-metal.x86_64.raw.gz\n156e695b0a834cc9efe1ef95609cec078c65f8030be8c68b8fe946f82a65dd3a rhcos-openstack.x86_64.qcow2.gz\n36bc6b6b187c803ad6a8c641c9e8051d383761a747296d58450a1b299b96ca08 rhcos-ostree.x86_64.tar\n4be67c5c1a3ac7ca67154244325f2bbf4d2ca872716e650c79e52eff4c512140 rhcos-qemu.x86_64.qcow2.gz\nbb7d5f4246aa7b2985e1f49a2aafde8df0bf56789814647221a3a374393702e8 rhcos-vmware.x86_64.ova\n",
"content_length": "2794",
"content_type": "text/plain; charset=UTF-8",
"cookies": {},
"cookies_string": "",
"date": "Wed, 23 Jun 2021 18:51:05 GMT",
"elapsed": 0,
"etag": ""aea-5c4f76715c740"",
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"body": null,
"body_format": "raw",
"client_cert": null,
"client_key": null,
"content": null,
"creates": null,
"delimiter": null,
"dest": null,
"directory_mode": null,
"follow": false,
"follow_redirects": "safe",
"force": false,
"force_basic_auth": false,
"group": null,
"headers": {},
"http_agent": "ansible-httpget",
"method": "GET",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"removes": null,
"return_content": true,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"status_code": [
200
],
"timeout": 30,
"unix_socket": null,
"unsafe_writes": null,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/sha256sum.txt",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": true
}
},
"last_modified": "Thu, 17 Jun 2021 14:55:49 GMT",
"msg": "OK (2794 bytes)",
"redirected": false,
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
"status": 200,
"strict_transport_security": "max-age=15768000, includeSubDomains",
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/sha256sum.txt"
}
TASK [cache : Set the download facts for localhost, which will be used later] ****************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/cache/tasks/main.yml:45
ok: [localhost] => (item={'key': 'ova', 'value': 'https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/rhcos-4.7.13-x86_64-vmware.x86_64.ova'}) => {
"ansible_facts": {
"download": {
"butane": "https://github.com/coreos/butane/releases/download/v0.12.1/butane-x86_64-unknown-linux-gnu",
"channel": "stable",
"ova": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/rhcos-4.7.13-x86_64-vmware.x86_64.ova",
"version": 4.7
}
},
"ansible_loop_var": "item",
"changed": false,
"item": {
"key": "ova",
"value": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/rhcos-4.7.13-x86_64-vmware.x86_64.ova"
}
}
ok: [localhost] => (item={'key': 'openshiftClient', 'value': 'https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-client-linux-4.7.16.tar.gz'}) => {
"ansible_facts": {
"download": {
"butane": "https://github.com/coreos/butane/releases/download/v0.12.1/butane-x86_64-unknown-linux-gnu",
"channel": "stable",
"openshiftClient": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-client-linux-4.7.16.tar.gz",
"ova": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/rhcos-4.7.13-x86_64-vmware.x86_64.ova",
"version": 4.7
}
},
"ansible_loop_var": "item",
"changed": false,
"item": {
"key": "openshiftClient",
"value": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-client-linux-4.7.16.tar.gz"
}
}
ok: [localhost] => (item={'key': 'openshiftInstall', 'value': 'https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-install-linux-4.7.16.tar.gz'}) => {
"ansible_facts": {
"download": {
"butane": "https://github.com/coreos/butane/releases/download/v0.12.1/butane-x86_64-unknown-linux-gnu",
"channel": "stable",
"openshiftClient": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-client-linux-4.7.16.tar.gz",
"openshiftInstall": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-install-linux-4.7.16.tar.gz",
"ova": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/rhcos-4.7.13-x86_64-vmware.x86_64.ova",
"version": 4.7
}
},
"ansible_loop_var": "item",
"changed": false,
"item": {
"key": "openshiftInstall",
"value": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-install-linux-4.7.16.tar.gz"
}
}
META: ran handlers
META: ran handlers
PLAY [localhost] *****************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/deploy-aio-lab.yml:9
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474233.8529847-367800-20429423080187
" && echo ansible-tmp-1624474233.8529847-367800-20429423080187="echo /root/.ansible/tmp/ansible-tmp-1624474233.8529847-367800-20429423080187
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/system/setup.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp2rih7hzk TO /root/.ansible/tmp/ansible-tmp-1624474233.8529847-367800-20429423080187/AnsiballZ_setup.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474233.8529847-367800-20429423080187/ /root/.ansible/tmp/ansible-tmp-1624474233.8529847-367800-20429423080187/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474233.8529847-367800-20429423080187/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474233.8529847-367800-20429423080187/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
META: ran handlers
TASK [common : Set the datacenter variable] **************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:2
ok: [localhost] => {
"ansible_facts": {
"datacenter": "Lop_OCP_Datacenter"
},
"changed": false
}
TASK [common : get service facts] ************************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:6
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : Install the necessary linux packages which will be needed later in the ansible run] *******************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:10
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474234.9056923-367871-241426149288326
" && echo ansible-tmp-1624474234.9056923-367871-241426149288326="echo /root/.ansible/tmp/ansible-tmp-1624474234.9056923-367871-241426149288326
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/packaging/os/dnf.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp74gcduyq TO /root/.ansible/tmp/ansible-tmp-1624474234.9056923-367871-241426149288326/AnsiballZ_dnf.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474234.9056923-367871-241426149288326/ /root/.ansible/tmp/ansible-tmp-1624474234.9056923-367871-241426149288326/AnsiballZ_dnf.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474234.9056923-367871-241426149288326/AnsiballZ_dnf.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474234.9056923-367871-241426149288326/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"allow_downgrade": false,
"autoremove": false,
"bugfix": false,
"conf_file": null,
"disable_excludes": null,
"disable_gpg_check": false,
"disable_plugin": [],
"disablerepo": [],
"download_dir": null,
"download_only": false,
"enable_plugin": [],
"enablerepo": [],
"exclude": [],
"install_repoquery": true,
"install_weak_deps": true,
"installroot": "/",
"list": null,
"lock_timeout": 30,
"name": [
"patch",
"jq"
],
"releasever": null,
"security": false,
"skip_broken": false,
"state": null,
"update_cache": false,
"update_only": false,
"validate_certs": true
}
},
"msg": "Nothing to do",
"rc": 0,
"results": []
}
TASK [common : Display Ansible's Python version] *********************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:17
ok: [localhost] => {
"ansible_python_version": "3.6.8"
}
TASK [common : Install python-pip or python2-pip if Ansible uses Python 2] *******************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:22
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : Install python3-pip if Ansible uses Python 3] *********************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:29
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474239.5154626-367903-149084411408719
" && echo ansible-tmp-1624474239.5154626-367903-149084411408719="echo /root/.ansible/tmp/ansible-tmp-1624474239.5154626-367903-149084411408719
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/packaging/os/dnf.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpbqf6ehpj TO /root/.ansible/tmp/ansible-tmp-1624474239.5154626-367903-149084411408719/AnsiballZ_dnf.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474239.5154626-367903-149084411408719/ /root/.ansible/tmp/ansible-tmp-1624474239.5154626-367903-149084411408719/AnsiballZ_dnf.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474239.5154626-367903-149084411408719/AnsiballZ_dnf.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474239.5154626-367903-149084411408719/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"allow_downgrade": false,
"autoremove": false,
"bugfix": false,
"conf_file": null,
"disable_excludes": null,
"disable_gpg_check": false,
"disable_plugin": [],
"disablerepo": [],
"download_dir": null,
"download_only": false,
"enable_plugin": [],
"enablerepo": [],
"exclude": [],
"install_repoquery": true,
"install_weak_deps": true,
"installroot": "/",
"list": null,
"lock_timeout": 30,
"name": [
"python3-pip"
],
"releasever": null,
"security": false,
"skip_broken": false,
"state": null,
"update_cache": false,
"update_only": false,
"validate_certs": true
}
},
"msg": "Nothing to do",
"rc": 0,
"results": []
}
TASK [common : Install pyvmomi] **************************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:36
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474241.082841-367920-80672803434141
" && echo ansible-tmp-1624474241.082841-367920-80672803434141="echo /root/.ansible/tmp/ansible-tmp-1624474241.082841-367920-80672803434141
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/packaging/language/pip.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp61a_2dfl TO /root/.ansible/tmp/ansible-tmp-1624474241.082841-367920-80672803434141/AnsiballZ_pip.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474241.082841-367920-80672803434141/ /root/.ansible/tmp/ansible-tmp-1624474241.082841-367920-80672803434141/AnsiballZ_pip.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474241.082841-367920-80672803434141/AnsiballZ_pip.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474241.082841-367920-80672803434141/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"cmd": [
"/usr/bin/pip3",
"install",
"pyvmomi"
],
"invocation": {
"module_args": {
"chdir": null,
"editable": false,
"executable": null,
"extra_args": null,
"name": [
"pyvmomi"
],
"requirements": null,
"state": "present",
"umask": null,
"version": null,
"virtualenv": null,
"virtualenv_command": "virtualenv",
"virtualenv_python": null,
"virtualenv_site_packages": false
}
},
"name": [
"pyvmomi"
],
"requirements": null,
"state": "present",
"stderr": "WARNING: Running pip install with root privileges is generally not a good idea. Try pip3 install --user
instead.\n",
"stderr_lines": [
"WARNING: Running pip install with root privileges is generally not a good idea. Try pip3 install --user
instead."
],
"stdout": "Requirement already satisfied: pyvmomi in /usr/local/lib/python3.6/site-packages\nRequirement already satisfied: requests>=2.3.0 in /usr/lib/python3.6/site-packages (from pyvmomi)\nRequirement already satisfied: six>=1.7.3 in /usr/lib/python3.6/site-packages (from pyvmomi)\nRequirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.6/site-packages (from requests>=2.3.0->pyvmomi)\nRequirement already satisfied: idna<2.8,>=2.5 in /usr/lib/python3.6/site-packages (from requests>=2.3.0->pyvmomi)\nRequirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/lib/python3.6/site-packages (from requests>=2.3.0->pyvmomi)\n",
"stdout_lines": [
"Requirement already satisfied: pyvmomi in /usr/local/lib/python3.6/site-packages",
"Requirement already satisfied: requests>=2.3.0 in /usr/lib/python3.6/site-packages (from pyvmomi)",
"Requirement already satisfied: six>=1.7.3 in /usr/lib/python3.6/site-packages (from pyvmomi)",
"Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.6/site-packages (from requests>=2.3.0->pyvmomi)",
"Requirement already satisfied: idna<2.8,>=2.5 in /usr/lib/python3.6/site-packages (from requests>=2.3.0->pyvmomi)",
"Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/lib/python3.6/site-packages (from requests>=2.3.0->pyvmomi)"
],
"version": null,
"virtualenv": null
}
TASK [common : Clean up existing bin, install-dir and downloads folders] *********************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:41
skipping: [localhost] => (item=bin) => {
"ansible_loop_var": "item",
"changed": false,
"item": "bin",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=install-dir) => {
"ansible_loop_var": "item",
"changed": false,
"item": "install-dir",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => (item=downloads) => {
"ansible_loop_var": "item",
"changed": false,
"item": "downloads",
"skip_reason": "Conditional result was False"
}
TASK [common : Must always clean install-dir] ************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:48
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474242.0872955-367952-2153329831094
" && echo ansible-tmp-1624474242.0872955-367952-2153329831094="echo /root/.ansible/tmp/ansible-tmp-1624474242.0872955-367952-2153329831094
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpqjv2lcsm TO /root/.ansible/tmp/ansible-tmp-1624474242.0872955-367952-2153329831094/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474242.0872955-367952-2153329831094/ /root/.ansible/tmp/ansible-tmp-1624474242.0872955-367952-2153329831094/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474242.0872955-367952-2153329831094/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474242.0872955-367952-2153329831094/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=install-dir) => {
"ansible_loop_var": "item",
"changed": true,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"state": "absent"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"path_content": {
"directories": [
"/root/ocp4-aio-vsphere-upi-lab/install-dir/auth"
],
"files": [
"/root/ocp4-aio-vsphere-upi-lab/install-dir/install-config.yaml.orig",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/.openshift_install.log",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/.openshift_install_state.json",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/master.ign",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/worker.ign",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/bootstrap.ign",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/metadata.json",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/auth/kubeconfig",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/auth/kubeadmin-password"
]
},
"state": "directory"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"item": "install-dir",
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"state": "absent"
}
TASK [common : Create bin, install-dir and downloads folders] ********************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:55
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474242.449731-367969-207092411684066
" && echo ansible-tmp-1624474242.449731-367969-207092411684066="echo /root/.ansible/tmp/ansible-tmp-1624474242.449731-367969-207092411684066
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp9u8oqjeu TO /root/.ansible/tmp/ansible-tmp-1624474242.449731-367969-207092411684066/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474242.449731-367969-207092411684066/ /root/.ansible/tmp/ansible-tmp-1624474242.449731-367969-207092411684066/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474242.449731-367969-207092411684066/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474242.449731-367969-207092411684066/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item=bin) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/bin"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/bin"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": "0755",
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/bin",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "bin",
"mode": "0755",
"owner": "root",
"path": "/root/ocp4-aio-vsphere-upi-lab/bin",
"secontext": "unconfined_u:object_r:admin_home_t:s0",
"size": 97,
"state": "directory",
"uid": 0
}
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474242.6458719-367969-159228549155589
" && echo ansible-tmp-1624474242.6458719-367969-159228549155589="echo /root/.ansible/tmp/ansible-tmp-1624474242.6458719-367969-159228549155589
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmph7ec88i1 TO /root/.ansible/tmp/ansible-tmp-1624474242.6458719-367969-159228549155589/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474242.6458719-367969-159228549155589/ /root/.ansible/tmp/ansible-tmp-1624474242.6458719-367969-159228549155589/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474242.6458719-367969-159228549155589/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474242.6458719-367969-159228549155589/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => (item=downloads) => {
"ansible_loop_var": "item",
"changed": false,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/downloads"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/downloads"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": "0755",
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/downloads",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "downloads",
"mode": "0755",
"owner": "root",
"path": "/root/ocp4-aio-vsphere-upi-lab/downloads",
"secontext": "unconfined_u:object_r:admin_home_t:s0",
"size": 101,
"state": "directory",
"uid": 0
}
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474242.8370914-367969-60993194503716
" && echo ansible-tmp-1624474242.8370914-367969-60993194503716="echo /root/.ansible/tmp/ansible-tmp-1624474242.8370914-367969-60993194503716
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpispuqnf6 TO /root/.ansible/tmp/ansible-tmp-1624474242.8370914-367969-60993194503716/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474242.8370914-367969-60993194503716/ /root/.ansible/tmp/ansible-tmp-1624474242.8370914-367969-60993194503716/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474242.8370914-367969-60993194503716/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474242.8370914-367969-60993194503716/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=install-dir) => {
"ansible_loop_var": "item",
"changed": true,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"state": "directory"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"state": "absent"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": "0755",
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"item": "install-dir",
"mode": "0755",
"owner": "root",
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir",
"secontext": "unconfined_u:object_r:admin_home_t:s0",
"size": 6,
"state": "directory",
"uid": 0
}
TASK [common : Download butane] **************************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:62
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474243.090905-368016-137104533901832
" && echo ansible-tmp-1624474243.090905-368016-137104533901832="echo /root/.ansible/tmp/ansible-tmp-1624474243.090905-368016-137104533901832
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/net_tools/basics/get_url.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpqddvcinv TO /root/.ansible/tmp/ansible-tmp-1624474243.090905-368016-137104533901832/AnsiballZ_get_url.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474243.090905-368016-137104533901832/ /root/.ansible/tmp/ansible-tmp-1624474243.090905-368016-137104533901832/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474243.090905-368016-137104533901832/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474243.090905-368016-137104533901832/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"dest": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct",
"elapsed": 0,
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"checksum": "",
"client_cert": null,
"client_key": null,
"content": null,
"delimiter": null,
"dest": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct",
"directory_mode": null,
"follow": false,
"force": false,
"force_basic_auth": false,
"group": null,
"headers": null,
"http_agent": "ansible-httpget",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"sha256sum": "",
"src": null,
"timeout": 10,
"tmp_dest": null,
"unsafe_writes": null,
"url": "https://github.com/coreos/butane/releases/download/v0.12.1/butane-x86_64-unknown-linux-gnu",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": false
}
},
"mode": "0775",
"msg": "HTTP Error 304: Not Modified",
"owner": "root",
"secontext": "system_u:object_r:admin_home_t:s0",
"size": 7552936,
"state": "file",
"uid": 0,
"url": "https://github.com/coreos/butane/releases/download/v0.12.1/butane-x86_64-unknown-linux-gnu"
}
TASK [common : Make butane executable] *******************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:68
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474243.8178794-368033-280042974142830
" && echo ansible-tmp-1624474243.8178794-368033-280042974142830="echo /root/.ansible/tmp/ansible-tmp-1624474243.8178794-368033-280042974142830
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpk8ce5xui TO /root/.ansible/tmp/ansible-tmp-1624474243.8178794-368033-280042974142830/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474243.8178794-368033-280042974142830/ /root/.ansible/tmp/ansible-tmp-1624474243.8178794-368033-280042974142830/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474243.8178794-368033-280042974142830/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474243.8178794-368033-280042974142830/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct"
}
},
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": "775",
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "file",
"unsafe_writes": null
}
},
"mode": "0775",
"owner": "root",
"path": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct",
"secontext": "system_u:object_r:admin_home_t:s0",
"size": 7552936,
"state": "file",
"uid": 0
}
TASK [common : Download the oc client binary] ************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:73
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474244.069326-368050-68151928157125
" && echo ansible-tmp-1624474244.069326-368050-68151928157125="echo /root/.ansible/tmp/ansible-tmp-1624474244.069326-368050-68151928157125
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/net_tools/basics/get_url.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp49ooexoa TO /root/.ansible/tmp/ansible-tmp-1624474244.069326-368050-68151928157125/AnsiballZ_get_url.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474244.069326-368050-68151928157125/ /root/.ansible/tmp/ansible-tmp-1624474244.069326-368050-68151928157125/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474244.069326-368050-68151928157125/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474244.069326-368050-68151928157125/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"dest": "/root/ocp4-aio-vsphere-upi-lab/downloads/oc_client.tar.gz",
"elapsed": 0,
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"checksum": "",
"client_cert": null,
"client_key": null,
"content": null,
"delimiter": null,
"dest": "/root/ocp4-aio-vsphere-upi-lab/downloads/oc_client.tar.gz",
"directory_mode": null,
"follow": false,
"force": false,
"force_basic_auth": false,
"group": null,
"headers": null,
"http_agent": "ansible-httpget",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"sha256sum": "",
"src": null,
"timeout": 10,
"tmp_dest": null,
"unsafe_writes": null,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-client-linux-4.7.16.tar.gz",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": false
}
},
"mode": "0644",
"msg": "HTTP Error 304: Not Modified",
"owner": "root",
"secontext": "system_u:object_r:admin_home_t:s0",
"size": 23835011,
"state": "file",
"uid": 0,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-client-linux-4.7.16.tar.gz"
}
TASK [common : Download the openshift-install binary] ****************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:80
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474244.4466815-368067-189684130492059
" && echo ansible-tmp-1624474244.4466815-368067-189684130492059="echo /root/.ansible/tmp/ansible-tmp-1624474244.4466815-368067-189684130492059
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/net_tools/basics/get_url.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpqpupt9fn TO /root/.ansible/tmp/ansible-tmp-1624474244.4466815-368067-189684130492059/AnsiballZ_get_url.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474244.4466815-368067-189684130492059/ /root/.ansible/tmp/ansible-tmp-1624474244.4466815-368067-189684130492059/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474244.4466815-368067-189684130492059/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474244.4466815-368067-189684130492059/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"dest": "/root/ocp4-aio-vsphere-upi-lab/downloads/openshift_install.tar.gz",
"elapsed": 0,
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"checksum": "",
"client_cert": null,
"client_key": null,
"content": null,
"delimiter": null,
"dest": "/root/ocp4-aio-vsphere-upi-lab/downloads/openshift_install.tar.gz",
"directory_mode": null,
"follow": false,
"force": false,
"force_basic_auth": false,
"group": null,
"headers": null,
"http_agent": "ansible-httpget",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"sha256sum": "",
"src": null,
"timeout": 10,
"tmp_dest": null,
"unsafe_writes": null,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-install-linux-4.7.16.tar.gz",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": false
}
},
"mode": "0644",
"msg": "HTTP Error 304: Not Modified",
"owner": "root",
"secontext": "system_u:object_r:admin_home_t:s0",
"size": 89560757,
"state": "file",
"uid": 0,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable-4.7/openshift-install-linux-4.7.16.tar.gz"
}
TASK [common : Unarchive oc client] **********************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:87
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : Unarchive openshift-install] **************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:94
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : Copy install-config.yaml file into install-dir] *******************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:115
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347
" && echo ansible-tmp-1624474244.9531388-368088-235438115307347="echo /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/stat.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpmbq9l6er TO /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/AnsiballZ_stat.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/ /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp4i3skgm1/install-config.yaml.j2 TO /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/ /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/source && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/copy.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpi2vv0xoj TO /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/AnsiballZ_copy.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/ /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "b3cd648d9c5753a03c85d7e64cab94d6da2a2304",
"dest": "/root/ocp4-aio-vsphere-upi-lab/install-dir/install-config.yaml",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "install-config.yaml.j2",
"attributes": null,
"backup": false,
"checksum": "b3cd648d9c5753a03c85d7e64cab94d6da2a2304",
"content": null,
"delimiter": null,
"dest": "/root/ocp4-aio-vsphere-upi-lab/install-dir/install-config.yaml",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": "0664",
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "eb9f6551f9f2b4975b0d603aafc81449",
"mode": "0664",
"owner": "root",
"secontext": "system_u:object_r:admin_home_t:s0",
"size": 4039,
"src": "/root/.ansible/tmp/ansible-tmp-1624474244.9531388-368088-235438115307347/source",
"state": "file",
"uid": 0
}
TASK [common : Run steps pertaining to proxy, if any] ****************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:121
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : Backup the install-config.yaml file] ******************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/pre_install.yml:127
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363
" && echo ansible-tmp-1624474245.657386-368116-115858261432363="echo /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/stat.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp6fzghogv TO /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/AnsiballZ_stat.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/ /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> PUT /root/ocp4-aio-vsphere-upi-lab/install-dir/install-config.yaml TO /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/ /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/source && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/copy.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpbrtq6trw TO /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/AnsiballZ_copy.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/ /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "b3cd648d9c5753a03c85d7e64cab94d6da2a2304",
"dest": "/root/ocp4-aio-vsphere-upi-lab/install-dir/install-config.yaml.orig",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "install-config.yaml",
"attributes": null,
"backup": false,
"checksum": "b3cd648d9c5753a03c85d7e64cab94d6da2a2304",
"content": null,
"delimiter": null,
"dest": "/root/ocp4-aio-vsphere-upi-lab/install-dir/install-config.yaml.orig",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": "0664",
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "eb9f6551f9f2b4975b0d603aafc81449",
"mode": "0664",
"owner": "root",
"secontext": "system_u:object_r:admin_home_t:s0",
"size": 4039,
"src": "/root/.ansible/tmp/ansible-tmp-1624474245.657386-368116-115858261432363/source",
"state": "file",
"uid": 0
}
TASK [common : Generate the ignition manifests] **********************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:1
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474246.0738294-368142-101756440962538
" && echo ansible-tmp-1624474246.0738294-368142-101756440962538="echo /root/.ansible/tmp/ansible-tmp-1624474246.0738294-368142-101756440962538
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp9txq_y5r TO /root/.ansible/tmp/ansible-tmp-1624474246.0738294-368142-101756440962538/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474246.0738294-368142-101756440962538/ /root/.ansible/tmp/ansible-tmp-1624474246.0738294-368142-101756440962538/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474246.0738294-368142-101756440962538/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474246.0738294-368142-101756440962538/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"openshift-install",
"create",
"manifests",
"--dir=/root/ocp4-aio-vsphere-upi-lab/install-dir"
],
"delta": "0:00:01.174077",
"end": "2021-06-23 14:50:47.517495",
"invocation": {
"module_args": {
"_raw_params": "openshift-install create manifests --dir=/root/ocp4-aio-vsphere-upi-lab/install-dir",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:46.343418",
"stderr": "level=info msg=Consuming Install Config from target directory\nlevel=warning msg=Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings\nlevel=info msg=Manifests created in: /root/ocp4-aio-vsphere-upi-lab/install-dir/manifests and /root/ocp4-aio-vsphere-upi-lab/install-dir/openshift",
"stderr_lines": [
"level=info msg=Consuming Install Config from target directory",
"level=warning msg=Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings",
"level=info msg=Manifests created in: /root/ocp4-aio-vsphere-upi-lab/install-dir/manifests and /root/ocp4-aio-vsphere-upi-lab/install-dir/openshift"
],
"stdout": "",
"stdout_lines": []
}
TASK [common : Apply the patch to set mastersSchedulable to false] ***************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:4
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427
" && echo ansible-tmp-1624474247.6229417-368167-81973535364427="echo /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427
" ) && sleep 0'
<127.0.0.1> PUT /root/ocp4-aio-vsphere-upi-lab/roles/common/files/cluster-scheduler-02-config.yml.patch TO /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/cluster-scheduler-02-config.yml.patch
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/ /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/cluster-scheduler-02-config.yml.patch && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/patch.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp0zkew5u6 TO /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/AnsiballZ_patch.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/ /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/AnsiballZ_patch.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/AnsiballZ_patch.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"invocation": {
"module_args": {
"backup": false,
"basedir": null,
"binary": false,
"dest": "/root/ocp4-aio-vsphere-upi-lab/install-dir/manifests/cluster-scheduler-02-config.yml",
"remote_src": false,
"src": "/root/.ansible/tmp/ansible-tmp-1624474247.6229417-368167-81973535364427/cluster-scheduler-02-config.yml.patch",
"state": "present",
"strip": 0
}
}
}
TASK [common : Remove Master Machine manifests] **********************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:9
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474248.0033748-368190-11061876500336
" && echo ansible-tmp-1624474248.0033748-368190-11061876500336="echo /root/.ansible/tmp/ansible-tmp-1624474248.0033748-368190-11061876500336
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpk3xwcok8 TO /root/.ansible/tmp/ansible-tmp-1624474248.0033748-368190-11061876500336/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474248.0033748-368190-11061876500336/ /root/.ansible/tmp/ansible-tmp-1624474248.0033748-368190-11061876500336/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474248.0033748-368190-11061876500336/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474248.0033748-368190-11061876500336/ > /dev/null 2>&1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
changed: [localhost] => (item=/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-0.yaml) => {
"ansible_loop_var": "item",
"changed": true,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-0.yaml",
"state": "absent"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-0.yaml",
"state": "file"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-0.yaml",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"item": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-0.yaml",
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-0.yaml",
"state": "absent"
}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474248.2039258-368190-141110369656142
" && echo ansible-tmp-1624474248.2039258-368190-141110369656142="echo /root/.ansible/tmp/ansible-tmp-1624474248.2039258-368190-141110369656142
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpryoijfav TO /root/.ansible/tmp/ansible-tmp-1624474248.2039258-368190-141110369656142/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474248.2039258-368190-141110369656142/ /root/.ansible/tmp/ansible-tmp-1624474248.2039258-368190-141110369656142/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474248.2039258-368190-141110369656142/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474248.2039258-368190-141110369656142/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-1.yaml) => {
"ansible_loop_var": "item",
"changed": true,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-1.yaml",
"state": "absent"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-1.yaml",
"state": "file"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-1.yaml",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"item": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-1.yaml",
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-1.yaml",
"state": "absent"
}
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474248.38475-368190-28038434406833
" && echo ansible-tmp-1624474248.38475-368190-28038434406833="echo /root/.ansible/tmp/ansible-tmp-1624474248.38475-368190-28038434406833
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpx7hb5rjw TO /root/.ansible/tmp/ansible-tmp-1624474248.38475-368190-28038434406833/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474248.38475-368190-28038434406833/ /root/.ansible/tmp/ansible-tmp-1624474248.38475-368190-28038434406833/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474248.38475-368190-28038434406833/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474248.38475-368190-28038434406833/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => (item=/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-2.yaml) => {
"ansible_loop_var": "item",
"changed": true,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-2.yaml",
"state": "absent"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-2.yaml",
"state": "file"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-2.yaml",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"item": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-2.yaml",
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_master-machines-2.yaml",
"state": "absent"
}
TASK [common : Remove Worker MachineSet manifest] ********************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:16
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474248.6363955-368237-129848626698310
" && echo ansible-tmp-1624474248.6363955-368237-129848626698310="echo /root/.ansible/tmp/ansible-tmp-1624474248.6363955-368237-129848626698310
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp23ck6n7z TO /root/.ansible/tmp/ansible-tmp-1624474248.6363955-368237-129848626698310/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474248.6363955-368237-129848626698310/ /root/.ansible/tmp/ansible-tmp-1624474248.6363955-368237-129848626698310/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474248.6363955-368237-129848626698310/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474248.6363955-368237-129848626698310/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_worker-machineset-0.yaml",
"state": "absent"
},
"before": {
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_worker-machineset-0.yaml",
"state": "file"
}
},
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": null,
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": null,
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_worker-machineset-0.yaml",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null
}
},
"path": "/root/ocp4-aio-vsphere-upi-lab/install-dir/openshift/99_openshift-cluster-api_worker-machineset-0.yaml",
"state": "absent"
}
TASK [common : Configure custom ntp servers for masters and workers] *************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:21
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : Generate the ignition configs] ************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:25
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474248.9584093-368256-202540876640879
" && echo ansible-tmp-1624474248.9584093-368256-202540876640879="echo /root/.ansible/tmp/ansible-tmp-1624474248.9584093-368256-202540876640879
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpdumu_bub TO /root/.ansible/tmp/ansible-tmp-1624474248.9584093-368256-202540876640879/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474248.9584093-368256-202540876640879/ /root/.ansible/tmp/ansible-tmp-1624474248.9584093-368256-202540876640879/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474248.9584093-368256-202540876640879/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474248.9584093-368256-202540876640879/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"openshift-install",
"create",
"ignition-configs",
"--dir=/root/ocp4-aio-vsphere-upi-lab/install-dir"
],
"delta": "0:00:04.541314",
"end": "2021-06-23 14:50:53.648910",
"invocation": {
"module_args": {
"_raw_params": "openshift-install create ignition-configs --dir=/root/ocp4-aio-vsphere-upi-lab/install-dir",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:49.107596",
"stderr": "level=info msg=Consuming Openshift Manifests from target directory\nlevel=info msg=Consuming Worker Machines from target directory\nlevel=info msg=Consuming OpenShift Install (Manifests) from target directory\nlevel=info msg=Consuming Master Machines from target directory\nlevel=info msg=Consuming Common Manifests from target directory\nlevel=info msg=Ignition-Configs created in: /root/ocp4-aio-vsphere-upi-lab/install-dir and /root/ocp4-aio-vsphere-upi-lab/install-dir/auth",
"stderr_lines": [
"level=info msg=Consuming Openshift Manifests from target directory",
"level=info msg=Consuming Worker Machines from target directory",
"level=info msg=Consuming OpenShift Install (Manifests) from target directory",
"level=info msg=Consuming Master Machines from target directory",
"level=info msg=Consuming Common Manifests from target directory",
"level=info msg=Ignition-Configs created in: /root/ocp4-aio-vsphere-upi-lab/install-dir and /root/ocp4-aio-vsphere-upi-lab/install-dir/auth"
],
"stdout": "",
"stdout_lines": []
}
TASK [common : Get Cluster infraID] **********************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:28
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474253.7582285-368281-18488417805953
" && echo ansible-tmp-1624474253.7582285-368281-18488417805953="echo /root/.ansible/tmp/ansible-tmp-1624474253.7582285-368281-18488417805953
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpab_ps2id TO /root/.ansible/tmp/ansible-tmp-1624474253.7582285-368281-18488417805953/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474253.7582285-368281-18488417805953/ /root/.ansible/tmp/ansible-tmp-1624474253.7582285-368281-18488417805953/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474253.7582285-368281-18488417805953/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474253.7582285-368281-18488417805953/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"jq",
"-r",
".infraID",
"/root/ocp4-aio-vsphere-upi-lab/install-dir/metadata.json"
],
"delta": "0:00:00.008853",
"end": "2021-06-23 14:50:53.916709",
"invocation": {
"module_args": {
"_raw_params": "jq -r .infraID "/root/ocp4-aio-vsphere-upi-lab/install-dir/metadata.json"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:53.907856",
"stderr": "",
"stderr_lines": [],
"stdout": "ocp4-4mfmc",
"stdout_lines": [
"ocp4-4mfmc"
]
}
TASK [common : Set the vcenter.infraID fact] *************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:32
ok: [localhost] => {
"ansible_facts": {
"vcenter_folder": "ocp4-4mfmc"
},
"changed": false
}
TASK [common : Set the vcenter.folder_absolute_path if not provided] *************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:37
ok: [localhost] => {
"ansible_facts": {
"vcenter": {
"admin_password": "pw4LOPlocalteam!",
"admin_username": "[email protected]",
"cluster": null,
"datacenter": "Lop_OCP_Datacenter",
"datastore": "OCP_vms_Datastore_Internal",
"folder_absolute_path": "/Lop_OCP_Datacenter/vm/ocp4-4mfmc",
"ip": "129.40.80.150",
"network": "VM Network",
"service_account_password": "pw4LOPlocalteam!",
"service_account_username": "[email protected]",
"template_name": "rhcos-vmware",
"vm_power_state": "poweredon"
}
},
"changed": false
}
TASK [common : Display the absolute folder path of the vCenter folder] ***********************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/common/tasks/install.yml:42
ok: [localhost] => {
"vcenter.folder_absolute_path": "/Lop_OCP_Datacenter/vm/ocp4-4mfmc"
}
META: ran handlers
META: ran handlers
PLAY [localhost] *****************************************************************************************************************************************************************
META: ran handlers
TASK [vmware : Check if the vCenter folder already exists] ***********************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/vmware/tasks/main.yml:1
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474254.2158885-368306-210462438388629
" && echo ansible-tmp-1624474254.2158885-368306-210462438388629="echo /root/.ansible/tmp/ansible-tmp-1624474254.2158885-368306-210462438388629
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpfgayxbms TO /root/.ansible/tmp/ansible-tmp-1624474254.2158885-368306-210462438388629/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474254.2158885-368306-210462438388629/ /root/.ansible/tmp/ansible-tmp-1624474254.2158885-368306-210462438388629/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474254.2158885-368306-210462438388629/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474254.2158885-368306-210462438388629/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": [
"govc",
"folder.info",
"/Lop_OCP_Datacenter/vm/ocp4-4mfmc"
],
"delta": "0:00:00.107217",
"end": "2021-06-23 14:50:54.467952",
"invocation": {
"module_args": {
"_raw_params": "govc folder.info /Lop_OCP_Datacenter/vm/ocp4-4mfmc",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-06-23 14:50:54.360735",
"stderr": "govc: folder '/Lop_OCP_Datacenter/vm/ocp4-4mfmc' not found",
"stderr_lines": [
"govc: folder '/Lop_OCP_Datacenter/vm/ocp4-4mfmc' not found"
],
"stdout": "",
"stdout_lines": []
}
...ignoring
TASK [vmware : Create the vCenter folder by the same name as the cluster, only if it doesn't exist] ******************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/vmware/tasks/main.yml:6
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474254.5806792-368328-223393391660463
" && echo ansible-tmp-1624474254.5806792-368328-223393391660463="echo /root/.ansible/tmp/ansible-tmp-1624474254.5806792-368328-223393391660463
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpxu5t4zpi TO /root/.ansible/tmp/ansible-tmp-1624474254.5806792-368328-223393391660463/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474254.5806792-368328-223393391660463/ /root/.ansible/tmp/ansible-tmp-1624474254.5806792-368328-223393391660463/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474254.5806792-368328-223393391660463/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474254.5806792-368328-223393391660463/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"govc",
"folder.create",
"/Lop_OCP_Datacenter/vm/ocp4-4mfmc"
],
"delta": "0:00:00.078121",
"end": "2021-06-23 14:50:54.811202",
"invocation": {
"module_args": {
"_raw_params": "govc folder.create /Lop_OCP_Datacenter/vm/ocp4-4mfmc",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:54.733081",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [vmware : Create VMware Tag Category] ***************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/vmware/tasks/main.yml:10
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474254.928188-368350-264360510298495
" && echo ansible-tmp-1624474254.928188-368350-264360510298495="echo /root/.ansible/tmp/ansible-tmp-1624474254.928188-368350-264360510298495
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpyu010jea TO /root/.ansible/tmp/ansible-tmp-1624474254.928188-368350-264360510298495/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474254.928188-368350-264360510298495/ /root/.ansible/tmp/ansible-tmp-1624474254.928188-368350-264360510298495/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474254.928188-368350-264360510298495/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474254.928188-368350-264360510298495/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"govc",
"tags.category.create",
"ocp4-4mfmc"
],
"delta": "0:00:00.283818",
"end": "2021-06-23 14:50:55.351418",
"invocation": {
"module_args": {
"_raw_params": "govc tags.category.create ocp4-4mfmc",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:55.067600",
"stderr": "",
"stderr_lines": [],
"stdout": "urn:vmomi:InventoryServiceCategory:718d80af-5294-4602-8101-c1f74aaac39e:GLOBAL",
"stdout_lines": [
"urn:vmomi:InventoryServiceCategory:718d80af-5294-4602-8101-c1f74aaac39e:GLOBAL"
]
}
TASK [vmware : Create VMware Tag] ************************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/vmware/tasks/main.yml:13
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474255.4643712-368372-109242782889430
" && echo ansible-tmp-1624474255.4643712-368372-109242782889430="echo /root/.ansible/tmp/ansible-tmp-1624474255.4643712-368372-109242782889430
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp3oyjli6p TO /root/.ansible/tmp/ansible-tmp-1624474255.4643712-368372-109242782889430/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474255.4643712-368372-109242782889430/ /root/.ansible/tmp/ansible-tmp-1624474255.4643712-368372-109242782889430/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474255.4643712-368372-109242782889430/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474255.4643712-368372-109242782889430/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"govc",
"tags.create",
"-c",
"ocp4-4mfmc",
"ocp4-4mfmc"
],
"delta": "0:00:00.076481",
"end": "2021-06-23 14:50:55.679544",
"invocation": {
"module_args": {
"_raw_params": "govc tags.create -c ocp4-4mfmc ocp4-4mfmc",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:55.603063",
"stderr": "",
"stderr_lines": [],
"stdout": "urn:vmomi:InventoryServiceTag:2b228967-7632-46a8-9b70-1d90f42f6102:GLOBAL",
"stdout_lines": [
"urn:vmomi:InventoryServiceTag:2b228967-7632-46a8-9b70-1d90f42f6102:GLOBAL"
]
}
TASK [deploy_ova : Check if the RHCOS template already exists] *******************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/deploy_ova/tasks/main.yml:1
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474255.7976944-368394-126831397665992
" && echo ansible-tmp-1624474255.7976944-368394-126831397665992="echo /root/.ansible/tmp/ansible-tmp-1624474255.7976944-368394-126831397665992
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpiy55oz1m TO /root/.ansible/tmp/ansible-tmp-1624474255.7976944-368394-126831397665992/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474255.7976944-368394-126831397665992/ /root/.ansible/tmp/ansible-tmp-1624474255.7976944-368394-126831397665992/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474255.7976944-368394-126831397665992/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474255.7976944-368394-126831397665992/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "govc find -type m | grep rhcos-vmware",
"delta": "0:00:00.057534",
"end": "2021-06-23 14:50:55.998991",
"invocation": {
"module_args": {
"_raw_params": "govc find -type m | grep rhcos-vmware",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:55.941457",
"stderr": "",
"stderr_lines": [],
"stdout": "./vm/ocp4-d4tll/rhcos-vmware",
"stdout_lines": [
"./vm/ocp4-d4tll/rhcos-vmware"
]
}
TASK [deploy_ova : Delete RHCOS template if skip_ova=false] **********************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/deploy_ova/tasks/main.yml:6
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474256.1137302-368418-84334968226233
" && echo ansible-tmp-1624474256.1137302-368418-84334968226233="echo /root/.ansible/tmp/ansible-tmp-1624474256.1137302-368418-84334968226233
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp_ewta8ig TO /root/.ansible/tmp/ansible-tmp-1624474256.1137302-368418-84334968226233/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474256.1137302-368418-84334968226233/ /root/.ansible/tmp/ansible-tmp-1624474256.1137302-368418-84334968226233/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474256.1137302-368418-84334968226233/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474256.1137302-368418-84334968226233/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"govc",
"vm.destroy",
"rhcos-vmware"
],
"delta": "0:00:00.210913",
"end": "2021-06-23 14:50:56.469416",
"invocation": {
"module_args": {
"_raw_params": "govc vm.destroy rhcos-vmware",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:50:56.258503",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [deploy_ova : Download the ova file] ****************************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/deploy_ova/tasks/main.yml:12
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474256.587098-368441-32046443301912
" && echo ansible-tmp-1624474256.587098-368441-32046443301912="echo /root/.ansible/tmp/ansible-tmp-1624474256.587098-368441-32046443301912
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/net_tools/basics/get_url.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpn06743j3 TO /root/.ansible/tmp/ansible-tmp-1624474256.587098-368441-32046443301912/AnsiballZ_get_url.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474256.587098-368441-32046443301912/ /root/.ansible/tmp/ansible-tmp-1624474256.587098-368441-32046443301912/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474256.587098-368441-32046443301912/AnsiballZ_get_url.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474256.587098-368441-32046443301912/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"dest": "/root/ocp4-aio-vsphere-upi-lab/downloads/rhcos-vmware.ova",
"elapsed": 0,
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"checksum": "",
"client_cert": null,
"client_key": null,
"content": null,
"delimiter": null,
"dest": "/root/ocp4-aio-vsphere-upi-lab/downloads/rhcos-vmware.ova",
"directory_mode": null,
"follow": false,
"force": false,
"force_basic_auth": false,
"group": null,
"headers": null,
"http_agent": "ansible-httpget",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"sha256sum": "",
"src": null,
"timeout": 10,
"tmp_dest": null,
"unsafe_writes": null,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/rhcos-4.7.13-x86_64-vmware.x86_64.ova",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": false
}
},
"mode": "0644",
"msg": "HTTP Error 304: Not Modified",
"owner": "root",
"secontext": "system_u:object_r:admin_home_t:s0",
"size": 974458880,
"state": "file",
"uid": 0,
"url": "https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/latest/rhcos-4.7.13-x86_64-vmware.x86_64.ova"
}
TASK [deploy_ova : Deploy the OVF template into the folder] **********************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/deploy_ova/tasks/main.yml:19
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474256.9731517-368458-62657456443549
" && echo ansible-tmp-1624474256.9731517-368458-62657456443549="echo /root/.ansible/tmp/ansible-tmp-1624474256.9731517-368458-62657456443549
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/cloud/vmware/vmware_deploy_ovf.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmps_bi3zco TO /root/.ansible/tmp/ansible-tmp-1624474256.9731517-368458-62657456443549/AnsiballZ_vmware_deploy_ovf.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474256.9731517-368458-62657456443549/ /root/.ansible/tmp/ansible-tmp-1624474256.9731517-368458-62657456443549/AnsiballZ_vmware_deploy_ovf.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474256.9731517-368458-62657456443549/AnsiballZ_vmware_deploy_ovf.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474256.9731517-368458-62657456443549/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"instance": {
"annotation": "",
"current_snapshot": null,
"customvalues": {},
"guest_consolidation_needed": false,
"guest_question": null,
"guest_tools_status": "guestToolsNotRunning",
"guest_tools_version": "0",
"hw_cluster": null,
"hw_cores_per_socket": 1,
"hw_datastores": [
"OCP_vms_Datastore_Internal"
],
"hw_esxi_host": "129.40.80.129",
"hw_eth0": {
"addresstype": "assigned",
"ipaddresses": null,
"label": "Network adapter 1",
"macaddress": "00:50:56:96:8b:25",
"macaddress_dash": "00-50-56-96-8b-25",
"portgroup_key": null,
"portgroup_portkey": null,
"summary": "VM Network"
},
"hw_files": [
"[OCP_vms_Datastore_Internal] rhcos-vmware/rhcos-vmware.vmx",
"[OCP_vms_Datastore_Internal] rhcos-vmware/rhcos-vmware.vmsd",
"[OCP_vms_Datastore_Internal] rhcos-vmware/rhcos-vmware.vmdk"
],
"hw_folder": "/Lop_OCP_Datacenter/vm/ocp4-4mfmc",
"hw_guest_full_name": null,
"hw_guest_ha_state": null,
"hw_guest_id": null,
"hw_interfaces": [
"eth0"
],
"hw_is_template": false,
"hw_memtotal_mb": 4096,
"hw_name": "rhcos-vmware",
"hw_power_status": "poweredOff",
"hw_processor_count": 2,
"hw_product_uuid": "4216db1f-1413-aff4-92b4-453853dcae9c",
"hw_version": "vmx-13",
"instance_uuid": "50166067-2d5a-708d-ec86-250a178a91ff",
"ipv4": null,
"ipv6": null,
"module_hw": true,
"moid": "vm-54",
"snapshots": [],
"vimref": "vim.VirtualMachine:vm-54",
"vnc": {}
},
"invocation": {
"module_args": {
"allow_duplicates": false,
"cluster": "",
"datacenter": "Lop_OCP_Datacenter",
"datastore": "OCP_vms_Datastore_Internal",
"deployment_option": null,
"disk_provisioning": "thin",
"fail_on_spec_warnings": false,
"folder": "/Lop_OCP_Datacenter/vm/ocp4-4mfmc",
"hostname": "129.40.80.150",
"inject_ovf_env": false,
"name": "rhcos-vmware",
"networks": {
"VM Network": "VM Network"
},
"ova": "/root/ocp4-aio-vsphere-upi-lab/downloads/rhcos-vmware.ova",
"ovf": "/root/ocp4-aio-vsphere-upi-lab/downloads/rhcos-vmware.ova",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": 443,
"power_on": false,
"properties": null,
"proxy_host": null,
"proxy_port": null,
"resource_pool": "Resources",
"username": "[email protected]",
"validate_certs": false,
"wait": true,
"wait_for_ip_address": false
}
}
}
TASK [deploy_ova : Update VM options on the template] ****************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/deploy_ova/tasks/main.yml:37
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474292.7328794-368484-241986044658812
" && echo ansible-tmp-1624474292.7328794-368484-241986044658812="echo /root/.ansible/tmp/ansible-tmp-1624474292.7328794-368484-241986044658812
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp6mg0jpzp TO /root/.ansible/tmp/ansible-tmp-1624474292.7328794-368484-241986044658812/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474292.7328794-368484-241986044658812/ /root/.ansible/tmp/ansible-tmp-1624474292.7328794-368484-241986044658812/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474292.7328794-368484-241986044658812/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474292.7328794-368484-241986044658812/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": [
"govc",
"vm.change",
"-vm",
"/Lop_OCP_Datacenter/vm/ocp4-4mfmc/rhcos-vmware",
"-e=disk.EnableUUID=TRUE"
],
"delta": "0:00:00.198111",
"end": "2021-06-23 14:51:33.077138",
"invocation": {
"module_args": {
"_raw_params": "govc vm.change -vm /Lop_OCP_Datacenter/vm/ocp4-4mfmc/rhcos-vmware -e=disk.EnableUUID=TRUE",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-06-23 14:51:32.879027",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
TASK [coredns : Create Temp Build Directory for CoreDNS] *************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/coredns/tasks/main.yml:2
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474293.2390168-368509-157803620414338
" && echo ansible-tmp-1624474293.2390168-368509-157803620414338="echo /root/.ansible/tmp/ansible-tmp-1624474293.2390168-368509-157803620414338
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/tempfile.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpflklv7a6 TO /root/.ansible/tmp/ansible-tmp-1624474293.2390168-368509-157803620414338/AnsiballZ_tempfile.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474293.2390168-368509-157803620414338/ /root/.ansible/tmp/ansible-tmp-1624474293.2390168-368509-157803620414338/AnsiballZ_tempfile.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474293.2390168-368509-157803620414338/AnsiballZ_tempfile.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474293.2390168-368509-157803620414338/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"path": null,
"prefix": "ansible.",
"state": "directory",
"suffix": "coredns"
}
},
"mode": "0700",
"owner": "root",
"path": "/tmp/ansible.pcfggxf8coredns",
"secontext": "unconfined_u:object_r:user_tmp_t:s0",
"size": 6,
"state": "directory",
"uid": 0
}
TASK [Create coredns.db file in /tmp/ansible.pcfggxf8coredns] ********************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/coredns/tasks/main.yml:8
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574
" && echo ansible-tmp-1624474293.5523486-368526-85752988036574="echo /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/stat.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpwknbj56a TO /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/AnsiballZ_stat.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/ /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmptfxrufbz/coredns.db.j2 TO /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/ /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/source && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/copy.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp5x0rp6sk TO /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/AnsiballZ_copy.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/ /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "a580b4c291fa7817aee1034b81356dee6293f0be",
"dest": "/tmp/ansible.pcfggxf8coredns/coredns.db",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "coredns.db.j2",
"attributes": null,
"backup": false,
"checksum": "a580b4c291fa7817aee1034b81356dee6293f0be",
"content": null,
"delimiter": null,
"dest": "/tmp/ansible.pcfggxf8coredns/coredns.db",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": 436,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "dcfa2b9ff804930a7328f676eb71b738",
"mode": "0664",
"owner": "root",
"secontext": "unconfined_u:object_r:admin_home_t:s0",
"size": 1109,
"src": "/root/.ansible/tmp/ansible-tmp-1624474293.5523486-368526-85752988036574/source",
"state": "file",
"uid": 0
}
TASK [Create Corefile_b64 file in /tmp/ansible.pcfggxf8coredns] ******************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/coredns/tasks/main.yml:14
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233
" && echo ansible-tmp-1624474293.96546-368552-260518907081233="echo /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/stat.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmps03wtlpw TO /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/AnsiballZ_stat.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/ /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp2zcqdab2/Corefile.j2 TO /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/ /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/source && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/copy.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp4m4pedbt TO /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/AnsiballZ_copy.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/ /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "01a4880ad449316c1260b7b269a5b59a233aa5f1",
"dest": "/tmp/ansible.pcfggxf8coredns/Corefile",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "Corefile.j2",
"attributes": null,
"backup": false,
"checksum": "01a4880ad449316c1260b7b269a5b59a233aa5f1",
"content": null,
"delimiter": null,
"dest": "/tmp/ansible.pcfggxf8coredns/Corefile",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": 436,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "0299a518a6e070b3b8be956f27bd0975",
"mode": "0664",
"owner": "root",
"secontext": "unconfined_u:object_r:admin_home_t:s0",
"size": 168,
"src": "/root/.ansible/tmp/ansible-tmp-1624474293.96546-368552-260518907081233/source",
"state": "file",
"uid": 0
}
TASK [Create coredns.fcc in /tmp/ansible.pcfggxf8coredns] ************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/coredns/tasks/main.yml:20
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439
" && echo ansible-tmp-1624474294.3695328-368578-97246107617439="echo /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/stat.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpxhw0qu2_ TO /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/AnsiballZ_stat.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/ /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/AnsiballZ_stat.py && sleep 0'
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpbwqq7r51/coredns.fcc.j2 TO /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/ /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/source && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/files/copy.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmpih9hby59 TO /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/AnsiballZ_copy.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/ /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/AnsiballZ_copy.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"checksum": "c5fb3cfa7b20927608f19b19238593efd153b885",
"dest": "/tmp/ansible.pcfggxf8coredns/coredns.fcc",
"diff": [],
"gid": 0,
"group": "root",
"invocation": {
"module_args": {
"_original_basename": "coredns.fcc.j2",
"attributes": null,
"backup": false,
"checksum": "c5fb3cfa7b20927608f19b19238593efd153b885",
"content": null,
"delimiter": null,
"dest": "/tmp/ansible.pcfggxf8coredns/coredns.fcc",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"local_follow": null,
"mode": 436,
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "f9067f8d3f0d8bc5611922bae1c716af",
"mode": "0664",
"owner": "root",
"secontext": "unconfined_u:object_r:admin_home_t:s0",
"size": 1696,
"src": "/root/.ansible/tmp/ansible-tmp-1624474294.3695328-368578-97246107617439/source",
"state": "file",
"uid": 0
}
TASK [coredns : Create CoreDNS transpiled ignition file] *************************************************************************************************************************
task path: /root/ocp4-aio-vsphere-upi-lab/roles/coredns/tasks/main.yml:26
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp
"&& mkdir "echo /root/.ansible/tmp/ansible-tmp-1624474294.7632139-368606-251928016413015
" && echo ansible-tmp-1624474294.7632139-368606-251928016413015="echo /root/.ansible/tmp/ansible-tmp-1624474294.7632139-368606-251928016413015
" ) && sleep 0'
Using module file /usr/lib/python3.6/site-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-367740t9r6i7t4/tmp3orlvjxo TO /root/.ansible/tmp/ansible-tmp-1624474294.7632139-368606-251928016413015/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1624474294.7632139-368606-251928016413015/ /root/.ansible/tmp/ansible-tmp-1624474294.7632139-368606-251928016413015/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'PATH=/root/ocp4-aio-vsphere-upi-lab/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin GOVC_USERNAME=[email protected] GOVC_PASSWORD='"'"'pw4LOPlocalteam!'"'"' GOVC_URL=https://129.40.80.150 GOVC_DATACENTER=Lop_OCP_Datacenter GOVC_INSECURE=1 /usr/bin/python3.6 /root/.ansible/tmp/ansible-tmp-1624474294.7632139-368606-251928016413015/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1624474294.7632139-368606-251928016413015/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct -d /tmp/ansible.pcfggxf8coredns --pretty --strict < /tmp/ansible.pcfggxf8coredns/coredns.fcc > /tmp/ansible.pcfggxf8coredns/transpiled_config.ign",
"delta": "0:00:00.007166",
"end": "2021-06-23 14:51:34.927247",
"invocation": {
"module_args": {
"_raw_params": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct -d /tmp/ansible.pcfggxf8coredns --pretty --strict < /tmp/ansible.pcfggxf8coredns/coredns.fcc > /tmp/ansible.pcfggxf8coredns/transpiled_config.ign",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-06-23 14:51:34.920081",
"stderr": "/root/ocp4-aio-vsphere-upi-lab/bin/fcct: /lib64/libc.so.6: version GLIBC_2.32' not found (required by /root/ocp4-aio-vsphere-upi-lab/bin/fcct)", "stderr_lines": [ "/root/ocp4-aio-vsphere-upi-lab/bin/fcct: /lib64/libc.so.6: version
GLIBC_2.32' not found (required by /root/ocp4-aio-vsphere-upi-lab/bin/fcct)"
],
"stdout": "",
"stdout_lines": []
}
PLAY RECAP ***********************************************************************************************************************************************************************
localhost : ok=41 changed=22 unreachable=0 failed=1 skipped=10 rescued=0 ignored=1
Ansible group_vars
[root@x150n151 ocp4-aio-vsphere-upi-lab]# cat group_vars/all.yml
helper_vm_ip: 129.40.80.151
config:
provider: vsphere
base_domain: ocphclvmware.com
cluster_name: ocp4
cluster_domain: ocp4.ocphclvmware.com
fips: false
installer_ssh_key: "{{ lookup('file', '/.ssh/helper_rsa.pub') }}"
pull_secret: "{{ lookup('file', '/pull-secret.json') }}"
worker_prefix: worker
networktype: OpenShiftSDN
vcenter:
ip: 129.40.80.150
datastore: OCP_vms_Datastore_Internal
network: "VM Network"
service_account_username: [email protected]
service_account_password: pw4LOPlocalteam!
admin_username: [email protected]
admin_password: pw4LOPlocalteam!
datacenter: Lop_OCP_Datacenter
cluster:
folder_absolute_path:
vm_power_state: poweredon
template_name: rhcos-vmware
download:
channel: stable
version: 4.7
butane: https://github.com/coreos/butane/releases/download/v0.10.0/fcct-x86_64-unknown-linux-gnu
coredns_vm:
name: coredns
ipaddr: 129.40.80.158
upstream_dns: 129.40.80.151
lb_vm:
name: lb
ipaddr: 129.40.80.159
bootstrap_vm:
name: bootstrap
ipaddr: 129.40.80.157
master_vms:
- { name: "master0", ipaddr: "129.40.80.152", cpus: "4", memory_mb: "16384", disk_size_gb: "120"}
- { name: "master1", ipaddr: "129.40.80.153", cpus: "4", memory_mb: "16384", disk_size_gb: "120"}
- { name: "master2", ipaddr: "129.40.80.154", cpus: "4", memory_mb: "16384", disk_size_gb: "120"}
worker_vms:
- { name: "worker0", ipaddr: "129.40.80.155", cpus: "4", memory_mb: "16384", disk_size_gb: "120"}
- { name: "worker1", ipaddr: "129.40.80.156", cpus: "4", memory_mb: "16384", disk_size_gb: "120"}
static_ip:
gateway: 129.40.80.190
netmask: 255.255.255.192
dns: "{{ helper_vm_ip }}"
network_interface_name: ens192
ntp:
custom: false
ntp_server_list:
- 0.rhel.pool.ntp.org
- 1.rhel.pool.ntp.org