The change https://review.opendev.org/#/c/616116 unwinded the swift
part of the https://review.opendev.org/#/c/590008/ changes. So the
contents of the /var/lib/config-data/swift_ringbuilder config volume
used to be managed by container-puppet tool. That made swift containers
always restarted because the puppet-generated rings are always changing
on each deployment/update execution.
Restore that unwinded change back and exclude swift rings from the
management of container-puppet tooling. Instead make init containers
swift_copy_rings and swift_setup_srv to be always executed (takes
the same approach as in https://review.opendev.org/#/c/564798/).
That also fixes the issue with swift_copy_rings seems never been
executed - at least there is no traces of it in CI jobs logs for swift
init containers.
Reviewed: https:/ /review. opendev. org/713415 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=9bc66409074 1d43fd498572302 38fc345bf8d0c9
Committed: https:/
Submitter: Zuul
Branch: master
commit 9bc664090741d43 fd49857230238fc 345bf8d0c9
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Mar 17 12:45:15 2020 +0100
Fix swift containers idempotency
The change https:/ /review. opendev. org/#/c/ 616116 unwinded the swift /review. opendev. org/#/c/ 590008/ changes. So the config- data/swift_ ringbuilder config volume
part of the https:/
contents of the /var/lib/
used to be managed by container-puppet tool. That made swift containers
always restarted because the puppet-generated rings are always changing
on each deployment/update execution.
Restore that unwinded change back and exclude swift rings from the copy_rings and swift_setup_srv to be always executed (takes /review. opendev. org/#/c/ 564798/).
management of container-puppet tooling. Instead make init containers
swift_
the same approach as in https:/
That also fixes the issue with swift_copy_rings seems never been
executed - at least there is no traces of it in CI jobs logs for swift
init containers.
Change-Id: I23b469057e4c47 c42601beb166f81 5ee71147c14
Closes-Bug: #1867765
Related-Bug: #1802066
Related-Bug: #1786065
Signed-off-by: Bogdan Dobrelya <email address hidden>