commit f114a6194b67599a55707474bac3f98dda28791e
Author: Steve Baker <email address hidden>
Date: Mon Aug 28 11:20:06 2017 +1200
Command to discover the versioned tag from latest
This change implements the command
"openstack overcloud container image tag discover" which will become
part of the update and upgrade workflow for deploying new container
images.
It is used to discover the version-based tag by inspecting the image
from a stable tag like current-tripleo-rdo. Stable tags like 'latest'
or 'pike' can't be used for container updates because something needs
to change to trigger the new containers being pulled. Without this
command it would be up to the user to find out what versioned tag to
specify when calling prepare.
This was implemented as its own command instead of integrating with
prepare because there may be multiple image build chains feeding into
the image list (such as RDO, ceph and eventually others) and each will
need its own call to discover the versioned tag.
Reviewed: https:/ /review. openstack. org/506684 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=f114a6194b6 7599a55707474ba c3f98dda28791e
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit f114a6194b67599 a55707474bac3f9 8dda28791e
Author: Steve Baker <email address hidden>
Date: Mon Aug 28 11:20:06 2017 +1200
Command to discover the versioned tag from latest
This change implements the command
"openstack overcloud container image tag discover" which will become
part of the update and upgrade workflow for deploying new container
images.
It is used to discover the version-based tag by inspecting the image tripleo- rdo. Stable tags like 'latest'
from a stable tag like current-
or 'pike' can't be used for container updates because something needs
to change to trigger the new containers being pulled. Without this
command it would be up to the user to find out what versioned tag to
specify when calling prepare.
This was implemented as its own command instead of integrating with
prepare because there may be multiple image build chains feeding into
the image list (such as RDO, ceph and eventually others) and each will
need its own call to discover the versioned tag.
tag= $(openstack overcloud container image tag discover \ rdoproject. org/pike/ centos- binary- base:current- tripleo- rdo
-- tag-from- label rdo_version)
--image trunk.registry.
echo $tag
openstack overcloud container image prepare --tag $tag
Change-Id: I12b16cb267c80e 3059786fb980178 eb5b3d1a76d 70032fb5392aecb ce313d4b096 87b9d360a0b5edb 96ca2a534e)
Depends-On: I27ea031287604d
Closes-Bug: #1708967
(cherry picked from commit eca5393ddcced51