Comment 11 for bug 1708967

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/pike)

Reviewed: https://review.openstack.org/506684
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=f114a6194b67599a55707474bac3f98dda28791e
Submitter: Jenkins
Branch: stable/pike

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.

      tag=$(openstack overcloud container image tag discover \
            --image trunk.registry.rdoproject.org/pike/centos-binary-base:current-tripleo-rdo
            --tag-from-label rdo_version)
      echo $tag
      openstack overcloud container image prepare --tag $tag

    Change-Id: I12b16cb267c80e3059786fb980178eb5b3d1a76d
    Depends-On: I27ea031287604d70032fb5392aecbce313d4b096
    Closes-Bug: #1708967
    (cherry picked from commit eca5393ddcced5187b9d360a0b5edb96ca2a534e)