Install and Configure Proxy Server Components | OpenStack Swift – Part 4

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

Edit the /etc/swift/proxy-server.conf file and complete the following actions:

bind_port = 8080
user = swift
swift_dir = /etc/swift

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

use = egg:swift#proxy
account_autocreate = True

use = egg:swift#keystoneauth
operator_roles = admin,user

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.

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