<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:27:01 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-9533] obdfilter-survey cannot find Lustre version number</title>
                <link>https://jira.whamcloud.com/browse/LU-9533</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;obdfilter-survey looks for the Lustre version to see if the variable rszmax should be changed&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; 253 check_record_size() {
 254         [ $(version_code $(get_lustre_version)) -lt $(version_code 2.3.61) ] &amp;amp;&amp;amp;
 255                 rszmax=1024
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In logs for obdfilter survey, we see an error when trying to check the Lustre version. For example, in the suite_stdout log for &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/586ba2cc-3bb7-11e7-b3f6-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/586ba2cc-3bb7-11e7-b3f6-5254006e85c2&lt;/a&gt;, 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;07:44:33:/usr/bin/obdfilter-survey: line 242: ( &amp;lt;&amp;lt; 16) | ( &amp;lt;&amp;lt; 8) | : syntax error: operand expected (error token is &quot;&amp;lt;&amp;lt; 16) | ( &amp;lt;&amp;lt; 8) | &quot;)
07:44:33:/usr/bin/obdfilter-survey: line 254: [: -lt: unary operator expected
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We get the version with&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; 245 get_lustre_version() {
 246         local host=${1:-${unique_hosts[0]}}
 247         remote_shell $host $lctl get_param -n version |
 248                 awk &lt;span class=&quot;code-quote&quot;&gt;&apos;/^lustre:/ {print $2}&apos;&lt;/span&gt;
 249 }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem is that the string &quot;lustre&quot; is no longer returned with the lctl call&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;# lctl get_param -n version
2.9.56_70_g3dad616
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The call to &apos;lctl get_param&apos; should be not to pipe the results to awk.&lt;/p&gt;</description>
                <environment></environment>
        <key id="46196">LU-9533</key>
            <summary>obdfilter-survey cannot find Lustre version number</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="1">Fixed</resolution>
                                        <assignee username="pichong">Gregoire Pichon</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>easy</label>
                            <label>hackathon2017</label>
                            <label>test</label>
                    </labels>
                <created>Thu, 18 May 2017 22:20:55 +0000</created>
                <updated>Wed, 7 Jun 2017 21:00:07 +0000</updated>
                            <resolved>Wed, 7 Jun 2017 21:00:07 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="196543" author="adilger" created="Sat, 20 May 2017 16:11:51 +0000"  >&lt;p&gt;I&apos;m pretty sure I fixed this in master. Please check test-framework.sh for the existing version functions, which this should probably use. Those functions will return a version regardless of whether the kernel modules are loaded or not. &lt;/p&gt;</comment>
                            <comment id="197616" author="jamesanunez" created="Tue, 30 May 2017 22:18:24 +0000"  >&lt;p&gt;I wasn&apos;t very clear in the description of this ticket. The obdfilter-survey this ticket refers to is the one located in lustre-iokit. That&apos;s the reason ti doesn&apos;t use the get version code in test-framework.sh.&lt;/p&gt;</comment>
                            <comment id="197617" author="gerrit" created="Tue, 30 May 2017 22:24:50 +0000"  >&lt;p&gt;Gr&#233;goire Pichon (gregoire.pichon@bull.net) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27338&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27338&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9533&quot; title=&quot;obdfilter-survey cannot find Lustre version number&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9533&quot;&gt;&lt;del&gt;LU-9533&lt;/del&gt;&lt;/a&gt; tests: fix get_lustre_version in obdfilter-survey&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e3ac0b930f7530f1b3fb98ef0957ea99778a00c9&lt;/p&gt;</comment>
                            <comment id="197623" author="gerrit" created="Tue, 30 May 2017 23:13:00 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27341&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27341&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9533&quot; title=&quot;obdfilter-survey cannot find Lustre version number&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9533&quot;&gt;&lt;del&gt;LU-9533&lt;/del&gt;&lt;/a&gt; test: update how to get version in obdfilter-survey&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fa0d283b9fbbef8f8b2314efe5fafc853f049d73&lt;/p&gt;</comment>
                            <comment id="197624" author="jamesanunez" created="Tue, 30 May 2017 23:14:53 +0000"  >&lt;p&gt;Gregoire - I see great minds think alike. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="198524" author="gerrit" created="Wed, 7 Jun 2017 20:30:51 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27338/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27338/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9533&quot; title=&quot;obdfilter-survey cannot find Lustre version number&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9533&quot;&gt;&lt;del&gt;LU-9533&lt;/del&gt;&lt;/a&gt; tests: fix get_lustre_version in obdfilter-survey&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 94aa5f7af1dab41d255b03c1552cdbbca6724bc1&lt;/p&gt;</comment>
                            <comment id="198552" author="pjones" created="Wed, 7 Jun 2017 21:00:07 +0000"  >&lt;p&gt;Landed for 2.10&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|hzzd6v:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>