Whamcloud - gitweb
LU-11743 utils: allow lctl pool commands on separate MGS
[fs/lustre-release.git] / lustre / tests / ost-pools.sh
index 1e723a6..b77c639 100755 (executable)
@@ -32,9 +32,6 @@ if ! combined_mgs_mds; then
                error "unable to mount $MOUNT on the MGS"
 fi
 
-#                                  9  12.5 (min)"
-[ "$SLOW" = "no" ] && EXCEPT_SLOW="18 23b"
-
 DIR=${DIR:-$MOUNT}
 assert_DIR
 
@@ -1545,6 +1542,9 @@ test_27() {
 
        create_pool_nofail $POOL
        do_facet mgs lctl pool_add $FSNAME.$POOL $TGT_ALL
+       wait_update_facet $SINGLEMDS \
+               "lctl pool_list $FSNAME.$POOL | wc -l" "$((OSTCOUNT + 1))" ||
+               error "MDS: pool_list $FSNAME.$POOL failed"
        osts=$(list_pool $FSNAME.$POOL)
        for ost in ${osts}; do
                ((count--))