Revert "Update fallocate_reserve to work with py3"

We need to revert this commit once related bug will be resolved

This reverts commit c1bdbfbb14.

Change-Id: Ic369410130fe94d18a5198b9d50b584c1935c1b6
Related-Bug: https://bugs.launchpad.net/swift/+bug/1844368
This commit is contained in:
Dmitriy Rabotyagov (noonedeadpunk) 2019-09-19 10:13:37 +00:00
parent c1bdbfbb14
commit ff6aa7a7fe

View File

@ -158,7 +158,7 @@ swift_allow_all_users: False
swift_recreate_keys: False
swift_sorting_method: shuffle
# Set the fallocate_reserve value which will reserve space and fail on PUTs above this value in bytes (Default 10GB)
swift_fallocate_reserve: "{{ (swift_venv_python_executable == 'python3' and swift_install_method == 'source') | ternary('1%%', '1%') }}"
swift_fallocate_reserve: "1%"
swift_account_fallocate_reserve: "{{ swift_fallocate_reserve }}"
swift_container_fallocate_reserve: "{{ swift_fallocate_reserve }}"
swift_object_fallocate_reserve: "{{ swift_fallocate_reserve }}"