]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
handler: fix call to container_exec_cmd in handler_osds
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 17 Jan 2020 14:50:40 +0000 (15:50 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 20 Jan 2020 17:45:51 +0000 (12:45 -0500)
commit1462423059cb86d5bc358af730bd014181b49916
treeecc06ffb4c53d68ca41d9c7039b8772c24ecaecd
parent8d311a537da051950a240fb3ecf6615156883fd9
handler: fix call to container_exec_cmd in handler_osds

When unsetting the noup flag, we must call container_exec_cmd from the
delegated node (first mon member)
Also, adding a `run_once: true` because this task needs to be run only 1
time.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1792320
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 22865cde9c7cb3be30c359ce8679ec841b16a663)
roles/ceph-handler/tasks/handler_osds.yml
roles/ceph-nfs/tasks/pre_requisite_container.yml
roles/ceph-osd/tasks/main.yml