Bug 1442265
Summary: | ceph-disk's systemctl enable --runtime change causes directory-backed OSDs to not start on boot | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | John Fulton <johfulto> |
Component: | Ceph-Disk | Assignee: | Loic Dachary <ldachary> |
Status: | CLOSED ERRATA | QA Contact: | John Fulton <johfulto> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.2 | CC: | fbaudin, gfidente, gmeno, hnallurv, icolle, jcall, jefbrown, johfulto, kdreyer, sreichar, zgreenbe |
Target Milestone: | rc | ||
Target Release: | 2.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | RHEL: ceph-10.2.7-13.el7cp Ubuntu: ceph_10.2.7-15redhat1xenial | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-19 13:31:58 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: | 1439223 |
Description
John Fulton
2017-04-13 21:06:10 UTC
Testing a fix at https://github.com/ceph/ceph/pull/14546 Would you be so kind as to verify that applying the patch at https://github.com/ceph/ceph/pull/14546 fixes the problem ? It has been tested but it would be good to have your confirmation before merging it :-) *** Bug 1439223 has been marked as a duplicate of this bug. *** I confirm that https://github.com/ceph/ceph/pull/14546 fixes the problem. Thank you John, QE would like your help in testing this fix. Can you do that? I have empirically tested that the patch fixes the bug with the following process: - Apply the patch [1] - Deploy a directory-backed OSD - Observe on first boot, on an OSD node, that OSDs are running and that their target is in /etc not /run (so they _should_ restart on reboot) - Reboot the system and observe that the OSDs _are_ running [1] Details on how patch was applied: pushd /usr/lib/python2.7/site-packages/ceph_disk/ mv main.py /root/ceph-disk-main.py curl https://raw.githubusercontent.com/ceph/ceph/f425a127b7487d2093c8c943f0bcdec3d673d601/src/ceph-disk/ceph_disk/main.py > main.py popd python -O -m compileall /usr/lib/python2.7/site-packages/ceph_disk/ 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-2017:1497 *** Bug 1457612 has been marked as a duplicate of this bug. *** |