
We should never change the swift_hash_path_prefix/suffix variables on a running cluster. This PR implements a check that will fail if the variable is different to what is already on disk. To ensure this is still possible this PR implements a "swift_force_change_hashes" variable which can be set to "True" in order to force change the swift_hash_path variables regardless of whether they are different or not. Change-Id: Idaedc125aede22c347668afd9e98ed1823eb142c
15 lines
677 B
YAML
15 lines
677 B
YAML
---
|
|
features:
|
|
- The ``openstack-ansible-os_swift`` role will now prevent
|
|
deployers from changing the ``swift_hash_path_prefix`` and
|
|
``swift_hash_path_suffix`` variables on clusters that already
|
|
have a value set in ``/etc/swift/swift.conf``.
|
|
You can set the new ``swift_force_change_hashes`` variable to
|
|
``True`` to force the ``swift_hash_path_`` variables to be
|
|
changed.
|
|
We recommend setting this by running the os-swift.yml playbook
|
|
with ``-e swift_force_change_hashes=True``, to avoid changing
|
|
the ``swift_hash_path_`` variables unintentionally.
|
|
Use with caution, changing the ``swift_hash_path_`` values
|
|
causes end-user impact.
|