Symptoms

Cannot remove virtual environment. Despite the subscription VE belonged to was terminated, CP throws the error:

The server <VE_NAME> could not be deleted, because it is used by a OACI-APS subscription.

Cause

There were the issues when removing corresponding subscriptions which led to database inconsistency. As a result the VE was not removed.

Resolution

Remove the VE with the command ran on OACI Instance Manager node (having replaced asterisks with actual IM password):

# curl -u admin:****** -X DELETE http://<IM_IP>:4465/paci/v1.0/of/<CUSTOMER_ID>/ve/<VE_NAME>
VE DELETE initiated

The command may be run from any host authorized to perform API requests on OACI IM, e.g. OA core.

Refer to documentation below for additional information:

Internal content

Link on internal Article