After the migration operation is completed, perform the following steps.

Procedure

  1. Update SSH key to enable SSH to CaaS clusters.
    1. SSH login to newly deployed 3.0 TCA Appliance with admin user and VM admin password (cnPassword).

    2. Run the following commands to fetch the ssh private and public keys and save them to local files on the 3.0 VM.

      Download ssh keys

      su
      export KUBECONFIG=/etc/kubernetes/admin.conf
      kubectl --kubeconfig  /etc/kubernetes/admin.conf get cm override-kbs-app-cr-config -n tca-cp-cn -o jsonpath={.data."data\.yml"} | sed-n '/-----BEGIN OPENSSH PRIVATE KEY-----/,/-----END OPENSSH PRIVATE KEY-----/p'| sed-e 's/^[ \t]*//'> /root/.ssh/id_rsa
      kubectl --kubeconfig  /etc/kubernetes/admin.conf get cm override-kbs-app-cr-config -n tca-cp-cn -o jsonpath={.data."data\.yml}"| sed-n '/-----END OPENSSH PRIVATE KEY-----/, /managementCluster:/{/-----END OPENSSH PRIVATE KEY-----/!{/managementCluster:/!p}}'| sed-e 's/^[ \t]*//'| awk-vRS= '{$1=$1}1'| sed's|.*: \(.*\)|\1|'> /root/.ssh/id_rsa.pub
  2. After a TCA appliance is migrated successfully from VMware Telco Cloud Automation 2.3 to 3.0, close all the open tabs for the TCA appliance and try on a different browser tab or session.