[LU-3547] 2.4.0<->2.3 interop: sanity test 154a: FAIL: chmod 777 /mnt/lustre/.lustre/fid failed Created: 02/Jul/13  Updated: 03/Sep/13  Resolved: 03/Sep/13

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

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Lustre server build: https://build.whamcloud.com/job/lustre-chris/25/
Lustre client build: http://build.whamcloud.com/job/lustre-b2_4/13/


Severity: 3
Rank (Obsolete): 8925

 Description   

sanity test 154a failed as follows:

== sanity test 154a: Open-by-FID == 10:31:49 (1372699909)
CMD: client-14vm3 /usr/sbin/lctl get_param -n version
stat fid [0x200002341:0x6:0x0]
touch fid [0x200002341:0x6:0x0]
write to fid [0x200002341:0x6:0x0]
read fid [0x200002341:0x6:0x0]
append write to fid [0x200002341:0x6:0x0]
rename fid [0x200002341:0x6:0x0]
mv: cannot move `/mnt/lustre/.lustre/fid/[0x200002341:0x6:0x0]' to `/mnt/lustre/f.sanity.154a.1': Operation not permitted
mv: cannot move `/mnt/lustre/f.sanity.154a.1' to `/mnt/lustre/.lustre/fid/[0x200002341:0x6:0x0]': Operation not permitted
truncate fid [0x200002341:0x6:0x0]
link fid [0x200002341:0x6:0x0]
setfacl fid [0x200002341:0x6:0x0]
getfacl fid [0x200002341:0x6:0x0]
getfacl: Removing leading '/' from absolute path names
unlink fid [0x200002341:0x6:0x0]
unlink: cannot unlink `/mnt/lustre/.lustre/fid/[0x200002341:0x6:0x0]': Operation not permitted
mknod fid [0x200002341:0x6:0x0]
mknod: `/mnt/lustre/.lustre/fid/[0x200002341:0x6:0x0]': Operation not permitted
stat non-exist fid [0xf00000400:0x1:0x0]
stat: cannot stat `/mnt/lustre/.lustre/fid/[0xf00000400:0x1:0x0]': No such file or directory
write to non-exist fid [0xf00000400:0x1:0x0]
/usr/lib64/lustre/tests/sanity.sh: line 8756: /mnt/lustre/.lustre/fid/[0xf00000400:0x1:0x0]: Operation not permitted
link new fid [0xf00000400:0x1:0x0]
ln: creating hard link `/mnt/lustre/.lustre/fid/[0xf00000400:0x1:0x0]' => `/mnt/lustre/f.sanity.154a': Operation not permitted
ls [0x200002341:0xe:0x0]
touch [0x200002341:0xe:0x0]/f.sanity.154a.1
touch /mnt/lustre/.lustre/fid/f.sanity.154a
touch: setting times of `/mnt/lustre/.lustre/fid/f.sanity.154a': Invalid argument
setxattr to /mnt/lustre/.lustre/fid
setfattr: /mnt/lustre/.lustre/fid: Operation not permitted
listxattr for /mnt/lustre/.lustre/fid
/mnt/lustre/.lustre/fid: No data available
delxattr from /mnt/lustre/.lustre/fid
setfattr: /mnt/lustre/.lustre/fid: Operation not permitted
touch invalid fid: /mnt/lustre/.lustre/fid/[0x200000400:0x2:0x3]
touch: setting times of `/mnt/lustre/.lustre/fid/[0x200000400:0x2:0x3]': Invalid argument
touch non-normal fid: /mnt/lustre/.lustre/fid/[0x1:0x2:0x0]
touch: setting times of `/mnt/lustre/.lustre/fid/[0x1:0x2:0x0]': Invalid argument
rename d0.sanity/d154 to /mnt/lustre/.lustre/fid
rename returned -1: Operation not permitted
change mode of /mnt/lustre/.lustre/fid to 777
chmod: changing permissions of `/mnt/lustre/.lustre/fid': Operation not permitted
 sanity test_154a: @@@@@@ FAIL: chmod 777 /mnt/lustre/.lustre/fid failed 

Maloo report: https://maloo.whamcloud.com/test_sets/2bf3c3f6-e287-11e2-8171-52540035b04c

The sanity test 154a was added by patch http://review.whamcloud.com/5555 which was not landed on Lustre b2_3 branch.



 Comments   
Comment by Bob Glossman (Inactive) [ 03/Jul/13 ]

http://review.whamcloud.com/6879

Comment by Jian Yu [ 17/Jul/13 ]

The patch needs to be cherry-picked to Lustre b2_4 branch.

Comment by Jian Yu [ 15/Aug/13 ]

Patch was cherry-picked to Lustre b2_4 branch.

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