After downgrading VMware vRealize Automation 8.x license from Trial to Advanced license some features cannot be managed
search cancel

After downgrading VMware vRealize Automation 8.x license from Trial to Advanced license some features cannot be managed

book

Article ID: 325873

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
You are unable to delete a project because Kubernetes Zones are assigned to it.

Environment

VMware vRealize Automation 8.x

Cause

After changing the license from Trial to Advanced, the UI disabled features such as Kubernetes Zones and Pipelines (formerly Codestream).

Resolution

VMware is aware of this issue and is being considered for inclusion in a later release.

See the workaround below for more information.

Workaround:

Remove Integrations using the API

  1. SSH to one of the nodes in the cluster
  2. Run the following command:
    kubectl get configmap -n prelude project-config -o jsonpath='{.data.clientid}{":"}{.data.password}{"\n"}'
  3. Use the result and execute this from the local machine:
    curl -v --request POST 'https://<environment-fqdn>/csp/gateway/am/api/auth/authorize' --header 'Content-Type: application/x-www-form-urlencoded' -u '<credentials>' --data-urlencode 'grant_type=client_credentials'
  4. Get the "access-token" from the response of the previous command and run:
    curl -v --request DELETE https://<environment-fqdn>/project-service/api/service-info/cmx-service/cmx-entity-count/ --header 'Authorization: Bearer <access_token>
  5. Run
    curl -v --request DELETE https://<environment-fqdn>/project-service/api/service-info/codestream-service/codestream-model-count/ --header 'Authorization: Bearer <access_token>'
  6. Run this and verify that there is no cmx-service and codestream-service in the response:
    curl -v --request GET https://<environment-fqdn>/project-service/api/service-info --header 'Authorization: Bearer <access_token>'