Ask Your Question
0

No section 'tempurl', but it exists at proxy-server.conf

asked 2014-02-27 02:15:26 -0600

calanchue gravatar image

If i do 'swift-init all restart', i get error below LookupError: No section 'tempurl' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/swift/proxy-server.conf

But 'tempurl' section exists at 'proxy-server.conf'. below is my proxy-server.conf file. [DEFAULT] cert_file=/etc/swift/cert.crt key_file=/etc/swift/cert.key bind_port = 443 workers = 8 user = swift

[pipeline:main] pipeline = healthcheck proxy-logging cache swauth proxy-server tempurl

[app:proxy-server] use = egg:swift#proxy allow_account_management = true account_autocreate = true

[filter:tempurl] use = egg:swift#tempurl methods = GET HEAD PUT

[filter:proxy-logging] use = egg:swift#proxy_logging

[filter:swauth] use = egg:swauth#swauth set log_name = swauth super_admin_key = swauthkey default_swift_cluster = local#https://10.222.223.39/v1#https://127.0.0.1/v1

[filter:healthcheck] use = egg:swift#healthcheck

[filter:cache] use = egg:swift#memcache memcache_servers = 192.169.250.4:11211

isn't '[filter:tempurl] ..' what error is saying? I have no idea about this problem.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-27 15:33:29 -0600

david-goetz gravatar image

tempurl needs to be before auth in your pipeline:

instead of

pipeline = healthcheck proxy-logging cache swauth proxy-server tempurl

use:

pipeline = healthcheck proxy-logging cache tempurl swauth proxy-server

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-02-27 02:15:26 -0600

Seen: 311 times

Last updated: Feb 27 '14