Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init-ceph.in: skip ceph-disk if it is not present #7286

Merged
merged 1 commit into from Feb 24, 2016

Conversation

ktdreyer
Copy link
Member

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.

(This relates to http://tracker.ceph.com/issues/10587 , although it does not implement any actual split in the packaging.)

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: ceph#10587

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
@tchaikov
Copy link
Contributor

lgtm.

@ktdreyer
Copy link
Member Author

I have some vague recollection that there's some portability problem with running "which" ... but maybe I'm wrong

liewegas added a commit that referenced this pull request Feb 24, 2016
init-ceph.in: skip ceph-disk if it is not present

Reviewed-by: Kefu Chai <kchai@redhat.com>
@liewegas liewegas merged commit e67b70e into ceph:master Feb 24, 2016
@ktdreyer ktdreyer deleted the wip-10587-init-ceph-disk branch February 24, 2016 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants