<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:24:31 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-9248] conf-sanity: test_55 fails with lov_objid size has to be 8192, not 8192</title>
                <link>https://jira.whamcloud.com/browse/LU-9248</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Joe Gmitter &amp;lt;joseph.gmitter@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;conf-sanity: test_55 fails with lov_objid size has to be 8192, not 8192&lt;/p&gt;

&lt;p&gt;Starting client: trevis-33vm1.trevis.hpdd.intel.com:  -o user_xattr,flock trevis-33vm7@tcp:/lustre /mnt/lustre&lt;br/&gt;
CMD: trevis-33vm1.trevis.hpdd.intel.com mkdir -p /mnt/lustre&lt;br/&gt;
CMD: trevis-33vm1.trevis.hpdd.intel.com mount -t lustre -o user_xattr,flock trevis-33vm7@tcp:/lustre /mnt/lustre&lt;br/&gt;
checking size of lov_objid for ost index 1023&lt;br/&gt;
CMD: trevis-33vm7 debugfs -R &apos;stat lov_objid&apos; /dev/lvm-Role_MDS/P1 2&amp;gt;/dev/null&lt;br/&gt;
 conf-sanity test_55: @@@@@@ FAIL: lov_objid size has to be 8192, not  8192 &lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/3e251b4e-0f04-11e7-9053-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/3e251b4e-0f04-11e7-9053-5254006e85c2&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="44987">LU-9248</key>
            <summary>conf-sanity: test_55 fails with lov_objid size has to be 8192, not 8192</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>tests</label>
                    </labels>
                <created>Thu, 23 Mar 2017 17:18:04 +0000</created>
                <updated>Tue, 19 Mar 2019 18:00:30 +0000</updated>
                                            <version>Lustre 2.7.0</version>
                    <version>Lustre 2.9.0</version>
                    <version>Lustre 2.10.0</version>
                    <version>Lustre 2.10.4</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="196999" author="casperjx" created="Wed, 24 May 2017 23:22:05 +0000"  >&lt;p&gt;2.9.57, b3575:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sessions/0800ff00-8d4c-4627-878e-566e8a697c01&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sessions/0800ff00-8d4c-4627-878e-566e8a697c01&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="215179" author="adilger" created="Fri, 1 Dec 2017 22:35:44 +0000"  >&lt;p&gt;This looks like some kind of bash comparison bug in the test that could be easily fixed:&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;                LOV_OBJID_SIZE=$(do_facet mds1 &quot;$DEBUGFS -R &apos;stat lov_objid&apos; $mdsdev 2&amp;gt;/dev/null&quot; |
                                 grep ^User | awk -F &apos;Size: &apos; &apos;{print $2}&apos;)
                if [ &quot;$LOV_OBJID_SIZE&quot; != $(lov_objid_size $i) ]; then
                        error &quot;lov_objid size has to be $(lov_objid_size $i), not $LOV_OBJID_SIZE&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It might be that the quoted &lt;tt&gt;&quot;$LOV_OBJID_SIZE&quot;&lt;/tt&gt; doesn&apos;t compare nicely with the unquoted &lt;tt&gt;$(lov_objid_size $i)&lt;/tt&gt;?  Try removing the double quotes, and using &lt;tt&gt;if [[ ... ]]&lt;/tt&gt; instead?  It would also be useful to add single quotes around the values in the error message, in case there are spaces around the values (which would also cause problems with the quoted value).&lt;/p&gt;</comment>
                            <comment id="226033" author="jamesanunez" created="Fri, 13 Apr 2018 22:33:15 +0000"  >&lt;p&gt;We haven&#8217;t see conf-sanity test 55 fail with&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;lov_objid size has to be 8192, not 8192
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;for over a year. I&#8217;ve gone back to January of 2017 and don&#8217;t see this error message for this test.&lt;/p&gt;

&lt;p&gt;What we do see frequently is the error&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;lov_objid size has to be 8192, not 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which is not the same issue. We see this error message only during interop testing; when a client with version 2.9.56 (actually 2.9.55.36) or earlier runs against a server with version 2.9.57 (actually ~2.9.55.38) or later. For example, we see this failure with the following Lustre client/server conbinations:&lt;/p&gt;

&lt;p&gt;2.9.0 clients and 2.11.50.52 servers&lt;br/&gt;
2.9.0 clients and 2.10.52.75 servers&lt;br/&gt;
2.5.5-RC2 clients and&#160; 2.10.52.97 servers&lt;br/&gt;
2.7.3 (2_7_fe) clients and 2.9.55.41 servers&lt;br/&gt;
2.9.0 clients and 2.9.56.11 servers&lt;/p&gt;

