commit eca5393ddcced5187b9d360a0b5edb96ca2a534e
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/498683 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=eca5393ddcc ed5187b9d360a0b 5edb96ca2a534e
Committed: https:/
Submitter: Jenkins
Branch: master
commit eca5393ddcced51 87b9d360a0b5edb 96ca2a534e
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
Depends-On: I27ea031287604d
Closes-Bug: #1708967