<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:37 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-7522] conf-sanity test_32b: FAIL: verify quota failed</title>
                <link>https://jira.whamcloud.com/browse/LU-7522</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While running conf-sanity test 32b with disk2_7-ldiskfs.tar.bz2 from &lt;a href=&quot;http://review.whamcloud.com/16663&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16663&lt;/a&gt;, the test failed as follows:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Disk quotas for user 60000 (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
/tmp/t32/mnt/lustre
                  30720*      0   20480       -       3*      0       2       -
t32fs-MDT0000_UUID
                      0       -       0       -       1       -       0       -
t32fs-MDT0001_UUID
                      0       -       0       -       2       -       0       -
t32fs-OST0000_UUID
                  30720       -       0       -       -       -       -       -
Total allocated inode limit: 0, total allocated block limit: 0
bspace, act:30720, exp:10240
 conf-sanity test_32b: @@@@@@ FAIL: verify quota failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/3acf93b6-9bb5-11e5-9930-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/3acf93b6-9bb5-11e5-9930-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The quota verification failure also occurred with disk2_7-zfs.tar.bz2:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/cf518162-9b78-11e5-b907-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/cf518162-9b78-11e5-b907-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/409ef834-9b76-11e5-b7e5-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/409ef834-9b76-11e5-b7e5-5254006e85c2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="33478">LU-7522</key>
            <summary>conf-sanity test_32b: FAIL: verify quota failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 Dec 2015 08:26:53 +0000</created>
                <updated>Fri, 11 Dec 2015 06:50:44 +0000</updated>
                            <resolved>Thu, 10 Dec 2015 07:03:08 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="135411" author="pjones" created="Mon, 7 Dec 2015 18:25:54 +0000"  >&lt;p&gt;NIu&lt;/p&gt;

&lt;p&gt;Could you please look into this failure?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="135453" author="yujian" created="Tue, 8 Dec 2015 01:28:44 +0000"  >&lt;p&gt;The same tests passed against disk2_4-*.tar.bz2.&lt;/p&gt;</comment>
                            <comment id="135456" author="niu" created="Tue, 8 Dec 2015 05:26:37 +0000"  >&lt;p&gt;After upgrading, looks Lustre generated two files for quota_usr on MDT1 automatically.&lt;/p&gt;

&lt;p&gt;Before upgrading:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;t32fs-MDT0001_UUID
                      0       -       0       -       0       -       0       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After upgrading:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;t32fs-MDT0001_UUID
                      0       -       0       -       2       -       0       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Could you find out which files were generated? (mount the MDT1 as ldiskfs, then find the files owned by quota_usr) Thanks.&lt;/p&gt;</comment>
                            <comment id="135613" author="yujian" created="Wed, 9 Dec 2015 01:34:44 +0000"  >&lt;p&gt;Hi Niu,&lt;/p&gt;

&lt;p&gt;After upgrading, on MDT0000:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mount -t ldiskfs -o loop /tmp/t32/mdt /tmp/t32/mnt/mdt
# cd /tmp/t32/mnt/mdt
# ls -lR | grep quota_usr
-rw-r--r-- 1 quota_usr quota_usr    0 Dec  8 02:25 t32_qf_old
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On MDT0001:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mount -t ldiskfs -o loop /tmp/t32/mdt2 /tmp/t32/mnt/mdt1
# cd /tmp/t32/mnt/mdt1
# ls -lR | grep quota_usr
-rw-r--r-- 1 quota_usr quota_usr    0 Dec  8 02:25 t32_qf_old
-rw-r--r-- 1 quota_usr quota_usr    0 Dec  8 02:25 t32_qf_old
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, there are two more t32_qf_old files on MDT0001 after upgrading.&lt;/p&gt;</comment>
                            <comment id="135625" author="niu" created="Wed, 9 Dec 2015 03:16:52 +0000"  >&lt;p&gt;I checked the original image from &lt;a href=&quot;http://review.whamcloud.com/#/c/16663/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/16663/&lt;/a&gt; , it does have 2 more quota_usr files on mdt1 and  two more quota_usr objects on ost, looks the image is incorrect in first place.&lt;/p&gt;

&lt;p&gt;The objects on ost:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/mnt/ost1/O/200000400/d21/55
/mnt/ost1/O/200000400/d10/1ca
/mnt/ost1/O/0/d21/53
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;They are all 10M size.&lt;/p&gt;

&lt;p&gt;The files on mdt1:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/mnt/mds1/REMOTE_PARENT_DIR/0x280000400:0x319:0x0/[0x280000401:0x1:0x0]:0/t32_qf_old
/mnt/mds1/REMOTE_PARENT_DIR/0x280000400:0x1:0x0/t32_qf_old
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="135639" author="yujian" created="Wed, 9 Dec 2015 09:57:39 +0000"  >&lt;p&gt;You&apos;re right, Niu.&lt;/p&gt;

