← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1508319] Re: Values for project-quotas shown in horizon page are different from values fetched using REST api's

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1508319

Title:
  Values for project-quotas shown in horizon page are different from
  values fetched using REST api's

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  Steps to regenerate:

  1. From horizon dashboard go to 
        identity --> projects 
   
  2. Here select admin(or any) project, then go to :
        actions --> modify quotas.

  What I have found is, values coming for "floating_ips" and
  "security_group_rules" form this page are not same, when we are
  getting these values using REST api's.

  Steps to get these values from REST api's:

  1. Generate authentication token :

  URL: http://controller_IP:5000/v3/auth/tokens

  Request type : POST

  Payload :

   { "auth": {
      "identity": {
        "methods": ["password"],
        "password": {
          "user": {
            "name": "USERNAME",
            "domain": { "id": "default" },
            "password": "PASSWORD"
          }
        }
      },
      "scope": {
        "project": {
          "name": "admin",
          "domain": { "id": "default" }
        }
      }
    }
  }

  This will return value for X-Subject-Token. i.e.
  3aded25c308140ffbf8adc93e107fe8d

  It will also return with endpoints catalog, from which get the compute endpoint with admin interface.
  For ex: http://controller:8774/v2/da6c9fa9be0046dda47e9bd6caf3908a

  2. Now get quota sets using REST api:

  URL : http://HOST_IP:8774/v2/tenant_id/os-quota-sets/defaults

  Request type : GET

  Headers : X-Auth-Token: <value of X-Subject-Token generated in last
  step>

  This will give the list of quota-sets from which values for
  "floating_ips" and "security_group_rules" are not matching with values
  coming from horizon page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1508319/+subscriptions


References