Swift and Keystone Integration problems
My environment:
Ubuntu 10.04
Swift 1.4.3
Keystone v2012.1
Swift and Keystone are on the same machine
I've succeed in configuring Swift 1.4.3 and the old version Keystone. However, when I try to upgrade Keystone to the v2012.1 version, it turns out some errors as follows:
root@Swift-
Auth GET failed: https:/
The proxy log is:
Dec 7 20:21:41 Swift-Proxy1 proxy-server 127.0.0.1 127.0.0.1 07/Dec/
Dec 7 20:21:42 Swift-Proxy1 proxy-server 127.0.0.1 127.0.0.1 07/Dec/
The keystone log is:
2011-12-07 20:21:41 WARNING [eventlet.
2011-12-07 20:21:41 WARNING [eventlet.
2011-12-07 20:21:42 WARNING [eventlet.
2011-12-07 20:21:42 WARNING [eventlet.
Here is the steps I take to upgrade:
First, I fetch the newest version of Keystone from github and setup successfully. Then, I configure the keystone.conf and proxy.conf. The content of this two files are as follows:
keystone.conf
-------
[DEFAULT]
verbose = False
debug = False
default_store = sqlite
log_file = keystone.log
log_dir = /var/log
backends = keystone.
service-
'nova' : 'X-Server-
'swift' : 'X-Storage-Url',
'cdn' : 'X-CDN-
service_host = 0.0.0.0
service_port = 5000
service_ssl = True
admin_host = 0.0.0.0
admin_port = 35357
admin_ssl = True
certfile = /etc/keystone/
keyfile = /etc/keystone/
ca_certs = /etc/keystone/
cert_required = True
auth_protocol = https
auth_uri = https:/
certfile = /etc/keystone/
keyfile = /etc/keystone/
keystone-admin-role = Admin
keystone-
hash-password = True
[keystone.
sql_connection = mysql:/
backend_entities = ['UserRoleAssoc
sql_idle_timeout = 30
[pipeline:admin]
pipeline =
urlrewritef
admin_api
[pipeline:
pipeline =
urlrewritef
legacy_auth
service_api
[app:service_api]
paste.app_factory = keystone.
[app:admin_api]
paste.app_factory = keystone.
[filter:
paste.filter_
[filter:
paste.filter_
[filter:debug]
paste.filter_
proxy-server.conf
-------
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 32
user = swift
[pipeline:main]
pipeline = catch_errors healthcheck cache keystone proxy-server
[app:proxy-server]
use = egg:swift#proxy
set log_name = proxy-server
set log_facility = LOG_LOCAL0
set log_level = INFO
set access_log_name = proxy-server
set access_log_facility = LOG_LOCAL0
set access_log_level = INFO
account_autocreate = true
allow_account_
[filter:keystone]
use = egg:keystone#
auth_protocol = https
auth_host = 127.0.0.0
auth_port = 35357
admin_token = 999888777666
delay_auth_decision = 0
service_protocol = https
service_host = 127.0.0.0
service_port = 5000
service_pass = dTpw
cache = swift.cache
[filter:
use = egg:swift#
[filter:cache]
use = egg:swift#memcache
set log_name = cache
memcache_servers = 192.168.
[filter:
use = egg:swift#
Then I delete the old DB of Keystone and create some new data and run the command mentioned above. Then I got that error. When I change the "use = egg:keystone#
root@Swift-
Account HEAD failed: https:/
The proxy doesn't print any log and the keystone log is:
2011-12-07 20:29:46 WARNING [eventlet.
2011-12-07 20:29:46 WARNING [eventlet.
Is there anyone who has met this problem?
Thanks~
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- crayon_z
- Solved:
- Last query:
- Last reply: