<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:22:59 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-2174] sanity-quota.sh breakage on single node setup</title>
                <link>https://jira.whamcloud.com/browse/LU-2174</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I am trying to add sanity-quota.sh into my roster and it seems to be very unhappy running with a single node setup:&#160;with no lustre mounted beforehand:&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;[root@centos6-9 tests]# SLOW=yes REFORMAT=yes sh sanity-quota.sh 
Logging to shared log directory: /tmp/test_logs/1350196677
error: lustre_build_version: No such file or directory
opening /dev/lnet failed: No such device
hint: the kernel modules may not be loaded
IOC_LIBCFS_GET_NI error 19: No such device
error: get_param: /proc/{fs,sys}/{lnet,lustre}/version: Found no match
/home/green/git/lustre-release/lustre/tests/test-framework.sh: line 341: ( &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;)
sanity-quota.sh: line 44: [: -lt: unary operator expected
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I imagine lustre setup bit needs to be moved earlier into the code.&lt;/p&gt;</description>
                <environment></environment>
        <key id="16357">LU-2174</key>
            <summary>sanity-quota.sh breakage on single node setup</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="niu">Niu Yawei</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 14 Oct 2012 02:46:37 +0000</created>
                <updated>Fri, 19 Apr 2013 20:28:19 +0000</updated>
                            <resolved>Mon, 29 Oct 2012 05:44:16 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="46525" author="green" created="Sun, 14 Oct 2012 02:50:24 +0000"  >&lt;p&gt;Additionally instead of the standard RUNAS_ID, the script depends on the non-standard TSTID/TSTID2 variables:&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;[root@centos6-9 tests]# SLOW=yes RUNAS_ID=500  sh sanity-quota.sh 
Logging to shared log directory: /tmp/test_logs/1350197276
debugfs 1.42.3.wc3 (15-Aug-2012)
centos6-9.localnet: Checking config lustre mounted on /mnt/lustre
Checking servers environments
Checking clients centos6-9.localnet environments
Using TIMEOUT=20
enable jobstats, set job scheduler as procname_uid
excepting tests: 
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [touch] [/mnt/lustre/d0_runas_test/f9931]
touch: cannot touch `/mnt/lustre/d0_runas_test/f9931&apos;: Permission denied
 sanity-quota : @@@@@@ FAIL: unable to write to /mnt/lustre/d0_runas_test as UID 60000.
        Please set RUNAS_ID to some UID which exists on MDS and client or
        add user 60000:60000 on these nodes. 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="46531" author="adilger" created="Sun, 14 Oct 2012 13:31:03 +0000"  >&lt;p&gt;Oleg, I have a patch for the version checks that gets the Lustre version from lctl directly instead of depending on /proc. if the modules are loaded it uses the version from /proc, but otherwise uses the version compiled into lctl. &lt;/p&gt;

&lt;p&gt;Please give it a try. It works for me though Yu Jian reported a problem that I couldn&apos;t reproduce. &lt;/p&gt;</comment>
                            <comment id="46532" author="green" created="Sun, 14 Oct 2012 14:57:00 +0000"  >&lt;p&gt;where can I get the patch?&lt;/p&gt;</comment>
                            <comment id="46534" author="adilger" created="Sun, 14 Oct 2012 16:07:31 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/4173&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4173&lt;/a&gt; &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2024&quot; title=&quot;sanity-scrub test was not run&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2024&quot;&gt;&lt;del&gt;LU-2024&lt;/del&gt;&lt;/a&gt; tests: clean up lustre version checking&quot;&lt;/p&gt;</comment>
                            <comment id="46538" author="niu" created="Sun, 14 Oct 2012 23:14:13 +0000"  >&lt;p&gt;Indeed, the lustre setup bit should be done before version check, and I think Andreas&apos;s way (improving version check) is better, thank you for the patch, Andreas.&lt;/p&gt;

&lt;p&gt;For the UID/GID 60000 &amp;amp; 60001, they are necessary for quota testing, and they&apos;ve been existing for a very long time, I think thing should one of the &apos;standard ids&quot;, what do you think, Oleg?&lt;/p&gt;</comment>
                            <comment id="46543" author="green" created="Mon, 15 Oct 2012 00:30:22 +0000"  >&lt;p&gt;I think if the IDs are necessary and RUNAS_UID is not supported, then the message needs to be fixed to properly outline what parameters are really needed&lt;br/&gt;
(I just figured out there are 4 parameters needed: TSTID TSTID2 TSTUSR TSTUSR2&lt;/p&gt;

&lt;p&gt;It&apos;s unclear if TSTID should be the uid of TSTUSR and same for usr2, if yes then just asking for TSTUSR/tstUSR2 should be enough and the system can resolve the names to userids.&lt;/p&gt;

&lt;p&gt;Sticking with userids likely to exist by default is fine by me, but not strictly required, what&apos;s important is some consitency in parameter requiring/reporting of errors.&lt;/p&gt;</comment>
                            <comment id="46551" author="niu" created="Mon, 15 Oct 2012 03:52:11 +0000"  >&lt;p&gt;better error message:  &lt;a href=&quot;http://review.whamcloud.com/4268&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4268&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46999" author="niu" created="Mon, 29 Oct 2012 05:44:16 +0000"  >&lt;p&gt;patch landed for 2.4&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|hzvabb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5206</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>