To resolve the issue, follow the steps below.
- Log into the Primary node as root via SSH or Console, pressing ALT+F1 in a Console to log in.
- 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.
Example: curl -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'
- Note the token provided in the output.
Example: <UUID_1>::<UUID_2>
- 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.
Example: curl -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