Description of problem: (see also upstream bug http://tracker.ceph.com/issues/9587) On a system where an one-node Ceph storage cluster has been deployed and Ceph object gateway has been installed and configured, ceph-radosgw daemon fails to start, producing the following output: # service ceph-radosgw start Starting radosgw instance(s)... libust[16813/16813]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305) libust[16822/16822]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305) /usr/bin/dirname: extra operand `-n' Try `/usr/bin/dirname --help' for more information. bash: line 0: ulimit: open files: cannot modify limit: Operation not permitted Starting client.radosgw.gateway... /usr/bin/radosgw is not running. The problem (or one of the problems) seems to be in ceph-radosgw init script which attempts to run ulimit -n 32768 as the apache user, which is forbidden by the system. Version-Release number of selected component (if applicable): ceph-radosgw-0.87-0.el6.x86_64
Need to determine if the upstream fix for this bug landed 0.80.8
This was merged to the firefly branch, but not in time for v0.80.8. Apparently it was merged to firefly the day after the v0.80.8 release was cut. commit 534624b7e9decc880e88496355a6fbbe008ede5f Author: Sage Weil <sage> AuthorDate: Tue Oct 21 17:59:30 2014 -0700 Commit: Yehuda Sadeh <yehuda> CommitDate: Wed Jan 14 15:51:45 2015 -0800 init-radosgw.sysv: set ulimit -n before starting daemon If we do the ulimit inside the daemon command we will have already dropped privs and will fail. Fixes: #9587 Backport: giant, firefly Signed-off-by: Sage Weil <sage> (cherry picked from commit 9803cedf54a7baff45ccd0e0f65d2bc220958a46) Should this bug block the RHCS 1.2.3 release?
Neil, is this a blocker for the RHEL builds of RHCS v1.2.3?
I'm not clear on the user impact here. Who does this affect and when?
The user impact is that users cannot start radosgw using the service ceph-radosgw start command.
Works (no ulimit complaint and ulimit commands can be run manually later).
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://rhn.redhat.com/errata/RHBA-2015-0713.html