← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1751755] [NEW] wrong description for "resource_limit" in limits API

 

Public bug reported:

"resource_limit" is described as array type in the table, but the
example below shows it's an integer.

```
{
    "links": {
        "self": "http://10.3.150.25/identity/v3/limits";,
        "previous": null,
        "next": null
    },
    "limits": [
        {
            "resource_name": "volume",
            "region_id": null,
            "links": {
                "self": "http://10.3.150.25/identity/v3/limits/25a04c7a065c430590881c646cdcdd58";
            },
            "service_id": "9408080f1970482aa0e38bc2d4ea34b7",
            "project_id": "3a705b9f56bb439381b43c4fe59dccce",
            "id": "25a04c7a065c430590881c646cdcdd58",
            "resource_limit": 11
        },
        {
            "resource_name": "snapshot",
            "region_id": "RegionOne",
            "links": {
                "self": "http://10.3.150.25/identity/v3/limits/3229b3849f584faea483d6851f7aab05";
            },
            "service_id": "9408080f1970482aa0e38bc2d4ea34b7",
            "project_id": "3a705b9f56bb439381b43c4fe59dccce",
            "id": "3229b3849f584faea483d6851f7aab05",
            "resource_limit": 5
        }
    ]
}
```

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  wrong description for "resource_limit" in limits API

Status in OpenStack Identity (keystone):
  New

Bug description:
  "resource_limit" is described as array type in the table, but the
  example below shows it's an integer.

  ```
  {
      "links": {
          "self": "http://10.3.150.25/identity/v3/limits";,
          "previous": null,
          "next": null
      },
      "limits": [
          {
              "resource_name": "volume",
              "region_id": null,
              "links": {
                  "self": "http://10.3.150.25/identity/v3/limits/25a04c7a065c430590881c646cdcdd58";
              },
              "service_id": "9408080f1970482aa0e38bc2d4ea34b7",
              "project_id": "3a705b9f56bb439381b43c4fe59dccce",
              "id": "25a04c7a065c430590881c646cdcdd58",
              "resource_limit": 11
          },
          {
              "resource_name": "snapshot",
              "region_id": "RegionOne",
              "links": {
                  "self": "http://10.3.150.25/identity/v3/limits/3229b3849f584faea483d6851f7aab05";
              },
              "service_id": "9408080f1970482aa0e38bc2d4ea34b7",
              "project_id": "3a705b9f56bb439381b43c4fe59dccce",
              "id": "3229b3849f584faea483d6851f7aab05",
              "resource_limit": 5
          }
      ]
  }
  ```

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


Follow ups