[LU-592] 1.8<->2.1 interop: sanity-quota test_25: FAIL: quota_usr inode quota usage transfer from quota_usr to quota_2usr failed: [|] Created: 15/Aug/11  Updated: 11/Oct/11  Resolved: 26/Aug/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.1.0, Lustre 1.8.6
Fix Version/s: Lustre 2.1.0

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

Old Lustre Version: 1.8.6-wc1
Lustre Build: http://newbuild.whamcloud.com/job/lustre-b1_8/100/

New Lustre Version: 2.0.66.0
Lustre Build: http://newbuild.whamcloud.com/job/lustre-master/228/

Clean upgrading (Lustre servers and clients were upgraded all at once) from Lustre 1.8.6-wc1 to Lustre 2.0.66.0 under the following configuration:

OSS1: RHEL5/x86_64
OSS2: RHEL5/x86_64
MDS: RHEL5/x86_64
Client1: RHEL6/x86_64
Client2: RHEL5/x86_64


Attachments: File sanity-quota.test_25.1313375167.log.tar.bz2    
Severity: 3
Rank (Obsolete): 4910

 Description   

After the upgrading, sanity-quota test 25 failed on Lustre 2.0.66.0 as follows:

== sanity-quota test 25: test whether quota usage is transfered when chown/chgrp (18081) ============= 19:25:57 (1313375157)
run for chown case
setquota for quota_usr
Disk quotas for user quota_usr (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre       0    7168    7168       -       0      10      10       -
lustre-OST0000_UUID  
                      0       -    1024       -       -       -       -       -
lustre-OST0001_UUID  
                      0       -    1024       -       -       -       -       -
setquota for quota_2usr
Disk quotas for user quota_2usr (uid 60001):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre       0    7168    7168       -       0      10      10       -
lustre-OST0000_UUID  
                      0       -    1024       -       -       -       -       -
lustre-OST0001_UUID  
                      0       -    1024       -       -       -       -       -
setstripe for /mnt/lustre/d0.sanity-quota/d25 to 0
quota_usr write 4M to /mnt/lustre/d0.sanity-quota/d25/f25-0
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [dd] [if=/dev/zero] [of=/mnt/lustre/d0.sanity-quota/d25/f25-0] [bs=4K] [count=1K]
1024+0 records in
1024+0 records out
4194304 bytes (4.2 MB) copied, 0.63437 s, 6.6 MB/s
Disk quotas for user quota_usr (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre    4096    7168    7168       -       1      10      10       -
lustre-OST0000_UUID
                   4096       -    5120       -       -       -       -       -
lustre-OST0001_UUID  
                      0       -    1024       -       -       -       -       -
Disk quotas for user quota_2usr (uid 60001):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre       0    7168    7168       -       0      10      10       -
lustre-OST0000_UUID  
                      0       -    1024       -       -       -       -       -
lustre-OST0001_UUID  
                      0       -    1024       -       -       -       -       -
/usr/lib64/lustre/tests/sanity-quota.sh: line 1840: [: -ne: unary operator expected
chown from quota_usr to quota_2usr
Disk quotas for user quota_usr (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre       0    7168    7168       -       0      10      10       -
lustre-OST0000_UUID
                      0       -    1024       -       -       -       -       -
lustre-OST0001_UUID
                      0       -    1024       -       -       -       -       -
Disk quotas for user quota_2usr (uid 60001):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre    4096    7168    7168       -       1      10      10       -
lustre-OST0000_UUID
                   4096       -    5120       -       -       -       -       -
lustre-OST0001_UUID
                      0       -    1024       -       -       -       -       -
/usr/lib64/lustre/tests/sanity-quota.sh: line 1859: [: -ne: unary operator expected
Files for user (quota_usr):
Files for group (quota_usr):
  File: `/mnt/lustre/d0.sanity-quota/d25/f25-0'
  Size: 4194304         Blocks: 8192       IO Block: 2097152 regular file
Device: 2c54f966h/743766374d    Inode: 144115205356388353  Links: 1
Access: (0644/-rw-r--r--)  Uid: (60001/quota_2usr)   Gid: (60000/quota_usr)
Access: 2011-08-14 19:26:06.000000000 -0700
Modify: 2011-08-14 19:26:06.000000000 -0700
Change: 2011-08-14 19:26:07.000000000 -0700
 sanity-quota test_25: @@@@@@ FAIL: quota_usr inode quota usage transfer from quota_usr to quota_2usr failed: [|]
Dumping lctl log to /home/yujian/test_logs/1313375126/sanity-quota.test_25.*.1313375167.log

From the test output, we can see that running "lfs quota -v -u $TSTUSR /mnt/lustre" did not display the disk usage and limits for "lustre-MDT0000_UUID".

Please look into the attached sanity-quota.test_25.1313375167.log.tar.bz2 for more logs.



 Comments   
Comment by Peter Jones [ 15/Aug/11 ]

Niu

Could you please treat this as your top priority?

Thanks

Peter

Comment by Niu Yawei (Inactive) [ 16/Aug/11 ]

http://review.whamcloud.com/1236

Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/llite/dir.c
  • lustre/mdc/mdc_request.c
  • lustre/include/obd.h
  • lustre/lov/lov_obd.c
  • lustre/lmv/lmv_obd.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/lov/lov_obd.c
  • lustre/lmv/lmv_obd.c
  • lustre/mdc/mdc_request.c
  • lustre/include/obd.h
  • lustre/llite/dir.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/llite/dir.c
  • lustre/mdc/mdc_request.c
  • lustre/lov/lov_obd.c
  • lustre/lmv/lmv_obd.c
  • lustre/include/obd.h
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/lov/lov_obd.c
  • lustre/llite/dir.c
  • lustre/include/obd.h
  • lustre/lmv/lmv_obd.c
  • lustre/mdc/mdc_request.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/mdc/mdc_request.c
  • lustre/include/obd.h
  • lustre/lmv/lmv_obd.c
  • lustre/llite/dir.c
  • lustre/lov/lov_obd.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/include/obd.h
  • lustre/mdc/mdc_request.c
  • lustre/lov/lov_obd.c
  • lustre/llite/dir.c
  • lustre/lmv/lmv_obd.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/lov/lov_obd.c
  • lustre/lmv/lmv_obd.c
  • lustre/include/obd.h
  • lustre/mdc/mdc_request.c
  • lustre/llite/dir.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » i686,client,el5,ofa #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/lmv/lmv_obd.c
  • lustre/include/obd.h
  • lustre/llite/dir.c
  • lustre/lov/lov_obd.c
  • lustre/mdc/mdc_request.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/lmv/lmv_obd.c
  • lustre/include/obd.h
  • lustre/mdc/mdc_request.c
  • lustre/lov/lov_obd.c
  • lustre/llite/dir.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/lmv/lmv_obd.c
  • lustre/llite/dir.c
  • lustre/mdc/mdc_request.c
  • lustre/include/obd.h
  • lustre/lov/lov_obd.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/include/obd.h
  • lustre/lov/lov_obd.c
  • lustre/mdc/mdc_request.c
  • lustre/llite/dir.c
  • lustre/lmv/lmv_obd.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/mdc/mdc_request.c
  • lustre/include/obd.h
  • lustre/llite/dir.c
  • lustre/lmv/lmv_obd.c
  • lustre/lov/lov_obd.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/mdc/mdc_request.c
  • lustre/include/obd.h
  • lustre/lmv/lmv_obd.c
  • lustre/llite/dir.c
  • lustre/lov/lov_obd.c
Comment by Build Master (Inactive) [ 19/Aug/11 ]

Integrated in lustre-master » i686,server,el5,ofa #264
LU-592 1.8 <-> 2.1 interop: missing LMV on client

Oleg Drokin : fdf3dec6c60c734fdbb7b5b8da0f3040c6b54748
Files :

  • lustre/mdc/mdc_request.c
  • lustre/lmv/lmv_obd.c
  • lustre/lov/lov_obd.c
  • lustre/include/obd.h
  • lustre/llite/dir.c
Comment by Niu Yawei (Inactive) [ 26/Aug/11 ]

Landed for 2.1

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