Pre-check or Check Compliance using vLCM fails with error "System error occurred on control plane <id>. Details Failed to sync changes: Command '/usr/bin/kubect1', '--kubecconfig', '/etc/kubernetes/admin.conf', 'get'"
search cancel

Pre-check or Check Compliance using vLCM fails with error "System error occurred on control plane <id>. Details Failed to sync changes: Command '/usr/bin/kubect1', '--kubecconfig', '/etc/kubernetes/admin.conf', 'get'"

book

Article ID: 405002

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESX 8.x

Issue/Introduction

Attempting to patch ESXi hosts using vLCM is failing due to an error associated with a vSphere Kubernetes object.

System error occurred on control plane 4237c08457c5be94f9d45f4dc607. Details Failed to sync changes: Command '/usr/bin/kubect1', '--kubecconfig', '/etc/kubernetes/admin.conf', 'get', 'daemonset', '--namespace', 'vmware-system-logging', '-o', 'json' returned non-zero exit status 1. Will be retried.
Unable to connect to the management servers '<DNS-SERVER-IP>' from the control plane VM <ID>. The connection was attempted over the workload network.
System error occurred on control plane <ID>. Details Failed to sync changes: Command '/usr/bin/kubect1', '--kubecconfig', '/etc/kubernetes/admin.conf', 'get', 'daemonset', '--namespace', 'vmware-system-logging', '-o', 'json' returned non-zero exit status 1. Will be retried.
System error occurred on control plane <ID>. Details Failed to sync changes: Command '/usr/bin/kubect1', '--kubecconfig', '/etc/kubernetes/admin.conf', 'get', 'daemonset', '--namespace', 'vmware-system-logging', '-o', 'json' returned non-zero exit status 1. Will be retried.

 

Environment

VMware vSphere 8.x

Cause

The vSphere cluster has an enabled Supervisor that is currently in an error state due to which the vLCM Pre-check fails.

 

Resolution

Fix the Supervisor cluster and make sure that the Supervisor is stable and error-free. 
Rerun the pre-check and remediate the hosts with required build.