Created attachment 1114759 [details] Command_Log Description of problem: Failed to create 2 monitors Version-Release number of selected component (if applicable): 1.3.2 ceph-common-0.94.5-1.el7cp.x86_64 ceph-mon-0.94.5-1.el7cp.x86_64 ceph-0.94.5-1.el7cp.x86_64 cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) How reproducible: 2 out of 2 times Steps to Reproduce: 1. Followed the document to install the ceph Cluster using ISO. https://gitlab.cee.redhat.com/jowilkin/red-hat-ceph-storage-installation-guide-rhel/blob/v1.3/quick-ceph-deploy.adoc 2. I am able to install Ceph on both OSD and MON Nodes. 3. But while trying to Add Initial Monitors, i.e. ceph-deploy mon create-initial Not all the Monitor Nodes are getting activated and running. Out of my 3 Monitor Nodes, only 1 Monitor is being able to run. Actual results: Command is failing. Expected results: Command should not Fail and all the Monitors should be up and running. Additional info: Log of the Failed Command. ceph.conf
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