diff --git a/container-images/tcib/base/base.yaml b/container-images/tcib/base/base.yaml index e69bd6193..74e27e6fb 100644 --- a/container-images/tcib/base/base.yaml +++ b/container-images/tcib/base/base.yaml @@ -37,6 +37,7 @@ tcib_envs: tcib_gather_files: '{{ lookup(''fileglob'', ''/usr/share/tripleo-common/container-images/kolla/base/*'', wantlist=True) }}' tcib_labels: maintainer: OpenStack TripleO team + kolla_version: none tcib_packages: common: - ca-certificates diff --git a/tripleo_common/image/image_uploader.py b/tripleo_common/image/image_uploader.py index 482058f5a..8d73a5a32 100644 --- a/tripleo_common/image/image_uploader.py +++ b/tripleo_common/image/image_uploader.py @@ -1036,8 +1036,15 @@ class BaseImageUploader(object): raise image_labels = self._image_labels( url, session=session) - if set(labels).issubset(set(image_labels)): - images_with_labels.append(image) + # The logic is the following: if one of the labels in + # modify_only_with_labels parameter is present in the image, it + # will match and add the images that need to be modified. + for label in labels: + if label in image_labels: + # we found a matching label, adding the image + # and leave the loop. + images_with_labels.append(image) + break return images_with_labels