&lt;p&gt;There is a defect in test_32newtarball() with MDSCOUNT=2. After gathering the quota data, t32_qf_old was copied to remote_dir and striped_dir_old directories separately. So, there are 3 t32_qf_old files with user quota_usr. I fixed that defect and generated the disk image again (please refer to the attached disk2_7-ldiskfs.tar.bz2).&lt;/p&gt;

&lt;p&gt;However, before upgrading:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Disk quotas for user 60000 (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
     /mnt/t32fs   30708       0   40960       -       3       0       4       -
t32fs-MDT0000_UUID
                      0       -       0       -       1       -       0       -
t32fs-MDT0001_UUID
                      0       -       0       -       2       -       0       -
t32fs-OST0000_UUID
                  30708       -       0       -       -       -       -       -
Total allocated inode limit: 0, total allocated block limit: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After upgrading:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Disk quotas for user 60000 (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
/tmp/t32/mnt/lustre
                  30724       0   40960       -       3       0       4       -
t32fs-MDT0000_UUID
                      0       -       0       -       1       -       0       -
t32fs-MDT0001_UUID
                      0       -       0       -       2       -       0       -
t32fs-OST0000_UUID
                  30724       -       0       -       -       -       -       -
Total allocated inode limit: 0, total allocated block limit: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;bspace, act:30724, exp:30708
 conf-sanity test_32b: @@@@@@ FAIL: verify quota failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&quot;ls -lR /tmp/t32/mnt/lustre | grep quota_usr&quot; showed that:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;-rw-r--r--  1 quota_usr quota_usr 10485760 Dec  9 07:41 t32_qf_old
-rw-r--r-- 1 quota_usr quota_usr 10485760 Dec  9 07:41 t32_qf_old
-rw-r--r-- 1 quota_usr quota_usr 10485760 Dec  9 07:41 t32_qf_old
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The kbytes values didn&apos;t match.&lt;/p&gt;</comment>
                            <comment id="135640" author="niu" created="Wed, 9 Dec 2015 10:20:11 +0000"  >&lt;p&gt;The original kbytes 30708 is less than actual size 30720, probably this value is obtained before all dirty flush back? Could you post the patch which fixing test_32newtarball()?&lt;/p&gt;</comment>
                            <comment id="135776" author="yujian" created="Thu, 10 Dec 2015 07:03:08 +0000"  >&lt;p&gt;While generating the disk image, after adding &quot;sync&quot; before getting the quota data, disk quotas for user quota_usr became:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Disk quotas for user 60000 (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
     /mnt/t32fs   30724       0   40960       -       3       0       4       -
t32fs-MDT0000_UUID
                      0       -       0       -       1       -       0       -
t32fs-MDT0001_UUID
                      0       -       0       -       2       -       0       -
t32fs-OST0000_UUID
                  30724       -       0       -       -       -       -       -
Total allocated inode limit: 0, total allocated block limit: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;m fixing test_32newtarball() in &lt;a href=&quot;http://review.whamcloud.com/16663&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16663&lt;/a&gt;. Let&apos;s close this ticket as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7192&quot; title=&quot;conf-sanity test_32c: ZFS test failure with DNE config&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7192&quot;&gt;&lt;del&gt;LU-7192&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="135784" author="niu" created="Thu, 10 Dec 2015 09:37:03 +0000"  >&lt;p&gt;Could you check the ost image to see where the extra 4 bytes comes from?&lt;/p&gt;</comment>
                            <comment id="135993" author="yujian" created="Fri, 11 Dec 2015 02:17:24 +0000"  >&lt;p&gt;Hi Niu,&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mount -t ldiskfs -o loop ost /mnt/ost1
# find ./ -uid 60000 -gid 60000 -exec ls -l {} \;
-rw-rw-rw- 1 quota_usr quota_usr 10485760 Dec 10 07:21 ./O/200000400/d10/1ca
-rw-rw-rw- 1 quota_usr quota_usr 10485760 Dec 10 07:21 ./O/200000400/d21/55
-rw-rw-rw- 1 quota_usr quota_usr 10485760 Dec 10 07:21 ./O/0/d21/53
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Not sure where the extra 4 bytes comes from.&lt;/p&gt;</comment>
                            <comment id="136000" author="niu" created="Fri, 11 Dec 2015 06:50:44 +0000"  >&lt;p&gt;Ok, now we understand that the extra 4 bytes come from metadata of an object (in remote directory). When creating the image, sometimes metadata wasn&apos;t flushed, that&apos;s why we sometimes get 30724, sometimes get 30720.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="32254">LU-7192</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="19830" name="32newtarball-disk2_7-ldiskfs.log.txt" size="6140" author="yujian" created="Tue, 8 Dec 2015 01:27:27 +0000"/>
                            <attachment id="19834" name="disk2_7-ldiskfs.tar.bz2" size="351102" author="yujian" created="Wed, 9 Dec 2015 09:57:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxv27:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>