[LU-6661] Interop DNE2 test between DNE2 clients and 2.5/2.7 servers Created: 28/May/15  Updated: 21/Aug/15  Resolved: 21/Jul/15

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

Type: Task Priority: Critical
Reporter: Di Wang Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LU-6194 Interop 2.5.3<->2.7 sanity test_162c:... Closed
Related
is related to LU-3531 DNE2: striped directory Resolved
Rank (Obsolete): 9223372036854775807

 Description   

This test is to verify DNE2 clients can work with 2.5/2.7 servers.
For DNE2 client, it can use this build
https://build.hpdd.intel.com/job/lustre-reviews/32529/
2.5/2.7 server can use the most update rpm in the build.
https://build.hpdd.intel.com

Right now, we can check these two things.
1. Sanity should pass as other inter-op test.
2. check if "lfs mkdir" and "lfs mv" works in this environment. Note: if DNE2 clients tries to create a striped directory on 2.5 servers. 2.5 server should return -EINVAL or EIO error, but DNE2 clients should be able to create striped directory on 2.7 servers.



 Comments   
Comment by Gerrit Updater [ 03/Jun/15 ]

Lai Siyao (lai.siyao@intel.com) uploaded a new patch: http://review.whamcloud.com/15123
Subject: LU-6661 dne: setdirstripe should fail if not supported
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7933ed5123a7c7552b7a21d5a5deca96b80b738f

Comment by Richard Henwood (Inactive) [ 03/Jun/15 ]

Hi Lai;

It looks like Autotest is failing early currently. Can you confirm that this test runs successfully on your local machine?

Comment by Gerrit Updater [ 21/Jun/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15123/
Subject: LU-6661 dne: setdirstripe should fail if not supported
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 21ae299f58ea9885c71269819d72c18dd69046ac

Comment by Lai Siyao [ 01/Jul/15 ]

2.5 server:
162c: failed because of LU-4239, which is not backported to 2.5, and this test doesn't exist in 2.5 sanity either.

2.7 server:
27e: the sympton is `lfs setstripe` can be executed twice on a file, though the second setstripe won't take effect (it's assumed to return -EEXIST), this is because of http://review.whamcloud.com/13680 from LU-5814, which remove direct use of object LSM, and also http://review.whamcloud.com/12639 from LU-5823 which checks existed layout before setting it. The second patch is a server side change, to fix this the second patch needs to be backported to 2.7.

Comment by Andreas Dilger [ 02/Jul/15 ]

It looks like we need a patch to skip sanity test_162c for 2.5.x servers. The 27e test should also be skipped for a 2.7.0 server. Is there also a patch needed for master for 27e setstripe?

Comment by Lai Siyao [ 03/Jul/15 ]

if 27e is skipped for 2.7 server, then no other patch needed.

Comment by Gerrit Updater [ 07/Jul/15 ]

Lai Siyao (lai.siyao@intel.com) uploaded a new patch: http://review.whamcloud.com/15521
Subject: LU-6661 test: add version check for tests
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 33ceafc3f2e6e80912109224de4c9bb574da5552

Comment by Gerrit Updater [ 21/Jul/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15521/
Subject: LU-6661 test: add version check for tests
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 814e20cc43f237ed0a698d1d17908610cc9bba28

Comment by Peter Jones [ 21/Jul/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:02:08 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.