VMware Modern Apps Community
Alister04
Contributor
Contributor

Error while deploying TKGm cluster in vcd

Hi all

 

I have the below set up in VCD:

VCD: 10.3.2

CSE server: 3.1.1

Vc: 7.0 U2

 

I have enabled VCD with TKGm and Native K8s, and imported the required OVFs into a catalog.

The tennant can see the OVFs and start the cluster dpeloyment, however, the cluster install fails after the control node reboot and the cluster is rolled back / deleted with the below error:

ErrorErrorTasksTasks

 

 

From the cse server, I see the below logs which looks like its failing at the guest OS customisation.

22-02-14 20:49:20 | pyvcloud_utils:767 - wait_for_completion_of_post_customization_procedure | Request Id: b8d7db88-ebfe-4013-87b1-0664997ac21d | ERROR :: VM Post guest customization script failed with error:Mon 14 Feb 2022 04:49:09 PM UTC 130 /root/.customization/customize.sh: kubeadm init --config $kubeadm_config_path --v=10 > /root/kubeadm-init.out
22-02-14 20:49:20 | cluster_service_2_x_tkgm:2163 - _add_control_plane_nodes | Request Id: b8d7db88-ebfe-4013-87b1-0664997ac21d | ERROR :: None
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/container_service_extension/rde/backend/cluster_service_2_x_tkgm.py", line 2151, in _add_control_plane_nodes
logger=LOGGER
File "/usr/local/lib/python3.7/site-packages/container_service_extension/common/utils/pyvcloud_utils.py", line 768, in wait_for_completion_of_post_customization_procedure
raise exceptions.ScriptExecutionError
container_service_extension.exception.exceptions.ScriptExecutionError: None
22-02-14 20:49:20 | cluster_service_2_x_tkgm:858 - _create_cluster_async | Request Id: b8d7db88-ebfe-4013-87b1-0664997ac21d | ERROR :: failure on creating nodes ['mstr-3a9h']
Error:None
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/container_service_extension/rde/backend/cluster_service_2_x_tkgm.py", line 2151, in _add_control_plane_nodes
logger=LOGGER
File "/usr/local/lib/python3.7/site-packages/container_service_extension/common/utils/pyvcloud_utils.py", line 768, in wait_for_completion_of_post_customization_procedure
raise exceptions.ScriptExecutionError
container_service_extension.exception.exceptions.ScriptExecutionError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/container_service_extension/rde/backend/cluster_service_2_x_tkgm.py", line 855, in _create_cluster_async
refresh_token=refresh_token
File "/usr/local/lib/python3.7/site-packages/container_service_extension/rde/backend/cluster_service_2_x_tkgm.py", line 2171, in _add_control_plane_nodes
raise exceptions.NodeCreationError(node_list, str(err))
container_service_extension.exception.exceptions.NodeCreationError: failure on creating nodes ['mstr-3a9h']
Error:None

 

 

 

 

Any help would be appreciated on this, thanks in advance.

Labels (3)
Reply
0 Kudos
1 Reply
Alister04
Contributor
Contributor

Resolved the issue by enabling outbound internet on the Org network

Reply
0 Kudos