]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
init-ceph.in: skip ceph-disk if it is not present 7286/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 19 Jan 2016 16:53:45 +0000 (09:53 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 19 Jan 2016 17:01:59 +0000 (10:01 -0700)
commit7dd9af0a21e0ab0ae397faf901231ad0a9688ab9
tree09ec2ac319cbfb2ef6ae4d0e38a8fd2f419c6ff7
parentdda9a083702e98e77794373f2057c191ce34f771
init-ceph.in: skip ceph-disk if it is not present

With the ceph-mon vs ceph-osd split packaging, users are expected to
have the ceph-mon package installed and not ceph-osd (and vice versa).
However, the init script (/etc/init.d/ceph) has a call to `ceph-disk`,
which may not be present on the machine.

Given that our packaging is not yet split upstream, this bug does not
manifest itself currently, because both ceph-mon and ceph-disk are
currently in the same "ceph" package. Once we split the packaging,
though, this will become an issue.

http://tracker.ceph.com/issues/10587 Refs: #10587

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
src/init-ceph.in