Bug 1314467

Summary: /etc/init.d/ceph-radosgw reload fails
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sebastien Aime <saime>
Component: RGWAssignee: Ali Maredia <amaredia>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 1.2.3CC: branto, cbodley, ceph-eng-bugs, flucifre, kbader, kdreyer, mbenjamin, owasserm, saime, shmohan, sweil, vakulkar, vikumar, vumrao
Target Milestone: rc   
Target Release: 1.3.2   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-0.94.5-12.el7cp Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-06 18:39:55 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:

Description Sebastien Aime 2016-03-03 16:58:15 UTC
Hello,

Issuing /etc/init.d/ceph-radosgw reload fails. We have successfully tested the following patch:

if [ $DEBIAN -eq 1 ]; then
             start-stop-daemon --stop --signal HUP -x $RADOSGW --oknodo
 	else
-            killproc $RADOSGW -SIGHUP
+            killproc $RADOSGW -HUP
 	fi
 	;;
     restart|force-reload)

https://github.com/herver/ceph/commit/1b000abac3a02d1e788bf25eead4b6873133f5d2

Best regards,

Sebastien.

Comment 1 Boris Ranto 2016-03-05 14:30:27 UTC
We do not ship rgw in RHEL, the radosgw package is part of the RHCEPH product -> re-targetting.

Comment 3 Boris Ranto 2016-03-05 14:32:05 UTC
Also, we should target this at 1.3.z, ceph 2 will use systemd unit files.

Comment 6 Vikhyat Umrao 2016-04-13 15:20:48 UTC
*** Bug 1320117 has been marked as a duplicate of this bug. ***

Comment 14 shylesh 2016-04-27 09:22:24 UTC
Verified on 
ceph-osd-0.94.5-12.el7cp.x86_64
ceph-common-0.94.5-12.el7cp.x86_64
ceph-selinux-0.94.5-12.el7cp.x86_64
ceph-radosgw-0.94.5-12.el7cp.x86_64
mod_fastcgi-2.4.7-1.ceph.el7.x86_64
iozone-3.424-2_ceph.el7.x86_64
ceph-0.94.5-12.el7cp.x86_64




[ubuntu@magna116 ~]$ sudo  /etc/init.d/ceph-radosgw reload
Reloading ceph-radosgw configuration (via systemctl):      [  OK  ]
[ubuntu@magna116 ~]$ ps aux | grep rados
root      6619  0.1  0.0 7411772 25240 ?       Ssl  05:25   0:17 /bin/radosgw -n client.rgw.magna116
ubuntu   24246  0.0  0.0 112648   960 pts/0    S+   09:15   0:00 grep --color=auto rados
[ubuntu@magna116 ~]$ sudo  /etc/init.d/ceph-radosgw restart
Restarting ceph-radosgw (via systemctl):                   [  OK  ]
[ubuntu@magna116 ~]$ ps aux | grep rados
root     24367  1.0  0.0 7410744 13856 ?       Ssl  09:16   0:00 /bin/radosgw -n client.rgw.magna116
ubuntu   24515  0.0  0.0 112644   960 pts/0    S+   09:16   0:00 grep --color=auto rados
[ubuntu@magna116 ~]$ sudo  /etc/init.d/ceph-radosgw stop
Stopping ceph-radosgw (via systemctl):                     [  OK  ]
[ubuntu@magna116 ~]$ sudo  /etc/init.d/ceph-radosgw start
Starting ceph-radosgw (via systemctl):                     [  OK  ]
[ubuntu@magna116 ~]$ ps aux | grep rados
root     24710  1.7  0.0 7410704 19992 ?       Ssl  09:16   0:00 /bin/radosgw -n client.rgw.magna116
ubuntu   24858  0.0  0.0 112644   960 pts/0    S+   09:17   0:00 grep --color=auto rados
[ubuntu@magna116 ~]$ sudo  /etc/init.d/ceph-radosgw status
/bin/radosgw is running.

Comment 16 errata-xmlrpc 2016-05-06 18:39:55 UTC
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-2016-0721.html