Fix Platform Manager CrashLoopBackOff during upgrade from TCA 3.0 to TCA 3.1
search cancel

Fix Platform Manager CrashLoopBackOff during upgrade from TCA 3.0 to TCA 3.1

book

Article ID: 368210

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

  • TCA platform-manager pod CrashLoopBackOff or Error during upgrade to TCA 3.1.0 from TCA 3.0.
  • Platform pod have these error lines in logs (kubectl logs -n tca-mgr <PLATFORM POD>):

 

2024-05-17 10:44:14.305 UTC [main, , ] INFO  c.v.vchs.hybridity.api.Application- Existing vrli === [{"host":"https:\/\/#{ENV['LOGINSIGHT_HOST']}:#{ENV['LOGINSIGHT_PORT']}"}]
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.net.URISyntaxException: Illegal character in fragment at index 9: https://#{ENV['LOGINSIGHT_HOST']}:#{ENV['LOGINSIGHT_PORT']}
    at java.base/java.net.URI$Parser.fail(Unknown Source)

NOTE: Impacts Telco Cloud Automation (TCA) 3.0 to TCA 3.1.0 upgrade

Resolution

Resolution (can be done Pre-upgrade & Post-upgrade)

  1. ssh into tca manager (or control plane)
  2. Please download and copy the attached  vrli-upgrade-patch.sh script at $HOME 
  3. Execute the script by running the command:

bash vrli-upgrade-patch.sh

     4. [Only required when doing post-upgrade] We need to restart the platform manager as well, using the following command:

kubectl rollout restart deployment tca-platform-manager -n $NAMESPACE

NOTE: NAMESPACE can be tca-mgr or tca-cp-cn based on the appliance role.

 

Attachments

vrli-upgrade-patch_1716326346961.sh get_app