System error occurred on Master node with identifier ################################. Details: Log forwarding sync update failed: Command '['/usr/bin/kubectl', '--kubeconfig', '/etc/kubernetes/admin.conf', 'get', 'configmap', 'fluentbit-config-system', '--namespace', 'vmware-system-logging', '--ignore-not-found=true', '-o', 'json']' returned non-zero exit status 1.
curl --insecure https://<supervisor-floating-ip-address>:6443/healthz
>>
curl: (28) Failed to connect to <supervisor-floating-ip-address> port 6443 after 21051 ms: Could not connect to server
unable to register node with api server 6443 connection refuseddf -h /dev/rootFilesystem Size Used Avail Use% Mounted on
/dev/root ##G ##G ##G 100% /
vSphere Supervisor
Disk usage on the cluster increases due to a variety of reasons:
VMware by Broadcom Engineering is aware of the issue and includes fixes in vSphere 8.0 U3g, vSphere 9.0, and higher versions for the below known issues:
When the root disk space in a Supervisor control plane VM reaches 100%, multiple system-critical services fail. Clean up the root disk space on all Supervisor control plane VMs to restore the healthy operation of the Supervisor cluster. Maintain root disk space below 80%.
Warning: Deleting files without Support's advice leads to further issues or potential irrecoverable destruction of the environment.
Note: This KB article focuses primarily on log clean-up. Do not delete the latest log files; echo them empty if necessary.
For example, where example.log is a log file to be echoed empty:
echo > example.log
SSH into each of the Supervisor Control Plane VMs to execute the following steps. Review the "How to SSH into Supervisor Control Plane VMs" section in the KB article Troubleshooting vSphere with Tanzu (TKGS) Supervisor Control Plane VMs.
Note: The floating IP (FIP) address output by the decryptK8Pwd python script is unreachable due to disk space issues bringing down critical system processes. Use the management network (eth0) IP address directly assigned to the Supervisor Control Plane VM instead of the floating IP address (FIP).
Perform these remediation steps for each Supervisor Control Plane VM in the Supervisor cluster:
ls -ltrh /var/log/vmware/auditls -ltrh /var/lib/vmware/wcp/backup
Clean up any older backup files in this directory.upgrade-ctl-cli.logs - Affects all Supervisor Control Plane VMs
A known issue causes upgrade-ctl-cli.log log rotation to fail, repeatedly filling up multiple upgrade-ctl-cli.log files (appended with a number) up to 1GB each.ls -ltrh /var/log/vmware/upgrade-ctl-cli*
Clean up older upgrade-ctl-cli.log.# files appended with a number to reduce disk space usage. Do not delete the latest upgrade-ctl.cli.log file.
Run the below command to limit the size of the log file to 10MB (IMPORTANT: Re-apply this sed command after any Supervisor upgrade until you apply the built-in fix):sed -i '/MAX_LOGFILE_SIZE_BYTES =/ s/1024 * 1024 * 1024/1024 * 1024 * 10/' /usr/lib/vmware-wcp/upgrade/upgrade-ctl.py
Perform the extra upgrade-ctl-cli log.# files clean up and the above sed command on each Supervisor control plane VM in the Supervisor cluster.
journalctl --disk-usagejournalctl --vacuum-size=500MStale Replicasets and Stale Images - Affects all Supervisor Control Plane VMs
Note: This requires a healthy kube-apiserver and ETCD on all Supervisor Control Plane VMs. Perform the previous clean-up steps on each VM first.
These stale replicasets and stale images remain unused from previous Supervisor cluster upgrades.
Retrieve the total replicaset count in the Supervisor cluster (the expected healthy count remains under 60):kubectl get replicasets -A | wc -l
Find duplicate stale images with different versions by checking the container images list while establishing an SSH session to a Supervisor control plane VM:crictl images list
Review the vSphere Supervisor Disk Space Clean Up Scripts KB for scripts regarding cleaning up unused images and replicasets to help with disk space.
etcdctl member list -w tableetcdctl --cluster=true endpoint health -w tableetcdctl --cluster=true endpoint status -w tablels -ltrh /var/lib/etcd/member/snapNew versions of vSphere 9 and vSphere 8.0 include log rotation and disk space improvements.
To get assistance from a customer representative or a Support Engineer, check Contact Support.