]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
remove container_exec_cmd_mgr fact
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 Jan 2020 13:39:16 +0000 (14:39 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 15 Jan 2020 19:03:49 +0000 (14:03 -0500)
commit8dcbcecd713b0cd7769d3b4d04ef5c2f15881377
tree61559cfb9ea12c331ae8cf732ba52cb7870eaa52
parent3cc7d5651c8b66adad92235d78ee597d36ac90ad
remove container_exec_cmd_mgr fact

Iterating over all monitors in order to delegate a `
{{ container_binary }}` fails when collocating mgrs with mons, because
ceph-facts reset `container_exec_cmd` to point to the first member of
the monitor group.

The idea is to force `container_exec_cmd` to be reset in ceph-mgr.
This commit also removes the `container_exec_cmd_mgr` fact.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1791282
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mgr/tasks/common.yml
roles/ceph-mgr/tasks/main.yml
roles/ceph-mgr/tasks/mgr_modules.yml