]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: run registry auth before upgrading
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 9 Jan 2020 19:57:08 +0000 (14:57 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 10 Jan 2020 01:16:07 +0000 (20:16 -0500)
commitf042ece9aff5d6421d21bf1553211c72fe813aea
treebcb8b629637b3ac6846f0229fb4c30e1874feb32
parentd6921f798dcd4b69daa17cb5730ae070e885ac22
rolling_update: run registry auth before upgrading

There's some tasks using the new container image during the rolling
upgrade playbook that needs to execute the registry login first otherwise
the nodes won't be able to pull the container image.

Unable to find image 'xxx.io/foo/bar:latest' locally
Trying to pull repository xxx.io/foo/bar ...
/usr/bin/docker-current: Get https://xxx.io/v2/foo/bar/manifests/latest:
unauthorized

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 3f344fdefe02c3b597b886cbef8b7456a7db28eb)
infrastructure-playbooks/rolling_update.yml