[install] Swift updates for Mitaka
Update swift configuration for Mitaka. 1) Change configuration file branch from liberty to mitaka. 2) Change keystone middleware to use domain name instead of domain ID. 3) Use OpenStack client instead of swift client to download object. Considerably slower, but works. 4) Remove workaround for using the Identity v3 API because the entire guide continues to use "versioned" endpoints. Implements: bp installguide-mitaka Change-Id: I3115c11b55764dc321459d7e9f11b49982cdd11e
This commit is contained in:
parent
f8795e83cc
commit
3494e584fb
|
@ -57,9 +57,10 @@ following actions:
|
|||
...
|
||||
auth_uri = http://controller:5000
|
||||
auth_url = http://controller:35357
|
||||
memcached_servers = controller:11211
|
||||
auth_type = password
|
||||
project_domain_id = default
|
||||
user_domain_id = default
|
||||
project_domain_name = default
|
||||
user_domain_name = default
|
||||
project_name = service
|
||||
username = swift
|
||||
password = SWIFT_PASS
|
||||
|
|
|
@ -174,7 +174,7 @@ Install and configure components
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
# curl -o /etc/swift/proxy-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/proxy-server.conf-sample?h=stable/liberty
|
||||
# curl -o /etc/swift/proxy-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/proxy-server.conf-sample?h=stable/mitaka
|
||||
|
||||
.. only:: rdo
|
||||
|
||||
|
@ -183,7 +183,7 @@ Install and configure components
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
# curl -o /etc/swift/proxy-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/proxy-server.conf-sample?h=stable/liberty
|
||||
# curl -o /etc/swift/proxy-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/proxy-server.conf-sample?h=stable/mitaka
|
||||
|
||||
.. only:: obs
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ Finalize installation
|
|||
.. code-block:: console
|
||||
|
||||
# curl -o /etc/swift/swift.conf \
|
||||
https://git.openstack.org/cgit/openstack/swift/plain/etc/swift.conf-sample?h=stable/liberty
|
||||
https://git.openstack.org/cgit/openstack/swift/plain/etc/swift.conf-sample?h=stable/mitaka
|
||||
|
||||
#. Edit the ``/etc/swift/swift.conf`` file and complete the following
|
||||
actions:
|
||||
|
|
|
@ -173,9 +173,9 @@ Install and configure components
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
# curl -o /etc/swift/account-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/account-server.conf-sample?h=stable/liberty
|
||||
# curl -o /etc/swift/container-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/container-server.conf-sample?h=stable/liberty
|
||||
# curl -o /etc/swift/object-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/object-server.conf-sample?h=stable/liberty
|
||||
# curl -o /etc/swift/account-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/account-server.conf-sample?h=stable/mitaka
|
||||
# curl -o /etc/swift/container-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/container-server.conf-sample?h=stable/mitaka
|
||||
# curl -o /etc/swift/object-server.conf https://git.openstack.org/cgit/openstack/swift/plain/etc/object-server.conf-sample?h=stable/mitaka
|
||||
|
||||
3. .. include:: swift-storage-include1.txt
|
||||
4. .. include:: swift-storage-include2.txt
|
||||
|
|
|
@ -22,15 +22,6 @@ Verify operation of the Object Storage service.
|
|||
|
||||
# chcon -R system_u:object_r:swift_data_t:s0 /srv/node
|
||||
|
||||
#. Due to a
|
||||
`bug <https://bugs.launchpad.net/python-swiftclient/+bug/1554885>`_,
|
||||
you must add a version to the ``OS_AUTH_URL`` variable in the environment
|
||||
scripts. For example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
export OS_AUTH_URL=http://controller:5000/v3
|
||||
|
||||
#. Source the ``demo`` credentials:
|
||||
|
||||
.. code-block:: console
|
||||
|
@ -95,13 +86,11 @@ Verify operation of the Object Storage service.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ swift download container1 FILE
|
||||
FILE [auth 0.410s, headers 0.746s, total 1.001s, 22.494 MB/s]
|
||||
$ openstack object save container1 FILE
|
||||
|
||||
Replace ``FILE`` with the name of the file uploaded to the
|
||||
``container1`` container.
|
||||
|
||||
.. note::
|
||||
|
||||
Due to a bug with the OpenStack client, you must use the conventional
|
||||
``swift`` client or other compatible client to download files.
|
||||
This command provides no output.
|
||||
|
|
Loading…
Reference in New Issue