yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74102
[Bug 1785164] [NEW] Identity API v3: POST method for "Create Limits" is abnormal for a domain-id
Public bug reported:
/v3/limits POST method for "Create Limits"
When setting a domain-id for "project_id" in request body, it still successfully creates a limit for the domain.
It is strange since we use a "project_id" to create limits for domain.
My test request was:
{
"limits":[
{
"service_id": "10656fdd41e1429f8cb57f097935f327",
"project_id": "default",
"region_id": "RegionOne",
"resource_name": "snapshot",
"resource_limit": 5
},
{
"service_id": "10656fdd41e1429f8cb57f097935f327",
"project_id": "default",
"resource_name": "volume",
"resource_limit": 10,
"description": "Number of volumes for project"
}
]
}
and it successfully returned 201 - Created.
** Affects: keystone
Importance: Undecided
Status: New
** Description changed:
/v3/limits POST method for "Create Limits"
When setting a domain-id for "project_id" in request body, it still successfully creates a limit for the domain.
It is strange since we use a "project_id" to create limits for domain.
My test request was:
{
- "limits":[
- {
- "service_id": "10656fdd41e1429f8cb57f097935f327",
- "project_id": "default",
- "region_id": "RegionOne",
- "resource_name": "snapshot",
- "resource_limit": 5
- },
- {
- "service_id": "10656fdd41e1429f8cb57f097935f327",
- "project_id": "default",
- "resource_name": "volume",
- "resource_limit": 10,
- "description": "Number of volumes for project 3a705b9f56bb439381b43c4fe59dccce"
- }
- ]
+ "limits":[
+ {
+ "service_id": "10656fdd41e1429f8cb57f097935f327",
+ "project_id": "default",
+ "region_id": "RegionOne",
+ "resource_name": "snapshot",
+ "resource_limit": 5
+ },
+ {
+ "service_id": "10656fdd41e1429f8cb57f097935f327",
+ "project_id": "default",
+ "resource_name": "volume",
+ "resource_limit": 10,
+ "description": "Number of volumes for project"
+ }
+ ]
}
and it successfully returned 201 - Created.
--
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/1785164
Title:
Identity API v3: POST method for "Create Limits" is abnormal for a
domain-id
Status in OpenStack Identity (keystone):
New
Bug description:
/v3/limits POST method for "Create Limits"
When setting a domain-id for "project_id" in request body, it still successfully creates a limit for the domain.
It is strange since we use a "project_id" to create limits for domain.
My test request was:
{
"limits":[
{
"service_id": "10656fdd41e1429f8cb57f097935f327",
"project_id": "default",
"region_id": "RegionOne",
"resource_name": "snapshot",
"resource_limit": 5
},
{
"service_id": "10656fdd41e1429f8cb57f097935f327",
"project_id": "default",
"resource_name": "volume",
"resource_limit": 10,
"description": "Number of volumes for project"
}
]
}
and it successfully returned 201 - Created.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1785164/+subscriptions
Follow ups