Pecan assuming meter names are extensions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
gordon chung |
Bug Description
Pecan has a 'feature' which guess content-type from the url 'extension'. this causes issues in py26 and may cause issues in other version. the following error occurs in when getting http.request samples
=======
GET http://
> X-Auth-Token: 78e25b535bd3442
> Content-Type: application/json
> Accept: application/json
> User-Agent: powervc-httpclient
< HTTP/1.1 404 Not Found
< Content-Type: application/json
< Content-Length: 77
{
"error_message": "404 Not Found\n\nThe resource could not be found.\n\n "
}
=======
in Pecan, when it tries to route the url path, there is logic which tries to figure out the content type based on the 'extension' of the url (it assumes '.request' is the extension). specifically at one point, it will attempt to guess the content_type based on this 'extension': https:/
Changed in ceilometer: | |
assignee: | nobody → gordon chung (chungg) |
summary: |
- Pecan guessing extensions from meter names + Pecan assuming meter names are extensions |
Changed in ceilometer: | |
importance: | Undecided → High |
milestone: | none → havana-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | havana-rc1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/46143
Review: https:/