Error seen in the UI when performing the following - Provider Portal -> Resources -> Cloud Resources -> Organization VDCs -> Select OrgVDC name to open -> Storage Policies -> Select Storage Policy to open -> Click Edit Limit.
Error - Either you need some or all of the following rights [PVDC_STORAGE_CLASS_LIMITED_VIEW] to perform operations [PROVIDER_SUB_PROVIDER_STORAGE_POLICY_VIEW] for xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx or the target entity is invalid.
Total Storage Policy Consumption shows:
Available : NaN GBAllocated: -(null GB of null GB)Used: -(null GB of null GB)
Cloud Director 10.6.x
The tenant is showing up as a 'Sub-Provider'.
To resolve this the following Right needs to be removed.
1. Select the "Default Sub-Provider Entitlement" Rights Bundle.
2. Disable the right "Administer and traverse into other organizations".
3. Disable "Publish to Tenants", publish the "Default Sub-Provider Entitlement" Rights Bundle.
4. Check if any other Rights Bundle which is published to the specific tenant has the similar rights. If there is any Generic Rights Bundle or Custom Rights Bundle which has the right "Administer and traverse into other organizations", please disable and publish to tenant.
Alternatively the following workarounds are available:
1. Using the API
Check the current storage limit and update the same for org VDC using the REST API call :
GET:
Request URL:https://<<vdc-ip>>/api/admin/vdc/<vdc-id>
Response will have the vdcStorageProfile id as mentioned below:...... "href" : "https://<<vdc-ip>>/api/admin/vdcStorageProfile/<<profile-id>>", "id" : "urn:vcloud:vdcstorageProfile:<<profile-id>>", "type" : "application/vnd.vmware.admin.vdcStorageProfile+xml",
GET:https://<<vdc-ip>>/api/admin/vdcStorageProfile/<<profile-id>>
Response:
...
"limit" : << value in MB >>
PUT:https://<<vdc-ip>>/api/admin/vdcStorageProfile/d91525ed-2dfe-4a04-a968-4a5472c2d129content-type: application/*+json
Request Payload:
...
"limit" : << new value in MB >>
2. Create Organization as not Sub Provider.