[Openstack] [OpenStack][Swift] problem about swift proxy easurecode

Nalee Jang nalee999 at gmail.com
Wed Jan 4 09:13:29 UTC 2017


Hello

I have problems when I install OpenStack Swift Mitaka version in my vm.
so I'd like to ask about how to solve this problem to openstack members.

my vm os is ubuntu 16.04.
I searched this problem on the website when I see below error messages.
and I commanded like below. but I have problems yet.

How can I solve this problem? Please help me.

===
** problem **

# *service swift-proxy status*

*...*

Jun 25 00:35:34 controller liberasurecode[18428]: *liberasurecode_backend_open:
dynamic linking error libshss.so.1: cannot open shared object file: No such
file or directory*

...


** procedure for solving problem **

*# apt-get install gcc*
*# apt-get install liberasurecode-dev*
*# git clone https://bitbucket.org/kmgreen2/pyeclib.git
<https://bitbucket.org/kmgreen2/pyeclib.git>*

*# export LD_LIBRARY_PATH=/usr/local/lib/python2.7/dist-packages/*
*# cd pyeclib/*
*# python setup.py install*


** but I have problem yet like below **

# *service swift-proxy restart*

# *service swift-proxy status*

*●* swift-proxy.service - LSB: Swift proxy server

   Loaded: loaded (/etc/init.d/swift-proxy; bad; vendor preset: enabled)

   Active: *active (exited)* since Wed 2017-01-04 02:29:51 KST; 3s ago

     Docs: man:systemd-sysv-generator(8)

  Process: 5120 ExecStop=/etc/init.d/swift-proxy stop (code=exited,
status=0/SUCCESS)

  Process: 5164 ExecStart=/etc/init.d/swift-proxy start (code=exited,
status=0/SUCCESS)



Jan 04 02:29:51 controller swift-proxy[5164]:     from swift.common.wsgi
import run_wsgi

Jan 04 02:29:51 controller swift-proxy[5164]:   File
"/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 39, in
<module>

Jan 04 02:29:51 controller swift-proxy[5164]:     from
swift.common.storage_policy import BindPortsCache

Jan 04 02:29:51 controller swift-proxy[5164]:   File
"/usr/lib/python2.7/dist-packages/swift/common/storage_policy.py", line 25,
in <module>

Jan 04 02:29:51 controller swift-proxy[5164]:     from pyeclib.ec_iface
import ECDriver, ECDriverError, VALID_EC_TYPES

Jan 04 02:29:51 controller swift-proxy[5164]:   File
"/usr/local/lib/python2.7/dist-packages/pyeclib/ec_iface.py", line 29, in
<module>

Jan 04 02:29:51 controller swift-proxy[5164]:     from pyeclib_c import
check_backend_available

Jan 04 02:29:51 controller swift-proxy[5164]: ImportError:
/usr/local/lib/python2.7/dist-packages/pyeclib_c.so: undefined symbol:
liberasurecode_backend_available

Jan 04 02:29:51 controller swift-proxy[5164]:    ...fail!
Jan 04 02:29:51 controller systemd[1]: Started LSB: Swift proxy server.


-- 
==================================================
 - Community : *Openstack Korea Community*
 - Name          : Nalee Jang (장현정)
 - Company    : ASD Korea Cloudike System Engineer.
 - Contact       : +82-10-3454-4260 / nalee999 at gmail.com
 - Blog            : http://naleejang.tistory.com
 - HomePage  : http://www.openstack.or.kr
 - Facebook   : https://www.facebook.com/groups/openstack.kr/
==================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170104/0392508f/attachment.html>


More information about the Openstack mailing list