Problems starting swift with keystone integration
Hi,
I'm trying to get keystone running with swift but have an issue trying to start swift:
swift-init main start
Starting proxy-server.
Unable to locate config for container-server
Unable to locate config for account-server
Unable to locate config for object-server
/usr/lib/
import pkg_resources
Traceback (most recent call last):
File "/usr/bin/
run_
File "/usr/lib/
loadapp(
File "/usr/lib/
return loadobj(APP, uri, name=name, **kw)
File "/usr/lib/
global_
File "/usr/lib/
global_
File "/usr/lib/
return loader.
File "/usr/lib/
global_
File "/usr/lib/
% (', '.join(
TypeError: not enough arguments for format string
My keystone conf looks as follows:
[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = True
# Show debugging output in logs (sets DEBUG log level output)
debug = True
# Which backend store should Keystone use by default.
# Default: 'sqlite'
# Available choices are 'sqlite' [future will include LDAP, PAM, etc]
default_store = sqlite
# Log to this file. Make sure you do not set the same log
# file for both the API and registry servers!
#log_file = /var/log/
log_file = keystone.log
# List of backends to be configured
backends = keystone.
#For LDAP support, add: ,keystone.
# Dictionary Maps every service to a header.Missing services would get header
# X_(SERVICE_NAME) Key => Service Name, Value => Header Name
service-
'nova' : 'X-Server-
'swift' : 'X-Storage-Url',
'cdn' : 'X-CDN-
# Address to bind the API server
# TODO Properties defined within app not available via pipeline.
service_host = 0.0.0.0
# Port the bind the API server to
service_port = 5000
# Address to bind the Admin API server
admin_host = 0.0.0.0
# Port the bind the Admin API server to
admin_port = 5001
#Role that allows to perform admin operations.
keystone-admin-role = Admin
[keystone.
# SQLAlchemy connection string for the reference implementation registry
# server. Any valid SQLAlchemy connection string is fine.
# See: http://
sql_connection = sqlite:
backend_entities = ['UserGroupAsso
'Role', 'Tenant', 'User', 'Group', 'Credentials', 'EndpointTempla
# Period in seconds after which SQLAlchemy should reestablish its connection
# to the database.
sql_idle_timeout = 30
[keystone.
# SQLAlchemy connection string for the reference implementation registry
# server. Any valid SQLAlchemy connection string is fine.
# See: http://
sql_connection = sqlite:
backend_entities = ['Token']
# Period in seconds after which SQLAlchemy should reestablish its connection
# to the database.
sql_idle_timeout = 30
[keystone.
ldap_url = fake://ldap.db
ldap_user = cn=Admin
ldap_password = password
backend_entities = ['Tenant', 'User', 'Group']
[pipeline:admin]
pipeline =
urlrewritefilter
admin_api
[pipeline:
pipeline =
urlrewritefilter
legacy_auth
service_api
[app:service_api]
paste.app_factory = keystone.
[app:admin_api]
paste.app_factory = keystone.
[filter:
paste.filter_
[filter:
paste.filter_
And my swift proxy-server.conf:
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_ip = 0.0.0.0
bind_port = 443
workers = 8
user = swift
log_name = swift
log_facility = LOG_LOCAL0
#log_level = INFO
log_level = DEBUG
[pipeline:main]
pipeline = healthcheck cache keystone proxy-server
account_autocreate = true
[app:proxy-server]
use = egg:swift#proxy
#allow_
account_autocreate = true
log_facility = LOG_LOCAL1
[filter:keystone]
use = egg:keystone#
auth_protocol = http
auth_host = 192.168.2.20
auth_port = 5001
admin_token = 999888777666
delay_auth_decision = 0
service_protocol = http
service_host = 192.168.2.20
service_port = 5000
service_pass = dTpw
#[filter:swauth]
#use = egg:swift#swauth
#default_
#super_admin_key = ouzel0@pawns
[filter:
use = egg:swift#
[filter:cache]
use = egg:swift#memcache
memcache_servers = 172.16.16.10:11211
Can anyone give me some clues as to my issue here?
Thanks,
Marc
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Marc
- Solved:
- Last query:
- Last reply: