Comment 6 for bug 1886547

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/741622
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=589ac8ac0d5a14ce4aa831892d3b0a4a31e29674
Submitter: Zuul
Branch: stable/train

commit 589ac8ac0d5a14ce4aa831892d3b0a4a31e29674
Author: James Slagle <email address hidden>
Date: Mon Jul 6 15:16:02 2020 -0400

    Don't assume default tag exists in container repo

    When no tag is set for an entry in ContainerImagePrepare, the default
    tag from container-images/container_image_prepare_defaults.yaml will be
    assumed, which is typically current-tripleo, or a release version such
    as 16.0.

    In most cases, this tag will exist. However, when using a satellite with
    a content view that has been filtered on tags, it likely won't exist
    since content views are often used with container image versions that
    are not the latest.

    In the case where no tag is set in the entry in ContainerImagePrepare,
    and the default tag does not exist in the container repo, the latest tag
    from the repo will be assumed instead.

    Change-Id: I985ef22c340c4071866c8c51bf303a6f4ee7713c
    Closes-Bug: #1886547
    Signed-off-by: James Slagle <email address hidden>
    (cherry picked from commit 0c4de9c771fad75ebabe2d18f5aef4b76613d52a)
    (cherry picked from commit ec65b686c38f696ac2aefc9d7dc9376f5637aa1d)