Fix Platform Manager CrashLoopBackOff during upgrade
search cancel

Fix Platform Manager CrashLoopBackOff during upgrade

book

Article ID: 371239

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

Note: Applicable only for appliances which have not configured vRLI (VMware Aria Operations for Logs) in their Appliance Manager (9443 portal).

  • TCA platform-manager pod CrashLoopBackOff
  • 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)

Environment

Impacts Telco Cloud Automation (TCA) upgrade 3.0, 3.1.0

Resolution

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

  1. Download the attached  script and rename as vrli-upgrade-patch.sh and scp to tca manager or control plane
  2. ssh into tca manager (or control plane)
  3. Execute script at $HOME 

Example - Execute the script by running the command:  

bash vrli-upgrade-patch.sh

NOTE:[Only required when doing post-upgrade] We need to restart the platform manager as well.

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

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

Attachments

vrli-upgrade-patch_1719901403563.sh get_app