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

Asked by JinHwan Hwang

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.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Goetz (david-goetz) said :
#1

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

Can you help with this problem?

Provide an answer of your own, or ask JinHwan Hwang for more information if necessary.

To post a message you must log in.