Whamcloud - gitweb
LU-424 tests: conf-sanity test 55, 56, 58 failure fixes
authorJames Simmons <uja.ornl@gmail.com>
Thu, 29 Dec 2011 14:46:43 +0000 (09:46 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Jan 2012 01:40:22 +0000 (20:40 -0500)
The MGS service was not started in conf-sanity test 55,
56 and 58 with separate MGS and MDT configuration. This
patch fix the issue.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I0c01955b4baf81535959cdbf38bf84e7acb04ddf
Reviewed-on: http://review.whamcloud.com/1870
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh

index 15e81ee..0957d3d 100644 (file)
@@ -2629,7 +2629,7 @@ test_55() {
                setup_noconfig
                stopall
 
-               setup
+               setup_noconfig
                sync
                echo checking size of lov_objid for ost index $i
                LOV_OBJID_SIZE=$(do_facet mds1 "$DEBUGFS -R 'stat lov_objid' $mdsdev 2>/dev/null" | grep ^User | awk '{print $6}')
@@ -2651,7 +2651,7 @@ test_56() {
        add ost1 $OST_MKFS_OPTS --index=1000 --reformat $(ostdevname 1)
        add ost2 $OST_MKFS_OPTS --index=10000 --reformat $(ostdevname 2)
 
-       start_mds
+       start_mgsmds
        start_ost
        start_ost2 || error "Unable to start second ost"
        mount_client $MOUNT || error "Unable to mount client"
@@ -2688,8 +2688,8 @@ count_osts() {
 }
 
 test_58() { # bug 22658
-        [ "$FSTYPE" != "ldiskfs" ] && skip "not supported for $FSTYPE" && return
-       setup
+       [ "$FSTYPE" != "ldiskfs" ] && skip "not supported for $FSTYPE" && return
+       setup_noconfig
        mkdir -p $DIR/$tdir
        createmany -o $DIR/$tdir/$tfile-%d 100
        # make sure that OSTs do not cancel llog cookies before we unmount the MDS