TKGI Management Console (MC) shows cluster and node status as running, but shows Failed to retrieve current K8s Cluster errors for cluster summary, volumes, nodes, and network information.
Logs from pks-mgmt-server container, retrieved by running docker logs -f pks-mgmt-server, show an error resembling:
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x47112f]
goroutine 1329 gp=0xc000d54700 m=8 mp=0xc000104808 [running]:
runtime.throw({0x1f65830?, 0x28?})
TKGI 1.20
TKGI 1.21
Mgmt server container has to be rebuild to upgrade client-go version.
Patch the management server container:
1. Download the patch file tkgi-1-20-0-mgmt-server-patch.tar or patch_1.21.0.tar depending on your TKGI version.
2. Upload the patch file to the Management Console VM:
scp tkgi-1-20-0-mgmt-server-patch.tar/patch_1.21.0.tar root@<mgmt-server-IP>:/root/
3. Use SSH to log in to the Management Console VM as root user.
4. Untar the patch file:
tar -zxvf tkgi-1-20-0-mgmt-server-patch.tar/patch_1.21.0.tar
5. Make the patch executable:
cd ./patch
chmod +x ./patch.sh
6. Run the patch script patch.sh:
./patch.sh
7. After the script completes, log in to the TKGI Management Console UI and verify that it shows cluster information.