From: Alexandre Ioffe Date: Fri, 25 Feb 2022 22:00:41 +0000 (-0800) Subject: EX-4866 lipe: don't unmount the local client X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e1da905b388421638199399ffea82255c541653c;p=fs%2Flustre-release.git EX-4866 lipe: don't unmount the local client Exclude local client from unmount list when test is completed in hot-pools test framework. Test-Parameters: trivial testlist=hot-pools Signed-off-by: Alexandre Ioffe Change-Id: I6b12269b6af3d3b5465645cbc007c9a5302f64a1 Reviewed-on: https://review.whamcloud.com/46671 Tested-by: jenkins Reviewed-by: Jian Yu Tested-by: Maloo Reviewed-by: John L. Hammond --- diff --git a/lustre/tests/hot-pools.sh b/lustre/tests/hot-pools.sh index cf9a754..8365156 100755 --- a/lustre/tests/hot-pools.sh +++ b/lustre/tests/hot-pools.sh @@ -167,11 +167,13 @@ init_lpurge_vars() { } init_hot_pools_env() { + local umount_nodes=$(exclude_items_from_list $(comma_list $(all_server_nodes)) \ + $HOSTNAME) + # mount Lustre clients on server nodes zconf_mount_clients $(comma_list $(all_server_nodes)) $MOUNT || error "failed to mount Lustre clients on server nodes" - stack_trap "zconf_umount_clients $(comma_list $(all_server_nodes)) \ - $MOUNT" + stack_trap "zconf_umount_clients $umount_nodes $MOUNT" # enable changelog on MDT(s) if ${INIT_HOT_POOLS_CHANGELOG:-true}; then