This topic documents steps for how to run diagnosis for TCA 1.9.1 to do troubleshooting for cluster lifecycle and CNF customization for management cluster itself or workload clusters it managed.
Procedure
- Login to TCA-CP VM
$ ssh admin@<tca-cp-ip>
- Switch to root user
[admin@tca-cp-jlan ~]$ su - Password: [root@tca-cp-jlan ~]#
- Switch to management cluster
If ccli is now in non-interactive mode, try the following commands to switch to management cluster context.
[root@tec-cloud-central01 ~]# ccli list mc Cluster connectivity is not available for management cluster 80d6060e-d9a1-4b03-b452-39611b643434 CCLI will not able to perform action on the management cluster 80d6060e-d9a1-4b03-b452-39611b643434 Index | Name | Context | Id | Connectivity | Selected 0 | mgmt-bak | mgmt-bak | d7c29605-ca8d-485e-b4a7-d88395236838 | true | 1 | mgmt-kept-kind | mgmt-kept-kind | 80d6060e-d9a1-4b03-b452-39611b643434 | false | 2 | interops-mgmt | interops-mgmt | 2976aeb4-4a8f-4ac7-ad60-be5bc55f7f9b | true | * [root@tec-cloud-central01 ~]# ccli go 2 Active management cluster set to interops-mgmt 2976aeb4-4a8f-4ac7-ad60-be5bc55f7f9b Current Kubeconfig is set to 2976aeb4-4a8f-4ac7-ad60-be5bc55f7f9b
If ccli is now in interactive mode, try the following commands to switch to management cluster context.
[root@tec-cloud-central01 ~]# ccli Welcome to VMware Telco Cloud Interactive CLI.... Config file path /opt/vmware/ccli/resources/config.yaml CCLI>>list mc Cluster connectivity is not available for management cluster 80d6060e-d9a1-4b03-b452-39611b643434 CCLI will not able to perform action on the management cluster 80d6060e-d9a1-4b03-b452-39611b643434 Index | Name | Context | Id | Connectivity | Selected 0 | mgmt-bak | mgmt-bak | d7c29605-ca8d-485e-b4a7-d88395236838 | true | * 1 | mgmt-kept-kind | mgmt-kept-kind | 80d6060e-d9a1-4b03-b452-39611b643434 | false | 2 | interops-mgmt | interops-mgmt | 2976aeb4-4a8f-4ac7-ad60-be5bc55f7f9b | true | CCLI@mgmt-bak>>go 2 Active management cluster set to interops-mgmt 2976aeb4-4a8f-4ac7-ad60-be5bc55f7f9b Current Kubeconfig is set to 2976aeb4-4a8f-4ac7-ad60-be5bc55f7f9b CCLI@interops-mgmt>>exit [root@tec-cloud-central01 ~]#
- Run diagnosis
$ curl -kfsSL https://vmwtec.jfrog.io/artifactory/generic-registry/run-diagnosis | bash