Hello,

I want to use S3 api for Swift.

I have installed swift3 as here:

git clone https://github.com/openstack/swift3
cd swift3
python setup.py install

Then I have configured my proxy-server.conf as here:

[pipeline:main]
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
container-quotas account-quotas slo dlo versioned_writes proxy-logging
proxy-server

[filter:swift3]
use = egg:swift3#swift3

[filter:s3token]
use = egg:swift3#s3token
auth_uri = http://keystone:35357/
reseller_prefix = AUTH_

Then I tried to restart the proxy:
systemctl restart openstack-swift-proxy

And it failes.

systemctl status openstack-swift-proxy -l
shows next:

‚óŹ openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy
Server
   Loaded: loaded (/usr/lib/systemd/system/openstack-swift-proxy.service;
enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2016-10-12 23:17:06 EEST;
3min 0s ago
  Process: 2213 ExecStart=/usr/bin/swift-proxy-server
/etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)
 Main PID: 2213 (code=exited, status=1/FAILURE)

Oct 12 23:17:06 proxy2 systemd[1]: Started OpenStack Object Storage (swift)
- Proxy Server.
Oct 12 23:17:06 proxy2 systemd[1]: Starting OpenStack Object Storage
(swift) - Proxy Server...
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libJerasure.so.2: cannot open shared object file: No
such file or directory
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libJerasure.so.2: cannot open shared object file: No
such file or directory
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libisal.so.2: cannot open shared object file: No such
file or directory
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libshss.so.1: cannot open shared object file: No such
file or directory
Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service: main
process exited, code=exited, status=1/FAILURE
Oct 12 23:17:06 proxy2 systemd[1]: Unit openstack-swift-proxy.service
entered failed state.
Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service failed.


If I remove "swift3 s3token" form pipeline then it works.. Why my proxy
crashes with swift3?

I have an OpenStack Swift Mitaka

Sincerely,
Alexandr
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to