helm-service consistently consuming more than 100% cpu
search cancel

helm-service consistently consuming more than 100% cpu

book

Article ID: 345740

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

helm-service consistently consumes more than 100% CPU in Telco Cloud Automation Control Plane (TCA-CP)

 

Environment

TCA 2.1.x, 2.2

Cause

Enabling ECR repositories (Elastic Container Registry) causing 100% in of the helm-service in the TCA-CP

Resolution

Resolved in TCA 2.3

Workaround:

The workaround is to turn off the extensions platform. This can be used as a workaround only if the customer is NOT using any ECR repositories (Elastic Container Registry). 
This will not have an impact on any current harbor based CNFs. The only impact is if the customer wants to use charts/images from ECR repositories.
The ECR repos can be re enable after upgrading it to TCA 2.3. 

To disable the extensions platform via the API:

  • First, obtain the authorization token with the following API call:
    curl -v -k -X POST https://<TCA-CP-IP-address>/hybridity/api/sessions -H "accept: application/json" -H "Accept: application/json" -H "Content-Type: application/json" -d "{ \"username\": \[[email protected]|mailto:[email protected]]\, \"password\": \"<password>\"}"
  • Use the value for x-hm-authorization token obtained from the previous API call in the next API to enable or disable the extension platform group.
    curl -v -k -X PUT -H "Accept:application/json" -H "Content-Type:application/json" -H "x-hm-authorization:########:####:####:#################" https://<TCA-CP-IP-address>/admin/hybridity/api/global/settings/ExtensionPlatform/disableRepoExtensionGroup -d '{"value":"true"}'
  • helm-service restart will be required after disabling the extensions platform.

NOTE: These API changes do persist across reboots and upgrades.

 

Additional Information