mirror of https://github.com/ceph/ceph-ansible.git
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 3f344fdefe
)
pull/4915/head
parent
d6921f798d
commit
f042ece9af
|
@ -79,6 +79,13 @@
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-infra
|
name: ceph-infra
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: ceph-container-common
|
||||||
|
tasks_from: registry
|
||||||
|
when:
|
||||||
|
- containerized_deployment | bool
|
||||||
|
- ceph_docker_registry_auth | bool
|
||||||
|
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-validate
|
name: ceph-validate
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue