]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: remove unused CEPH_HELPER_VERBOSE in ceph-helpers.sh
authorLoic Dachary <ldachary@redhat.com>
Wed, 27 May 2015 14:14:42 +0000 (16:14 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 27 May 2015 14:16:19 +0000 (16:16 +0200)
And undocumented. It may be useful for debugging but it would have to be
properly implemented instead of being half commented out.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-helpers.sh

index a79f07ccaaeba64cd29b01e0a38595d079aff225..3657c226d0baa7a698e339a1b29b09f2df860505 100755 (executable)
@@ -17,7 +17,6 @@
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU Library Public License for more details.
 #
-CEPH_HELPER_VERBOSE=false
 TIMEOUT=120
 PG_NUM=4
 
@@ -402,7 +401,6 @@ function run_osd() {
     ceph_disk_args+=" --statedir=$dir"
     ceph_disk_args+=" --sysconfdir=$dir"
     ceph_disk_args+=" --prepend-to-path="
-    $CEPH_HELPER_VERBOSE && ceph_disk_args+=" --verbose"
 
     mkdir -p $osd_data
     ceph-disk $ceph_disk_args \
@@ -485,7 +483,6 @@ function activate_osd() {
     ceph_disk_args+=" --statedir=$dir"
     ceph_disk_args+=" --sysconfdir=$dir"
     ceph_disk_args+=" --prepend-to-path="
-    $CEPH_HELPER_VERBOSE && ceph_disk_args+=" --verbose"
 
     local ceph_args="$CEPH_ARGS"
     ceph_args+=" --osd-backfill-full-ratio=.99"
@@ -1122,7 +1119,6 @@ function main() {
 
     set -x
     PS4='${FUNCNAME[0]}: $LINENO: '
-    #CEPH_HELPER_VERBOSE=true
 
     export PATH=:$PATH # make sure program from sources are prefered