]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
update: add containerized deployment upgrade support (L->N)
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 25 Mar 2019 08:48:48 +0000 (09:48 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 25 Mar 2019 20:02:56 +0000 (16:02 -0400)
commitf6e0185146c828cc41e3c60a785028902466f6f9
treed3cd78c44e55a1caffd2a017ea54a4747cd9dc72
parent1816b876ee8992387c2996979fbd4b1ba39ab554
update: add containerized deployment upgrade support (L->N)

Add a couple of fixes to allow containerized deployments upgrade support
to upgrade from luminous/mimic to nautilus.

- pass CEPH_CONTAINER_IMAGE and CEPH_CONTAINER_BINARY environment
variable to the ceph_key module,
- fix the docker exec command in 'waiting for the containerized monitor
to join the quorum' task according to the `delegate_to` parameter,
- override `docker_exec_cmd` in `ceph-facts` with `mon_host` when
rolling_update is `True`,
- do not run unnecessarily `create_mds_filesystems.yml` when performing an
upgrade.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml
roles/ceph-facts/tasks/facts.yml
roles/ceph-mds/tasks/main.yml