v1: Updates using x-image-meta-id header provoke E500 or 200
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Glance |
Fix Released
|
Medium
|
Niall Bunting | ||
| Liberty |
Fix Committed
|
Medium
|
Flavio Percoco | ||
Bug Description
$ curl -v -X PUT http://
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 9292 (#0)
> PUT /v1/images/
> User-Agent: curl/7.35.0
> Host: 127.0.0.1:9292
> Accept: */*
> X-Auth-Token: 7535a1be77e3459
> x-image-meta-id: fd6db2fa-
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 0
< Date: Mon, 10 Aug 2015 17:00:00 GMT
< Connection: close
<
* Closing connection 0
and
$ curl -v -X PUT http://
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 9292 (#0)
> PUT /v1/images/
> User-Agent: curl/7.35.0
> Host: 127.0.0.1:9292
> Accept: */*
> X-Auth-Token: 7535a1be77e3459
> x-image-meta-id: fd6db2fa-
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 0
< Date: Mon, 10 Aug 2015 17:00:00 GMT
< Connection: close
<
* Closing connection 0
Should return 403
| Changed in glance: | |
| assignee: | nobody → Niall Bunting (niall-bunting) |
| description: | updated |
| description: | updated |
| summary: |
- v1: incorrect x-image-meta-id header provokes E500 + v1: Updates using x-image-meta-id header provoke E500 or 200 |
| description: | updated |
| Changed in glance: | |
| milestone: | none → mitaka-1 |
| importance: | Undecided → Medium |
| Changed in glance: | |
| status: | Fix Committed → Fix Released |

It probably makes sense to return 403 here.