Getting s3 API to work
Hello,
I'm trying to get Swift3 middleware to work and receive the following exception
glior@fubar:~/s3$ curl -D - -H 'Date: Mon, 25 Apr 2011 17:06:00 +0000' -H 'Authorization: AWS AKIAJIGCCZ3KCSN
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 1087
Date: Mon, 25 Apr 2011 13:43:25 GMT
Connection: close
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
res = getattr(controller, req.method)(env, start_response)
File "/usr/lib/
body_iter = self.app(env, self.do_
File "/usr/lib/
groups = self.get_
File "/usr/lib/
account, user, sign = account.split(':')
ValueError: need more than 2 values to unpack
Nothing get's logged in the log.
I receive this exception even when Swift3 middleware is disabled in the /etc/swift/
[DEFAULT]
#cert_file = /etc/swift/cert.crt
#key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift
[pipeline:main]
pipeline = healthcheck cache swift3 swauth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_
[filter:swift3]
use = egg:swift#swift3
log_facility = LOG_LOCAL1
[filter:swauth]
use = egg:swift#swauth
default_
# Highly recommended to change this key to something else!
super_admin_key = swauthkey
[filter:
use = egg:swift#
[filter:cache]
use = egg:swift#memcache
memcache_servers = 10.10.1.29:11211
Any idea how to work around this problem ?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Lior Goikhburg for more information if necessary.