In this topic, we are going to Install and configure proxy server components for OpenStack Swift.
Enable Openstack queens Repositories on node1, node3 and node4:
$ yum install centos-release-openstack-queens $ yum update
Install required packages for proxy server on node1:
$ yum install openstack-swift-proxy python-swiftclient python-keystoneclient python-keystonemiddleware memcached
Obtain the proxy service configuration file from the Object Storage source repository:
$ curl -o /etc/swift/proxy-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/proxy-server.conf-sample?h=stable/queens
Edit the /etc/swift/proxy-server.conf file and complete the following actions:
[DEFAULT] bind_port = 8080 user = swift swift_dir = /etc/swift [pipeline:main] pipeline = catch_errors gatekeeper healthcheck proxy-logging cache tempurl formpost container_sync bulk ratelimit authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server [app:proxy-server] use = egg:swift#proxy account_autocreate = True [filter:keystoneauth] use = egg:swift#keystoneauth operator_roles = admin,user [filter:authtoken] paste.filter_factory = keystonemiddleware.auth_token:filter_factory auth_uri = http://node1:5000 auth_url = http://node1:35357 memcached_servers = node1:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = admin username = swift password = SWIFT_PASS delay_auth_decision = True Replace SWIFT_PASS with the password you chose for the swift user in the Identity service. [filter:cache] use = egg:swift#memcache memcache_servers = node1:11211
Related Topics:
An Overview of Swift – An Object Storage Service | OpenStack Swift – Part 1
Deploy Multi node Openstack Swift – Queens Configuration | OpenStack Swift – Part 2
Configuring Keystone | OpenStack Swift – Part 3
Install and Configure Proxy Server Components | OpenStack Swift – Part 4
Install and Configure the Storage Nodes | OpenStack Swift – Part 5
Install and configure components | OpenStack Swift – Part 6
Create and Distribute Initial Rings | OpenStack Swift – Part 7
Verify Operation | OpenStack Swift – Part 8




