Swift trying to authenticate with keystone instead of swauth
Hi,
I am trying to set up swift and use it as an object store for hadoop (see http://bigdatacraft.com/archives/406). I had originally set up swift to use keystone for authentication, but I need to switch to swauth for compatibility with cloud-files.
After making the switch I was able to run swauth-prep and swauth-add-user, but when I try to run swift -A <ip> -U account:user -K pass stat I get the following error:
===============================
root@irad-controller:/home/irad-controller# swift -V 2.0 -A http://7.7.7.101:8888/auth/v1.0 -U irad-user:irad-user -K password stat
No handlers could be found for logger "keystoneclient.client"
Traceback (most recent call last):
File "/usr/bin/swift", line 1190, in
The server could not comply with the request since it is either malformed or otherwise incorrect.
. (HTTP 400)
Here's my config:
=============================== [DEFAULT] bind_ip = 0.0.0.0 bind_port = 8888 user = swift swift_dir = /etc/swift
[pipeline:main] pipeline = healthcheck catch_errors cache swauth proxy-server
[filter:catch_errors] use = egg:swift#catch_errors
[app:proxy-server] use = egg:swift#proxy allow_account_management = true account_autocreate = true log_level=INFO
[filter:swauth] use = egg:swauth#swauth set log_name = swauth super_admin_key = ADMIN default_swift_cluster = irad_cluster#http://7.7.7.101:8888/v1
[filter:cache] use = egg:swift#memcache set log_name = cache memcache_servers = 10.0.1.4:11211
[filter:catch_errors] use = egg:swift#catch_errors
[filter:healthcheck]
use = egg:swift#healthcheck
Why is swift still trying to use keystone for authentication?
Thank you for your help!