diff --git a/container-images/tcib/base/base.yaml b/container-images/tcib/base/base.yaml index 1e0b1a464..03169f2d9 100644 --- a/container-images/tcib/base/base.yaml +++ b/container-images/tcib/base/base.yaml @@ -34,6 +34,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 9fa04d3d9..3d2bd8c04 100644 --- a/tripleo_common/image/image_uploader.py +++ b/tripleo_common/image/image_uploader.py @@ -987,8 +987,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