[trusty-mitaka] Services not running that should be: swift-proxy

Bug #1889186 reported by Aurelien Lourot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Swift Proxy Charm
New
Undecided
Unassigned

Bug Description

Happened here: http://osci:8080/view/MojoMatrix/job/mojo_runner/23240

On all three swift-proxy units.

/var/log/upstart/swift-proxy.log shows that the service crashes repeatedly with:

Starting proxy-server...(/etc/swift/proxy-server.conf)
No handlers could be found for logger "swift"
Traceback (most recent call last):
  File "/usr/bin/swift-proxy-server", line 23, in <module>
    sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 893, in run_wsgi
    loadapp(conf_path, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 391, in loadapp
    return ctx.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke
    app = filter(app)
  File "/usr/lib/python2.7/dist-packages/keystonemiddleware/s3_token.py", line 269, in auth_filter
    return S3Token(app, conf)
  File "/usr/lib/python2.7/dist-packages/keystonemiddleware/s3_token.py", line 113, in __init__
    auth_port = int(conf.get('auth_port', 35357))
ValueError: invalid literal for int() with base 10: 'None'

Signal proxy-server pid: 8271 signal: 15
No proxy-server running

/etc/swift/proxy-server.conf contains:

[filter:s3token]
paste.filter_factory = keystonemiddleware.s3_token:filter_factory
auth_port = None
auth_host = None
auth_protocol = http

So I suspect it does int('None') when parsing and throws a ValueError

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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