swift proxy start ValueError: invalid literal for int() with base 10: 'true'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Chmouel Boudjnah |
Bug Description
Ubuntu 12.04 LTS with Essex release (built-in packages, manual install)
I am not able to start swift proxy server.
# swift-init proxy start
Starting proxy-server.
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/
return context.create()
File "/usr/lib/
return self.object_
File "/usr/lib/
app = filter(app)
File "/usr/lib/
return AuthProtocol(app, conf)
File "/usr/lib/
self.
ValueError: invalid literal for int() with base 10: 'true'
The proxy-server.conf file is
-------
# cat /etc/swift/
[DEFAULT]
bind_port = 8080
user = swift
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_ip = OpenStack
log_facility = LOG_LOCAL1
log_name = swift
log_level = DEBUG
[pipeline:main]
pipeline = catch_errors healthcheck cache authtoken keystone proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_
account_autocreate = true
[filter:keystone]
paste.filter_
operator_roles = admin, swiftoperator
[filter:authtoken]
paste.filter_
# Delaying the auth decision is required to support token-less
# usage for anonymous referrers ('.r:*').
delay_auth_decision = true
service_port = 5000
service_host = 127.0.0.1
auth_port = 35357
auth_host = 127.0.0.1
auth_token = 012345SECRET99T
admin_token = 012345SECRET99T
[filter:cache]
use = egg:swift#memcache
set log_name = cache
memcache_servers = OpenStack:11211
[filter:
use = egg:swift#
[filter:
use = egg:swift#
[app:auth-server]
use = egg:swift#auth
default_cluster_url = https:/
super_admin_key = devauth
-------
keystone, memcached, nova, glance, swift account/
Changed in keystone: | |
milestone: | none → folsom-1 |
Changed in keystone: | |
milestone: | folsom-1 → folsom-2 |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | folsom-2 → 2012.2 |
> self.delay_ auth_decision = int(conf. get('delay_ auth_decision' , 0))
> ValueError: invalid literal for int() with base 10: 'true'
[....]
> delay_auth_decision = true
This value need to be an integer (number) set this to 1 and this
should get you going.
Probably need to be address in keystone's auth_token to accept a
true/false values and/or fix the documentation.
Chmouel.