Project

General

Profile

Actions

Bug #5443

closed

el6: rgw init script has debug mode on

Added by Tamilarasi muthamizhan almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

rgw init script that comes with the rpm packages for centos has debug mode on.

bash -x is set. It would be nice to get rid of the debugging mode.

[ubuntu@burnupi05 ceph]$ sudo /etc/init.d/ceph-radosgw start
+ PATH=/sbin:/bin:/usr/bin
+ . /etc/rc.d/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']'
++ . /etc/profile.d/lang.sh
++ unset LANGSH_SOURCED
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL='echo -en \033[60G'
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'
+++ SETCOLOR_WARNING='echo -en \033[0;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ PROMPT=yes
+++ AUTOSWAP=no
+++ ACTIVE_CONSOLES='/dev/tty[1-6]'
+++ SINGLE=/sbin/sushell
++ '[' pty = serial ']'
++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d'
+ PREFIX=client.radosgw.
+ DEFAULT_USER=apache
+ LOGDIR=/var/log/radosgw
++ which radosgw
+ RADOSGW=/usr/bin/radosgw
+ '[' '!' -x /usr/bin/radosgw ']'
+ '[' '!' -d /var/log/radosgw ']'
+ case "$1" in
++ ceph-conf --list-sections client.radosgw.
+ for name in '`ceph-conf --list-sections $PREFIX`'
++ ceph-conf -n client.radosgw.gateway 'auto start'
+ auto_start=
+ '[' '' = no ']'
+ '[' '' = false ']'
+ '[' '' = 0 ']'
++ ceph-conf -n client.radosgw.gateway 'rgw socket path'
+ rgw_socket=/tmp/radosgw.sock
+ '[' -z /tmp/radosgw.sock ']'
++ ceph-conf -n client.radosgw.gateway host
+ host=burnupi05
++ hostname
+ '[' burnupi05 '!=' burnupi05.front.sepia.ceph.com ']'
+ continue

Actions #1

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Resolved

commit:31d6062076fdbcd2691c07a23b381b26abc59f65

Actions

Also available in: Atom PDF