Troubleshooting Issues while Deleting Tenant
Procedure
Step 1 |
Get object IDs of the class of service objects associated with the tenant using the URI: https://<connection-server>/vmrest/tenants/<TenantObjectId>/coses Get the list of user templates associated with the class of service object ID using the URI: https://<connection-server>/vmrest/usertemplates?query=(CosObjectId%20is%20<CosObjectId>) Here, replace <CosObjectId> with the COS Object Id that belongs to the tenant. To get the list of user templates that belongs to the tenant, use the URI below: https://<connection-server>/vmrest/usertemplates?query=(CosObjectId%20is%20<CosObjectId>%26PartitionObjectId%20is%20<PartitionObjectId>) |
Step 2 |
Comparing results of the GET operations would provide list of user templates that are associated with the tenant's class of service but are not a part of tenant's partition. You can correct this by changing the class of service association for these user templates. |
Step 3 |
Get the list of users associated with the class of service Object ID using the URI: https://<connection-server/vmrest/users?query=(CosObjectId%20is%20<CosObjectId>) Here, replace <CosObjectId> with the class of service Object ID that belongs to the tenant. Now, to get the list of users that belongs to the tenant, use the URI below: https://<connection-server>/vmrest/users?query=(CosObjectId%20is%20<CosObjectId>%26PartitionObjectId%20is%20<PartitionObjectId>) |
Step 4 |
Comparing results of both the GET operations provide with the list of users that are associated with the tenant's class of service objects but are not a part of tenant's partition. You can correct this by changing the class of service association for these users. |
Step 5 |
Repeat Step 2 to Step 3 for all the class of service object IDs. |
Step 6 |
Repeat Step 1 to Step 3 for other objects associated with a tenant. |