[LU-5110] Interop 2.5.1<->2.6 failure on test suite sanity-scrub test_15: Failed to start OI scrub on mds1 Created: 27/May/14  Updated: 14/Aug/14  Resolved: 12/Jun/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: Lustre 2.6.0

Type: Bug Priority: Critical
Reporter: Maloo Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: mq414
Environment:

server: 2.5.1
client: lustre-master build # 2053


Issue Links:
Related
is related to LU-3935 lfsck_start ignores -n/--dryrun Resolved
is related to LU-4895 LFSCK should not create empty OST obj... Resolved
Severity: 3
Rank (Obsolete): 14096

 Description   

This issue was created by maloo for sarah <sarah@whamcloud.com>

This issue relates to the following test suite run: http://maloo.whamcloud.com/test_sets/1b78cfd4-e08e-11e3-8e3d-52540035b04c.

The sub-test test_15 failed with the following error:

(5) Failed to start OI scrub on mds1

starting MDTs with OI scrub disabled
CMD: shadow-19vm8 mkdir -p /mnt/mds1
CMD: shadow-19vm8 test -b /dev/lvm-Role_MDS/P1
CMD: shadow-19vm8 mkdir -p /mnt/mds1; mount -t lustre -o user_xattr,noscrub  		                   /dev/lvm-Role_MDS/P1 /mnt/mds1
CMD: shadow-19vm8 PATH=/usr/lib64/lustre/tests:/usr/lib/lustre/tests:/usr/lib64/lustre/tests:/opt/iozone/bin:/opt/iozone/bin:/usr/lib64/lustre/tests/mpi:/usr/lib64/lustre/tests/racer:/usr/lib64/lustre/../lustre-iokit/sgpdd-survey:/usr/lib64/lustre/tests:/usr/lib64/lustre/utils/gss:/usr/lib64/lustre/utils:/usr/lib64/openmpi/bin:/usr/bin:/bin:/sbin:/usr/sbin::/sbin:/bin:/usr/sbin: NAME=autotest_config sh rpc.sh set_default_debug \"vfstrace rpctrace dlmtrace neterror ha config ioctl super\" \"all -lnet -lnd -pinger\" 4 
CMD: shadow-19vm8 e2label /dev/lvm-Role_MDS/P1 2>/dev/null
CMD: shadow-19vm8 /usr/sbin/lctl get_param -n 			osd-ldiskfs.lustre-MDT0000.oi_scrub |
			awk '/^status/ { print \$2 }'
CMD: shadow-19vm8 /usr/sbin/lctl get_param -n 			osd-ldiskfs.lustre-MDT0000.oi_scrub |
			awk '/^status/ { print \$2 }'
CMD: shadow-19vm8 /usr/sbin/lctl get_param -n osd-ldiskfs.lustre-MDT0000.oi_scrub
CMD: shadow-19vm8 /usr/sbin/lctl lfsck_start -M lustre-MDT0000 5 --dryrun
shadow-19vm8: lfsck_start: option '--dryrun' requires an argument
shadow-19vm8: Invalid option, '-h' for help.
 sanity-scrub test_15: @@@@@@ FAIL: (5) Failed to start OI scrub on mds1 


 Comments   
Comment by Andreas Dilger [ 28/May/14 ]

This needs to check the version running on the server.

Even better would be to run the sanity-scrub and sanity-LFSCK scripts on the server, so we don't need to check the server version in all of the new tests.

Comment by Andreas Dilger [ 05/Jun/14 ]

I think there are two tasks here:

  • fix the master test scripts to use --dryrun on again, so they work with 2.5.x tests. This part would be good to do before 2.6 is released so we don't have ongoing interop test failures.
  • backport the parts of http://review.whamcloud.com/9989 that allow --dryrun to be used without an option, and http://review.whamcloud.com/10091 to fix the lfsck_start usage to b2_5.
Comment by Emoly Liu [ 06/Jun/14 ]

Here is the patch to use --dryrun on/off again in master sanity-scrub.sh test_15 scripts: http://review.whamcloud.com/10621

Comment by Jodi Levi (Inactive) [ 12/Jun/14 ]

Patch landed to Master.

Generated at Sat Feb 10 01:48:36 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.