]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: enhance backward compatibility 2130/head
authorSébastien Han <seb@redhat.com>
Thu, 2 Nov 2017 15:17:38 +0000 (16:17 +0100)
committerSébastien Han <seb@redhat.com>
Fri, 3 Nov 2017 12:14:59 +0000 (13:14 +0100)
commit4ef49aa762a141c4f9f182826925e099737ad8e7
tree26b61cc2e7b2fbd7e115567e3c3c8c257f15b339
parent48fac7ec8dcb3501f5e144b4b8c22e8c5b4f5c5a
osd: enhance backward compatibility

During the initial implementation of this 'old' thing we were falling
into this issue without noticing
https://github.com/moby/moby/issues/30341 and where blindly using --rm,
now this is fixed the prepare container disappears and thus activation
fail.
I'm fixing this for old jewel images.

Also this fixes the machine reboot case where the docker logs are
purgend. In the old scenario, we now store the log locally in the same
directory as the ceph-osd-run.sh script.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit d4ed9a2064e503ac4a4fe978cb9e196ca9150272)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml
roles/ceph-docker-common/tasks/main.yml
roles/ceph-osd/tasks/docker/start_docker_osd.yml
roles/ceph-osd/tasks/scenarios/collocated.yml
roles/ceph-osd/tasks/scenarios/non-collocated.yml
roles/ceph-osd/templates/ceph-osd-run.sh.j2