]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-facts: generate fsid on mon node
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 31 May 2019 17:26:30 +0000 (13:26 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 3 Jun 2019 13:01:33 +0000 (09:01 -0400)
commitacef6665caed37e2a398d35be8c6df942b2b7eb3
tree038a2f12d27dc99d9d60933542c2f07b3af20929
parent69835e85e7129955d45b3642e44661e4b89fbefa
ceph-facts: generate fsid on mon node

The fsid generation is done via a python command. When the ansible
controller node only have python3 available (like RHEL 8) then the
python command isn't necessarily present causing the fsid generation
to fail.
We already do some resource creation (like ceph keyring secret) with
the python command too but from the mon node so we should do the same
for fsid.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1714631

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit daf92a9e1f8ed14e03e20a4d908f49c411eb8887)
roles/ceph-facts/tasks/facts.yml