Bug 1298536
| Summary: | ceph init script requires /lib/lsb/init-functions | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Tanay Ganguly <tganguly> | ||||
| Component: | Build | Assignee: | Boris Ranto <branto> | ||||
| Status: | CLOSED ERRATA | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.3.2 | CC: | ceph-eng-bugs, hnallurv, kdreyer, kurs, mlawrenc, racpatel, vakulkar | ||||
| Target Milestone: | rc | ||||||
| Target Release: | 1.3.2 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ceph-0.94.5-2.el7cp | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-02-29 14:44:51 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1268971 | ||||||
| Attachments: |
|
||||||
|
Description
Tanay Ganguly
2016-01-14 11:47:37 UTC
We did patch the init script, for rhbz#1244158 and rhbz#1268971 . Maybe there's a bug in those patches? We need the following commit (the file was already patched when I created the upstream PR): https://github.com/ceph/ceph/commit/bb1fa7f3993dfcd1243b2a9a0bb432c269df215f The ceph init script does not require any functions from init-functions (at least not anymore) so we should be good to go with just that commit. @Tanay: Could you please add an additional step to the docs and remove the line saying . /lib/lsb/init-functions to verify that the patch will fix the issue for you? Any time before you deploy the mons should be good. You need to do that on all the mons that are failing and the same goes for osds. @Tanay: Apparently, I forgot to specify the file you should remove the line from: /etc/init.d/ceph Thanks Boris! I'll be sure to get that patch into the next build for v0.94.5 (RHCS 1.3.2) Yes it worked after commenting the Line #. /lib/lsb/init-functions But strangely, the already running Mon was having that line as well. So why it failed for only those 2 Mons ? (In reply to Tanay Ganguly from comment #8) > But strangely, the already running Mon was having that line as well. So why > it failed for only those 2 Mons ? My guess is that the redhat-lsb-core package just happened to be present on the Mon that worked, and absent on the Mons that failed. You can check with `rpm -qv redhat-lsb-core`. working as expected hence moving to verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:0313 |