Whamcloud - gitweb
LU-17640 test: wait osts up after restart 80/54380/2
authorHongchao Zhang <hongchao@whamcloud.com>
Sat, 9 Mar 2024 14:35:41 +0000 (22:35 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 2 Apr 2024 21:04:07 +0000 (21:04 +0000)
In test_18e of sanity-lfsck, the OSTs could not be ready on all MDTs
and the LFSCK status will be incorrect because the LFSCK notify can
not be sent to all OSTs.

Change-Id: If1ed5d920d5c8b99d42f59f92a1e245a9e2a8267
Test-Parameters: trivial testlist=sanity-lfsck,sanity-lfsck,sanity-lfsck,sanity-lfsck,sanity-lfsck
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54380
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lfsck.sh

index 09c3f6f..b9fb321 100755 (executable)
@@ -2713,6 +2713,8 @@ test_18e() {
        echo "setupall"
        setupall > /dev/null
 
+       wait_osts_up
+
        #define OBD_FAIL_LFSCK_DELAY3           0x1602
        do_facet $SINGLEMDS $LCTL set_param fail_val=10 fail_loc=0x1602