[ironic][swift]Temporary add sha1 to allowed_digests

Swift removed sha1 from supported digests with [1] and
that broked ironic tinyipa job. Temorary add sha1 to
allowed_digests until it's fixed in ironic.

[1] https://review.opendev.org/c/openstack/swift/+/525771

Story: 2010068
Task: 45539
Change-Id: I68dfc472ce901058b6a7d691c98ed1641d431e54
This commit is contained in:
yatinkarel 2022-06-03 10:10:50 +05:30
parent 0ae279b54a
commit 35fb53423a

View File

@ -402,6 +402,11 @@ function configure_swift {
# Versioned Writes # Versioned Writes
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:versioned_writes allow_versioned_writes true iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:versioned_writes allow_versioned_writes true
# Add sha1 temporary https://storyboard.openstack.org/#!/story/2010068
if [[ "$SWIFT_ENABLE_TEMPURLS" == "True" ]]; then
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:tempurl allowed_digests "sha1 sha256 sha512"
fi
# Configure Ceilometer # Configure Ceilometer
if is_service_enabled ceilometer; then if is_service_enabled ceilometer; then
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer "set log_level" "WARN" iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer "set log_level" "WARN"