-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
5
-
False
-
None
-
False
-
5
-
OpenShift SPLAT - Sprint 265
User Story:
As an OpenShift Engineer I want deploy a nested vCenter in to either the vcenter or vcenter-1 pools so I can create a nested cluster in either environment.
Description:
A problem has been preventing nested environments from being deployed in vcenter.ci. The deployment fails with:
TASK [Deploy ESXi VM] ********************************************************** task path: /opt/app-root/src/esxinested.yml:61 <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-1734637067.1823318-69-169884238937690 `" && echo ansible-tmp-1734637067.1823318-69-169884238937690="` echo /root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690 `" ) && sleep 0' Using module file /opt/app-root/lib64/python3.11/site-packages/ansible_collections/community/vmware/plugins/modules/vmware_deploy_ovf.py <127.0.0.1> PUT /opt/app-root/src/.ansible/tmp/ansible-local-50eqmg_4a/tmp4mdrexx5 TO /root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/AnsiballZ_vmware_deploy_ovf.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/ /root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/AnsiballZ_vmware_deploy_ovf.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/opt/app-root/bin/python3.11 /root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/AnsiballZ_vmware_deploy_ovf.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/ > /dev/null 2>&1 && sleep 0' fatal: [localhost]: FAILED! => { "changed": false, "module_stderr": "/tmp/ansible_community.vmware.vmware_deploy_ovf_payload_go7l63qn/ansible_community.vmware.vmware_deploy_ovf_payload.zip/ansible_collections/community/vmware/plugins/modules/vmware_deploy_ovf.py:287: FutureWarning: Possible nested set at position 138\nTraceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/AnsiballZ_vmware_deploy_ovf.py\", line 107, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/AnsiballZ_vmware_deploy_ovf.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1734637067.1823318-69-169884238937690/AnsiballZ_vmware_deploy_ovf.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.community.vmware.plugins.modules.vmware_deploy_ovf', init_globals=dict(_module_fqn='ansible_collections.community.vmware.plugins.modules.vmware_deploy_ovf', _modlib_path=modlib_path),\n File \"<frozen runpy>\", line 226, in run_module\n File \"<frozen runpy>\", line 98, in _run_module_code\n File \"<frozen runpy>\", line 88, in _run_code\n File \"/tmp/ansible_community.vmware.vmware_deploy_ovf_payload_go7l63qn/ansible_community.vmware.vmware_deploy_ovf_payload.zip/ansible_collections/community/vmware/plugins/modules/vmware_deploy_ovf.py\", line 925, in <module>\n File \"/tmp/ansible_community.vmware.vmware_deploy_ovf_payload_go7l63qn/ansible_community.vmware.vmware_deploy_ovf_payload.zip/ansible_collections/community/vmware/plugins/modules/vmware_deploy_ovf.py\", line 913, in main\n File \"/tmp/ansible_community.vmware.vmware_deploy_ovf_payload_go7l63qn/ansible_community.vmware.vmware_deploy_ovf_payload.zip/ansible_collections/community/vmware/plugins/modules/vmware_deploy_ovf.py\", line 670, in upload\n File \"/tmp/ansible_community.vmware.vmware_deploy_ovf_payload_go7l63qn/ansible_community.vmware.vmware_deploy_ovf_payload.zip/ansible_collections/community/vmware/plugins/modules/vmware_deploy_ovf.py\", line 604, in get_lease\nAttributeError: 'NoneType' object has no attribute 'configSpec'\n", "module_stdout": "", "msg": "MODULE FAILURE: No start of json char found\nSee stdout/stderr for the exact error", "rc": 1 }
Acceptance Criteria:
Nested environments can be provisioned in both vCenters
Other Information:
< Record anything else that may be helpful to someone else picking up the card >
issue created by splat-bot
created from thread: https://redhat-internal.slack.com/archives/C06TSNLHU3W/p1734637852695839