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)
Reviewed: https:/ /review. opendev. org/741622 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=589ac8ac0d5 a14ce4aa831892d 3b0a4a31e29674
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 589ac8ac0d5a14c e4aa831892d3b0a 4a31e29674
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 ContainerImageP repare, the default images/ container_ image_prepare_ defaults. yaml will be
tag from container-
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 ContainerImageP repare,
and the default tag does not exist in the container repo, the latest tag
from the repo will be assumed instead.
Change-Id: I985ef22c340c40 71866c8c51bf303 a6f4ee7713c ebabe2d18f5aef4 b76613d52a) ac2aefc9d7dc937 6f5637aa1d)
Closes-Bug: #1886547
Signed-off-by: James Slagle <email address hidden>
(cherry picked from commit 0c4de9c771fad75
(cherry picked from commit ec65b686c38f696