yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35275
[Bug 1474236] [NEW] unexpect response when create an image with owner or locations in api v2
Public bug reported:
When create an image with the parameter 'owner' or 'locations' in api
v2, it will raise an error like:
403 Forbidden
Attribute 'owner' is reserved.
403 Forbidden
Attribute 'locations' is reserved.
Reproduce:
Create an image like:
POST http://hostip:v2/images
body:
{
"name": "v2_test",
"tags": [
"ubuntu",
"quantal"
],
"disk_format": "qcow2",
"container_format": "bare",
"owner": "xxxxx",
"locations": [
{
"url": "xxxxxx",
"metadata":{}
}
]
}
** Affects: glance
Importance: Undecided
Assignee: wangxiyuan (wangxiyuan)
Status: New
** Changed in: glance
Assignee: (unassigned) => wangxiyuan (wangxiyuan)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1474236
Title:
unexpect response when create an image with owner or locations in api
v2
Status in Glance:
New
Bug description:
When create an image with the parameter 'owner' or 'locations' in api
v2, it will raise an error like:
403 Forbidden
Attribute 'owner' is reserved.
403 Forbidden
Attribute 'locations' is reserved.
Reproduce:
Create an image like:
POST http://hostip:v2/images
body:
{
"name": "v2_test",
"tags": [
"ubuntu",
"quantal"
],
"disk_format": "qcow2",
"container_format": "bare",
"owner": "xxxxx",
"locations": [
{
"url": "xxxxxx",
"metadata":{}
}
]
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1474236/+subscriptions
Follow ups