]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
osds: do not set docker_exec_cmd fact
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 30 May 2018 10:09:16 +0000 (12:09 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 30 May 2018 14:17:29 +0000 (16:17 +0200)
commit34e646e767955024c9b186f9eaa61f809fe45af0
tree850a755a40256eff5d4676a1a07fe58b11b478e8
parent6f489015e44f8c10ea0ad47b23bada6ff8351f68
osds: do not set docker_exec_cmd fact

in `ceph-osd` there is no need to set `docker_exec_cmd` since the only
place where this fact is used is in `openstack_config.yml` which
delegate all docker command to a monitor node. It means we need the
`docker_exec_cmd` fact that has been set referring to `ceph-mon-*`
containers, this fact is already set earlier in `ceph-defaults`.

By the way, when collocating an OSD with a MON it fails because the container
`ceph-osd-{{ ansible_hostname }}` doesn't exist.

Removing this task will allow to collocate an OSD with a MON.

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