Search the VMware Knowledge Base (KB)
View by Article ID

VIO user is unable to get his quota usage by API for its own project (2150725)

  • 0 Ratings

Symptoms

  • When trying to get the quota details of your own project in VIO, you get permission error. 
  • You needs to get your quota usage by API for your own project. User is apart of _member_ .
  • Running this command encounters an error:

    $ nova quota-show --detail

    ERROR (Forbidden): Policy doesn't allow os_compute_api:os-quota-sets:detail to be performed. (HTTP 403)

Cause

This issue occurs because the user who is a part of _member_ does not have permission for  API calls to access quota details.

Resolution

The only way to perform this is through policy.json file, However, doing this is not supported from the VIO point of view as we do not have a way to preserve it if  we upgrade/patch/configure the VIO environment.
 
This might not be preserved in case of:
  • Upgrade
  • Start/stop deployment
  • Deployment reconfiguration
  • Node recovery

Therefore, each time we do any of the above task, we must preserve it someway or make the modifications again.
 
Note: Editing the policy.json file is not supported by VMware.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 0 Ratings
Actions
KB: