]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone: remove osd-map-max-advance related tests 19816/head
authorKefu Chai <kchai@redhat.com>
Sat, 6 Jan 2018 11:38:57 +0000 (19:38 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 6 Jan 2018 11:40:15 +0000 (19:40 +0800)
this setting was removed in 8967b73

Fixes: http://tracker.ceph.com/issues/22596
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/standalone/osd/osd-config.sh
qa/suites/upgrade/jewel-x/point-to-point-x/point-to-point-upgrade.yaml

index a613a403f12bd1f3b3d1683bf580f53bf861d50e..c850ecd35b9c55ddadadfeda6889adaf9ab1032c 100755 (executable)
@@ -40,16 +40,13 @@ function TEST_config_init() {
 
     run_mon $dir a || return 1
     run_mgr $dir x || return 1
-    local advance=1000
     local stale=1000
     local cache=500
     run_osd $dir 0 \
-        --osd-map-max-advance=$advance \
         --osd-map-cache-size=$cache \
         --osd-pg-epoch-persisted-max-stale=$stale \
         || return 1
     CEPH_ARGS='' ceph --admin-daemon $(get_asok_path osd.0) log flush || return 1
-    grep 'is not > osd_map_max_advance' $dir/osd.0.log || return 1
     grep 'is not > osd_pg_epoch_persisted_max_stale' $dir/osd.0.log || return 1
 }
 
@@ -62,42 +59,8 @@ function TEST_config_track() {
 
     local osd_map_cache_size=$(CEPH_ARGS='' ceph-conf \
         --show-config-value osd_map_cache_size)
-    local osd_map_max_advance=$(CEPH_ARGS='' ceph-conf \
-        --show-config-value osd_map_max_advance)
     local osd_pg_epoch_persisted_max_stale=$(CEPH_ARGS='' ceph-conf \
         --show-config-value osd_pg_epoch_persisted_max_stale)
-    #
-    # lower cache_size under max_advance to trigger the warning
-    #
-    ! grep 'is not > osd_map_max_advance' $dir/osd.0.log || return 1
-    local cache=$(($osd_map_max_advance / 2))
-    ceph tell osd.0 injectargs "--osd-map-cache-size $cache" || return 1
-    CEPH_ARGS='' ceph --admin-daemon $(get_asok_path osd.0) log flush || return 1
-    grep 'is not > osd_map_max_advance' $dir/osd.0.log || return 1
-    rm $dir/osd.0.log
-    CEPH_ARGS='' ceph --admin-daemon $(get_asok_path osd.0) log reopen || return 1
-
-    #
-    # reset cache_size to the default and assert that it does not trigger the warning
-    #
-    ! grep 'is not > osd_map_max_advance' $dir/osd.0.log || return 1
-    local cache=$osd_map_cache_size
-    ceph tell osd.0 injectargs "--osd-map-cache-size $cache" || return 1
-    CEPH_ARGS='' ceph --admin-daemon $(get_asok_path osd.0) log flush || return 1
-    ! grep 'is not > osd_map_max_advance' $dir/osd.0.log || return 1
-    rm $dir/osd.0.log
-    CEPH_ARGS='' ceph --admin-daemon $(get_asok_path osd.0) log reopen || return 1
-
-    #
-    # increase the osd_map_max_advance above the default cache_size
-    #
-    ! grep 'is not > osd_map_max_advance' $dir/osd.0.log || return 1
-    local advance=$(($osd_map_cache_size * 2))
-    ceph tell osd.0 injectargs "--osd-map-max-advance $advance" || return 1
-    CEPH_ARGS='' ceph --admin-daemon $(get_asok_path osd.0) log flush || return 1
-    grep 'is not > osd_map_max_advance' $dir/osd.0.log || return 1
-    rm $dir/osd.0.log
-    CEPH_ARGS='' ceph --admin-daemon $(get_asok_path osd.0) log reopen || return 1
 
     #
     # increase the osd_pg_epoch_persisted_max_stale above the default cache_size
index 330da83450aedaa8535f45c2be8f6a06aa1387e2..d06c0219aeccf945c1a16614eedc04b5d17ade12 100644 (file)
@@ -14,7 +14,6 @@ overrides:
     log-whitelist:
     - reached quota
     - scrub
-    - osd_map_max_advance
     - wrongly marked
     fs: xfs
     conf: