]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
enable ceph-mon.target service after monitor start 1416/head
authorWingkaiHo <sanguosfiang@163.com>
Wed, 29 Mar 2017 03:11:04 +0000 (11:11 +0800)
committerSébastien Han <seb@redhat.com>
Thu, 6 Apr 2017 14:58:32 +0000 (16:58 +0200)
commit6ad8288c91dbd5836b7647747d2ffdb9fb7e0a64
tree7224b1ce15f8a479aff169191f69bf22a43ea5ae
parente04bfdc4f05550ee8868f2594ffa0f785982c86c
enable ceph-mon.target service after monitor start

ceph-create-keys unit file was removed here:

* https://github.com/ceph/ceph/commit/8bcb4646b6b9846bb965cdec3ca2a21eb3b26bab
* https://github.com/ceph/ceph/commit/dc5fe8d415858358bd0baf5d8dce0a753f5e0cea

As a consequence the systemctl preset command now fails to run since the
unit does not exist anymore. Due to the redirection in /dev/null we
don't know what's happening.

Ultimately the mon unit doesn't get enabled and the mon service won't
start after reboot.
Removing the old/non-existent unit makes the command succeed now.

ceph fix: https://github.com/ceph/ceph/pull/14226

Signed-off-by: WingkaiHo <sanguosfiang@163.com>
Co-Authored-By: Sébastien Han <seb@redhat.com>
roles/ceph-mon/tasks/start_monitor.yml