project ID not honored in requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
craton |
Fix Released
|
Critical
|
Sulochan Acharya |
Bug Description
When passing "project_id" in a create request for regions/cells (most likely others), it seems the "X-Auth-Project" attribute is used for the "project_id" reference for the created object, not the one in the request body:
$ curl -X POST -s http://
{
"created_at": "2017-02-
"id": 6,
"name": "demo2_region2",
"note": null,
"project_id": "b9f10eca66ac4c
"updated_at": null,
"variables": {}
}
$ curl -X POST -s http://
{
"created_at": "2017-02-
"id": 5,
"name": "demo2_
"note": null,
"project_id": "b9f10eca66ac4c
"region_id": 7,
"updated_at": null,
"variables": {}
}
Changed in craton: | |
assignee: | nobody → Sulochan Acharya (sulochan-acharya) |
I don't think project_id is required (or honored) in request body. /github. com/openstack/ craton/ commit/ 1a858f2d2e1f3af a7879cefd0c8563 9cc009a5b2
See: https:/