swift-proxy-server container keeps restarting

Bug #1552669 reported by Serguei Bezverkhi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Invalid
High
Serguei Bezverkhi

Bug Description

swift-proxy-server container keeps restarting due to missing modules, see below traceback:

liberasurecode[1]: liberasurecode_backend_open: dynamic linking error libJerasure.so: cannot open shared object file: No such file or directory

liberasurecode[1]: liberasurecode_backend_open: dynamic linking error libJerasure.so: cannot open shared object file: No such file or directory

liberasurecode[1]: liberasurecode_backend_open: dynamic linking error libisal.so: cannot open shared object file: No such file or directory

liberasurecode[1]: liberasurecode_backend_open: dynamic linking error libshss.so: cannot open shared object file: No such file or directory

Traceback (most recent call last):
  File "/var/lib/kolla/venv/bin/swift-proxy-server", line 23, in <module>
    sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/swift/common/wsgi.py", line 893, in run_wsgi
    loadapp(conf_path, global_conf=global_conf)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/swift/common/wsgi.py", line 384, in loadapp
    ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/swift/common/wsgi.py", line 368, in loadcontext
    global_conf=global_conf)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
    global_conf=global_conf)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/swift/common/wsgi.py", line 64, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context
    global_additions=global_additions)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
    for name in pipeline[:-1]]
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/swift/common/wsgi.py", line 64, in get_context
    object_type, name=name, global_conf=global_conf)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 458, in get_context
    section)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
    value = import_string(found_expr)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 22, in import_string
    return pkg_resources.EntryPoint.parse("x=" + s).load(False)
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2202, in load
    return self.resolve()
  File "/var/lib/kolla/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2208, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named ceilometermiddleware.swift

Revision history for this message
Serguei Bezverkhi (sbezverk) wrote :

I have connected to swift base image and confirmed that these modules are missing:

[root@8b256ac3693a /]# find / -name libJerasure.so -print
[root@8b256ac3693a /]# find / -name libisal.so -print
[root@8b256ac3693a /]# find / -name libshss.so -print

It also missing ceilometermiddleware required for swift-proxy server.

Serguei

Changed in kolla:
assignee: nobody → Serguei Bezverkhi (sbezverk)
Steven Dake (sdake)
Changed in kolla:
status: New → Confirmed
milestone: none → mitaka-3
importance: Undecided → High
Revision history for this message
Serguei Bezverkhi (sbezverk) wrote :

The issue is triggered by missing ceilometer middleware, it is not a part of default installed packages but it has been referenced from swift-proxy-server's pipeline. The fix is to remove ceilometer from the pipeline.

Revision history for this message
Serguei Bezverkhi (sbezverk) wrote :

With the latest kolla master, ceilometer is not present in swift-proxy-server pipeline, closing this bug as it seems it does not require any fixing.

Changed in kolla:
status: Confirmed → Invalid
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.