Add Endpoint to tenant method not working for json
Bug #897719 reported by
Jenny Vo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Yogeshwar |
Bug Description
Add Endpoint to tenant is not working for json form as example below:
POST http://
Accept-Encoding: gzip,deflate
X-Auth-Token: 9da3dca9-
Accept: application/xml
Content-Type: application/
User-Agent: Jakarta Commons-
Host: localhost:35357
Content-Length: 49
{
"OS-KSCATALOG:
"id":12,
}
}
response:
{"badRequest": {
"message": "Cannot parse endpointTemplate",
"code": "400",
"details": "Expecting property name: line 4 column 1 (char 45)"
}}
Note, the xml is working.
GET - endpoint for tenant seem not yet implemented.
Changed in keystone: | |
assignee: | nobody → Yogeshwar (yogesh-srikrishnan) |
Changed in keystone: | |
milestone: | none → essex-2 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-2 → 2012.1 |
To post a comment you must log in.
Hi Jenny
I tried the call and it works.This is my curl.Could you check again?
curl -X POST http:// localhost: 35357/v2. 0/tenants/ 1/OS-KSCATALOG/ endpoints -d "{\"OS- KSCATALOG: endpointTemplat e\": {\"id\": \"12\"}}" -H "content-type: application/json" -H "X-Auth-Token: 5a385f5f- 1f24-466a- a879-0f8a515c94 f2"