Comment 5 for bug 1920924

Revision history for this message
chandan kumar (chkumar246) wrote :

While configuring tripleo swift services container, it calls this https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/deployment/swift/swift-storage-container-puppet.yaml#L277
which is not found.

Copying from above https://review.rdoproject.org/r/c/openstack/swift-distgit/+/32374 yatin's comment here might help.
```
This caused issue in swift component jobs https://bugs.launchpad.net/tripleo/+bug/1920924, as containers and tht still rely on old binary,subpackage and conf file.

tripleo-common:- currently relies on swift-proxy-server container image, which do not contain swift-object rpm so new path of config is not available and thus job fails https://github.com/openstack/tripleo-common/blob/master/container-images/tcib/base/os/swift-base/swift-proxy-server/swift-proxy-server.yaml#L10

tht:- relies on old config file: /usr/bin/swift-object-expirer /etc/swift/object-expirer.conf which is now removed, so need to switch tht to new files. Also as per the change seems it needs to switch to ContainerSwiftObjectImage so required config and binary are available for running expirer service going forward.

But to put a change to tht we would need swift-object container to be promoted(which is currently blocked due to above issue). So we can try following to clear this:
* put a temporary change in rpm to have old paths available(can be added in both proxy and object subpackage)
* have a promotion for new swift object rpms/containers
* push change(rely on new path and swiftobject container image) to tht and get that merged
* remove the temp change in swift at last once everything is clear.