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
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 ceilometermiddl eware required for swift-proxy server.
Serguei