Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to start Swift Proxy

Greetings everyone.

Preparing for my Red Hat OpenStack Administrator exam, I've been following RDO install guide, so I finished configuring Swift Object Storage services and tried to start Swift Proxy on controller node, but it failed with errors in journalctl:

Jun 09 01:06:16 openstack-01.svp.test systemd[1]: Started OpenStack Object Storage (swift) - Proxy Server.
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: Starting OpenStack Object Storage (swift) - Proxy Server...
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libisal.so.2: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libshss.so.1: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: Traceback (most recent call last):
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/bin/swift-proxy-server", line 23, in <module>
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 893, in run_wsgi
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: loadapp(conf_path, global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 384, in loadapp
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 368, in loadcontext
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: return loader.get_context(object_type, name, global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 64, in get_context
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: openstack-swift-proxy.service: main process exited, code=exited, status=1/FAILURE
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: Unit openstack-swift-proxy.service entered failed state.
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: openstack-swift-proxy.service failed.

After discovering that no package in enabled repositories can provide file libJerasure.so.2, I searched a bit and found out that I have to compile and install GF-Complete first, but turns out Jerasure 2.0 and GF-Complete are no longer supported. Is there any way to make it work? Thank you in advance.

Unable to start Swift Proxy

Greetings everyone.

Preparing for my Red Hat OpenStack Administrator exam, I've been following RDO install guide, so I finished configuring Swift Object Storage services and tried to start Swift Proxy on controller node, but it failed with errors in journalctl:

Jun 09 01:06:16 openstack-01.svp.test systemd[1]: Started OpenStack Object Storage (swift) - Proxy Server.
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: Starting OpenStack Object Storage (swift) - Proxy Server...
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libisal.so.2: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test liberasurecode[13198]: liberasurecode_backend_open: dynamic linking error libshss.so.1: cannot open shared object file: No such file or directory
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: Traceback (most recent call last):
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/bin/swift-proxy-server", line 23, in <module>
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 893, in run_wsgi
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: loadapp(conf_path, global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 384, in loadapp
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: ctx = loadcontext(loadwsgi.APP, conf_file, global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 368, in loadcontext
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: global_conf=global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: return loader.get_context(object_type, name, global_conf)
Jun 09 01:06:16 openstack-01.svp.test swift-proxy-server[13198]: File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 64, in get_context
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: openstack-swift-proxy.service: main process exited, code=exited, status=1/FAILURE
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: Unit openstack-swift-proxy.service entered failed state.
Jun 09 01:06:16 openstack-01.svp.test systemd[1]: openstack-swift-proxy.service failed.

After discovering that no package in enabled repositories can provide file libJerasure.so.2, I searched a bit and found out that I have to compile and install GF-Complete first, but turns out Jerasure 2.0 and GF-Complete are no longer supported. Is there any way to make it work? Thank you in advance.