Documentation needs updating

Bug #791585 reported by Bob
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Anne Gentle

Bug Description

Hi,

I followed the docs and am getting the following :

Starting proxy-server...(/etc/swift/proxy-server.conf)
Traceback (most recent call last):
  File "/usr/bin/swift-proxy-server", line 22, in <module>
    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)
  File "/usr/lib/pymodules/python2.7/swift/common/wsgi.py", line 128, in run_wsgi
    app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 405, in get_context
    global_additions=global_additions)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 503, in _pipeline_app_context
    for name in pipeline[:-1]]
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 363, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 528, in find_config_section
    self.filename))
LookupError: No section 'auth' (prefixed by 'filter') found in config /etc/swift/proxy-server.conf

# cat /etc/swift/proxy-server.conf
[DEFAULT]
cert_file = /etc/swift/XXXXXXXX.crt
key_file = /etc/swift/XXXXXXXXXXXX.key
bind_port = 8080
workers = 8
user = swift

[pipeline:main]
pipeline = healthcheck cache auth proxy-server

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

[filter:swauth]
user = egg:swift#swauth
# Highly recommended to change this.
super_admin_key =XXXXXXXXXXX

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

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

Revision history for this message
Bob (rclocal) wrote :

Specifically in the docs ... "5. Create /etc/swift/proxy-server.conf:"

[pipeline:main]
pipeline = healthcheck cache auth proxy-server
*********SHOULD READ**************
[pipeline:main]
pipeline = healthcheck cache swauth proxy-server

and

[filter:swauth]
user = egg:swift#swauth
# Highly recommended to change this.
super_admin_key = swauthkey
*********SHOULD READ**************
[filter:swauth]
use = egg:swift#swauth
# Highly recommended to change this.
super_admin_key = swauthkey

Anne Gentle (annegentle)
Changed in swift:
assignee: nobody → Anne Gentle (annegentle)
status: New → In Progress
Anne Gentle (annegentle)
Changed in swift:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.