
Update swift configuration for Liberty. Includes moving basic host configuration of object storage nodes to environment section. Also addresses some consistency issues, mostly from the RST conversion. Changes and testing specific to distribution packages primarily involve Ubuntu. Other distributions may require additional patches. Change-Id: I00c9f9fbc3700ebf0423a4c1ac92ff6863852df6 Implements: blueprint installguide-liberty
78 lines
2.0 KiB
Plaintext
78 lines
2.0 KiB
Plaintext
Edit the ``/etc/swift/proxy-server.conf`` file and complete the
|
|
following actions:
|
|
|
|
* In the ``[DEFAULT]`` section, configure the bind port, user, and
|
|
configuration directory:
|
|
|
|
.. code-block:: ini
|
|
|
|
[DEFAULT]
|
|
...
|
|
bind_port = 8080
|
|
user = swift
|
|
swift_dir = /etc/swift
|
|
|
|
* In the ``[pipeline:main]`` section, enable the appropriate modules:
|
|
|
|
.. code-block:: ini
|
|
|
|
[pipeline:main]
|
|
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
|
|
container_sync bulk ratelimit authtoken keystoneauth container-quotas
|
|
account-quotas slo dlo versioned_writes proxy-logging proxy-server
|
|
|
|
.. note::
|
|
|
|
For more information on other modules that enable additional features,
|
|
see the `Deployment Guide <http://docs.openstack.org/developer/swift/deployment_guide.html>`__.
|
|
|
|
* In the ``[app:proxy-server]`` section, enable automatic account creation:
|
|
|
|
.. code-block:: console
|
|
|
|
[app:proxy-server]
|
|
...
|
|
account_autocreate = true
|
|
|
|
* In the ``[filter:keystoneauth]`` section, configure the operator roles:
|
|
|
|
.. code-block:: console
|
|
|
|
[filter:keystoneauth]
|
|
use = egg:swift#keystoneauth
|
|
...
|
|
operator_roles = admin,user
|
|
|
|
* In the ``[filter:authtoken]`` section, configure Identity service access:
|
|
|
|
.. code-block:: ini
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
|
...
|
|
auth_uri = http://controller:5000
|
|
auth_url = http://controller:35357
|
|
auth_plugin = password
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
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.
|
|
|
|
.. note::
|
|
|
|
Comment out or remove any other options in the ``[filter:authtoken]``
|
|
section.
|
|
|
|
* In the ``[filter:cache]`` section, configure the ``memcached`` location:
|
|
|
|
.. code-block:: ini
|
|
|
|
[filter:cache]
|
|
...
|
|
memcache_servers = 127.0.0.1:11211
|