vCenter Python Actions Adapter redescribe error after upgrading vRealize Operations to 8.x
search cancel

vCenter Python Actions Adapter redescribe error after upgrading vRealize Operations to 8.x

book

Article ID: 312252

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • You see an error message on the Redescribe page for the vCenter Python Actions Adapter stating: Error generating describe for com.vmware.vcops.adapter.PythonRemediationVcenterAdapter: NoSuchFieldError: LoggerFactory


Environment

VMware vRealize Operations 8.1.x

Cause

This is a known issue when upgrading vRealize Operations from version 7.5 to version 8.1.x.
The vCenter Python Actions Adapter is built into the vCenter adapter in the latest versions, so this adapter entry is redundant and should be removed.

Resolution

To resolve the issue, follow the steps below.
  1. Log into the Primary node as root via SSH or Console, pressing ALT+F1 in a Console to log in.
  2. Run the following command to generate a token to access the API:
curl -k -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"username":"admin","password":"admin_password"}' -X POST 'https://primary_node_fqdn_or_ip/suite-api/api/auth/token/acquire'

Note: Replace admin_password with the local admin user's password and replace primary_node_fqdn_or_ip with the FQDN or IP of the vRealize Operations Primary node.

Examplecurl -k -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"username":"admin","password":"VMware1!"}' -X POST 'https://192.168.3.10/suite-api/api/auth/token/acquire'
  1. Note the token provided in the output.
Example<UUID_1>::<UUID_2>
  1. Run the following command to remove the vCenter Python Actions Adapter:
curl -k -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: vRealizeOpsToken token' -H 'X-vRealizeOps-API-use-unsupported:true' -X DELETE https://primary_node_fqdn_or_ip/suite-api/internal/solution/adapterkinds?adapterKindKey=PythonRemediationVcenterAdapter

Note: Replace token with the token noted in step 3 and replace primary_node_fqdn_or_ip with the FQDN or IP of the vRealize Operations Primary node.

Examplecurl -k -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: vRealizeOpsToken 7b60bd7a-8d60-44f1-92d0-36351d3e64fa::4c8f9495-1131-44e6-a586-52f74d9d5d0f' -H 'X-vRealizeOps-API-use-unsupported:true' -X DELETE https://192.168.3.10/suite-api/internal/solution/adapterkinds?adapterKindKey=PythonRemediationVcenterAdapter