&lt;p&gt;The issue with interop testing is that the patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4017&quot; title=&quot;Add project quota support feature&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4017&quot;&gt;&lt;del&gt;LU-4017&lt;/del&gt;&lt;/a&gt;, commit 91fbc94f3eabe9a, changed the following in conf-sanity test 55&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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;echo&#160;checking&#160;size&#160;of&#160;lov_objid&#160;&lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt;&#160;ost&#160;index&#160;$i
-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;LOV_OBJID_SIZE=$(do_facet&#160;mds1&#160;&lt;span class=&quot;code-quote&quot;&gt;&quot;$DEBUGFS&#160;-R&#160;&lt;span class=&quot;code-quote&quot;&gt;&apos;stat&#160;lov_objid&apos;&lt;/span&gt;&#160;$mdsdev&#160;2&amp;gt;/dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;&quot;&lt;/span&gt;&#160;|&#160;grep&#160;^User&#160;|&#160;awk&#160;&lt;span class=&quot;code-quote&quot;&gt;&apos;\{print&#160;$6}&apos;&lt;/span&gt;)
+&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;LOV_OBJID_SIZE=$(do_facet&#160;mds1&#160;&lt;span class=&quot;code-quote&quot;&gt;&quot;$DEBUGFS&#160;-R&#160;&lt;span class=&quot;code-quote&quot;&gt;&apos;stat&#160;lov_objid&apos;&lt;/span&gt;&#160;$mdsdev&#160;2&amp;gt;/dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;&quot;&lt;/span&gt;&#160;|
+&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;grep&#160;^User&#160;|&#160;awk&#160;-F&#160;&lt;span class=&quot;code-quote&quot;&gt;&apos;Size:&#160;&apos;&lt;/span&gt;&#160;&lt;span class=&quot;code-quote&quot;&gt;&apos;\{print&#160;$2}&apos;&lt;/span&gt;)
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;&#160;[&#160;&lt;span class=&quot;code-quote&quot;&gt;&quot;$LOV_OBJID_SIZE&quot;&lt;/span&gt;&#160;!=&#160;$(lov_objid_size&#160;$i)&#160;];&#160;then
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;error&#160;&lt;span class=&quot;code-quote&quot;&gt;&quot;lov_objid&#160;size&#160;has&#160;to&#160;be&#160;$(lov_objid_size&#160;$i),&#160;not&#160;$LOV_OBJID_SIZE&quot;&lt;/span&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at a master, 2.11.50, MDS, on a running system, we see&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;# debugfs -R &apos;stat lov_objid&apos; /dev/vda3 | grep ^User
debugfs 1.42.13.wc6 (05-Feb-2017)
User:&#160;&#160;&#160;&#160; 0&#160;&#160; Group:&#160;&#160;&#160;&#160; 0&#160;&#160; Project:&#160;&#160;&#160;&#160; 0&#160;&#160; Size: 32
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Using the &#8220;old&#8221;, pre 2.9.56 grep/awk commands printing $6, we get&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;# debugfs -R &apos;stat lov_objid&apos; /dev/vda3 | grep ^User | awk &apos;\{print $6}&apos;
debugfs 1.42.13.wc6 (05-Feb-2017)
0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which explains the output we see with interop testing.&lt;/p&gt;

&lt;p&gt;Thus, if we want to &quot;fix&quot; this issue, we would need to change what parameter is printed based on the server version number for all client from 2.9.0 and before which seems unlikely.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="226043" author="adilger" created="Fri, 13 Apr 2018 23:57:02 +0000"  >&lt;p&gt;It would be better to do something like:&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;do_facet mds1 &quot;$DEBUGFS -R &apos;stat lov_objid&apos; $mdsdev 2&amp;gt;/dev/null&quot; |
                                grep &quot;^User&quot; | sed -e &apos;s/.*Size: //&apos; -e &apos;s/ [A-Z].*//&apos;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That will drop everything before and including &quot;{{Size: }}&quot;, and then (just in case this changes again in the future) drop anything after the actual size.  That should work with both old and new debugfs output, and be flexible in the future.  We might even consider to replace the use of &quot;^User&quot; with &quot;Size: &quot; so that it is triggered on the actual data that we want rather than an unrelated value that just happens to exist on the same line.&lt;/p&gt;</comment>
                            <comment id="227531" author="standan" created="Tue, 8 May 2018 19:37:41 +0000"  >&lt;p&gt;+1 on 2.10.3&#160;&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/61ca2062-5067-11e8-abc3-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/61ca2062-5067-11e8-abc3-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|hzz85b:</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>