[LU-4151] sanity test_184d: cannot swap layouts Created: 26/Oct/13  Updated: 09/Oct/21  Resolved: 09/Oct/21

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

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

before downgrade
server and client: lustre-b2_5 build #2 RHEL6 ldiskfs
after downgrade
server and client: 2.4.1 RHEL6 ldiskfs


Severity: 3
Rank (Obsolete): 11266

 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/6c173a68-3e61-11e3-9906-52540035b04c.

The sub-test test_184d failed with the following error:

swap /mnt/lustre/d0.sanity/d184/f.sanity.184d-1 /mnt/lustre/d0.sanity/d184/f.sanity.184d-2 layouts failed

After rolling downgrade servers and clients from 2.5.0 to 2.4.1, run sanity test, hit following error

== sanity test 184d: allow stripeless layouts swap == 05:46:10 (1382791570)
Succeed in opening file "/mnt/lustre/d0.sanity/d184/f.sanity.184d-2"(flags=O_CREAT)
Succeed in opening file "/mnt/lustre/d0.sanity/d184/f.sanity.184d-3"(flags=O_CREAT)
error: cannot swap layouts between /mnt/lustre/d0.sanity/d184/f.sanity.184d-1 and /mnt/lustre/d0.sanity/d184/f.sanity.184d-2
: Invalid argument (22)
 sanity test_184d: @@@@@@ FAIL: swap /mnt/lustre/d0.sanity/d184/f.sanity.184d-1 /mnt/lustre/d0.sanity/d184/f.sanity.184d-2 layouts failed 

Info required for matching: sanity 184d



 Comments   
Comment by Sarah Liu [ 25/Jul/14 ]

Hit this during rolling upgrade testing from 2.4.3 to b2_6-rc2
Upgrade OSS from 2.4.3 to 2.6, other nodes(MDS and clients are 2.4.3)

== sanity test 184d: allow stripeless layouts swap == 20:34:58 (1406259298)
Succeed in opening file "/mnt/lustre/d0.sanity/d184/f.sanity.184d-2"(flags=O_CREAT)
Succeed in opening file "/mnt/lustre/d0.sanity/d184/f.sanity.184d-3"(flags=O_CREAT)
error: cannot swap layouts between /mnt/lustre/d0.sanity/d184/f.sanity.184d-1 and /mnt/lustre/d0.sanity/d184/f
.sanity.184d-2
: Invalid argument (22)
 sanity test_184d: @@@@@@ FAIL: swap /mnt/lustre/d0.sanity/d184/f.sanity.184d-1 /mnt/lustre/d0.sanity/d184/f.s
anity.184d-2 layouts failed 
Generated at Sat Feb 10 01:40:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.