HTTP/1.1 404 Not Found when setting auth_prefix to '/' in tempauth config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Kota Tsuyuzaki |
Bug Description
using swift 1.7.5, using tempauth.
swift is running at localhost:8080.
proxy-server.conf
[filter:tempauth]
use = egg:swift#tempauth
auth_prefix = / # default is '/auth/'
user_swift_swift = swift .admin
When trying to authorize and get token with this config like keystone authorization, i.e.:
curl -X GET -v -H "X-storage-User: swift:swift" -H "X-Storage-Pass: swift" http://
I get: HTTP/1.1 404 Not Found
Though using this config, I can get correct authorized 200 response with any prefix
like 'http://
Besides this behaivor, when trying to GET request(or others), i.e:
curl -X GET -v -H "X-Auth-Token: xxxxxxxxxx" http://
(xxxxxxxxxx is authorized token)
I get: HTTP/1.1 400 Bad Request.
Therefore I can not operate on swift correctly with this config.
However I checked error logs, swift dumps no error logs about them.
Changed in swift: | |
assignee: | nobody → Kota Tsuyuzaki (tsuyuzaki-kota) |
Changed in swift: | |
status: | New → In Progress |
Changed in swift: | |
milestone: | none → 1.8.0-rc1 |
status: | Fix Committed → Fix Released |
Changed in swift: | |
milestone: | 1.8.0-rc1 → 1.8.0 |
Fix proposed to branch: master /review. openstack. org/19050
Review: https:/
Hudson did not link my code review.
Is it because I forgot to include bug number in a commit message?