<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:20: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-8725] Rolling Downgrade 2.8.x&lt;-&gt;master : FAIL: unable to write to /mnt/lustre/d0_runas_test as UID 500</title>
                <link>https://jira.whamcloud.com/browse/LU-8725</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Saurabh Tandan &amp;lt;saurabh.tandan@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;Please provide additional information about the failure here.&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/b7dc839c-957d-11e6-bc10-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/b7dc839c-957d-11e6-bc10-5254006e85c2&lt;/a&gt;.&lt;br/&gt;
Sanity test failed after downgrading MDS with the message:&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;unable to write to /mnt/lustre/d0_runas_test as UID 500
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;suite_log:&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;-----============= acceptance-small: sanity ============----- Sat Oct 15 23:27:53 PDT 2016
Running: bash /usr/lib64/lustre/tests/sanity.sh
onyx-23vm7: Checking config lustre mounted on /mnt/lustre
onyx-23vm8: Checking config lustre mounted on /mnt/lustre
Checking servers environments
Checking clients onyx-23vm7,onyx-23vm8 environments
Using TIMEOUT=20
disable quota as required
osd-ldiskfs.track_declares_assert=1
osd-ldiskfs.track_declares_assert=1
running as uid/gid/euid/egid 500/500/500/500, groups:
 [touch] [/mnt/lustre/d0_runas_test/f11686]
touch: cannot touch `/mnt/lustre/d0_runas_test/f11686&apos;: Permission denied
 sanity : @@@@@@ FAIL: unable to write to /mnt/lustre/d0_runas_test as UID 500.
        Please set RUNAS_ID to some UID which exists on MDS and client or
        add user 500:500 on these nodes. 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Steps Followed:&lt;br/&gt;
1. Set up lustre file system with Old version 2.8.x&lt;br/&gt;
2. Upgraded OSS and ran sanity.sh&lt;br/&gt;
3. Upgraded MDS and ran sanity.sh&lt;br/&gt;
4. Upgraded Clients and ran sanity.sh&lt;br/&gt;
5. Downgraded Clients and ran sanity.sh&lt;br/&gt;
6. Downgraded MDS (used that extra step of abort_recovery for remount and &apos;-f&apos; for unmount again). File system got mounted with no issues. But when tried to run Sanity.sh from client the above error message showed up.&lt;/p&gt;

&lt;p&gt;As the test failed I did tried to unmount the file system once and remount it on all nodes as well. &lt;/p&gt;

&lt;p&gt;MDS log when mounted:&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@onyx-25 ~]# mount -t lustre -o acl,user_xattr /dev/sdb1 /mnt/mds0
mount.lustre: increased /sys/block/sdb/queue/max_sectors_kb from 1024 to 16384
LNet: HW CPU cores: 32, npartitions: 4
alg: No test for adler32 (adler32-zlib)
alg: No test for crc32 (crc32-table)
alg: No test for crc32 (crc32-pclmul)
Lustre: Lustre: Build Version: jenkins-arch=x86_64,build_type=server,distro=el6.7,ib_stack=inkernel-39-gf08239d-PRISTINE-2.6.32-573.26.1.el6_lustre.g948c890.x86_64
LNet: Added LNI 10.2.4.47@tcp [8/256/0/180]
LNet: Accept secure, port 988
LDISKFS-fs (sdb1): mounted filesystem with ordered data mode. quota=on. Opts: 
Lustre: MGS: Connection restored to MGC10.2.4.47@tcp_0 (at 0@lo)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;MDS log when sanity.sh was run:&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;Lustre: DEBUG MARKER: -----============= acceptance-small: sanity ============----- Sat Oct 15 23:27:53 PDT 2016
Lustre: DEBUG MARKER: Using TIMEOUT=20
LustreError: 20325:0:(mdt_identity.c:135:mdt_identity_do_upcall()) lustre-MDT0000: error invoking upcall /sbin/l_getidentity lustre-MDT0000 0: rc -2; check /proc/fs/lustre/mdt/lustre-MDT0000/identity_upcall, time 117us
LustreError: 20325:0:(mdt_identity.c:135:mdt_identity_do_upcall()) lustre-MDT0000: error invoking upcall /sbin/l_getidentity lustre-MDT0000 0: rc -2; check /proc/fs/lustre/mdt/lustre-MDT0000/identity_upcall, time 220us
LustreError: 20325:0:(mdt_identity.c:135:mdt_identity_do_upcall()) Skipped 4 previous similar messages
Lustre: DEBUG MARKER: sanity : @@@@@@ FAIL: unable to write to /mnt/lustre/d0_runas_test as UID 500.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;OSS log when sanity.sh was run:&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@onyx-26 ~]# [118430.582487] Lustre: DEBUG MARKER: -----============= acceptance-small: sanity ============----- Sat Oct 15 23:27:53 PDT 2016
[118433.837028] Lustre: DEBUG MARKER: Using TIMEOUT=20
[118436.286200] Lustre: DEBUG MARKER: sanity : @@@@@@ FAIL: unable to write to /mnt/lustre/d0_runas_test as UID 500.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment>RHEL 6.7 2.8.x &amp;lt;-&amp;gt; RHEL 7&lt;br/&gt;
master build# 3456</environment>
        <key id="40793">LU-8725</key>
            <summary>Rolling Downgrade 2.8.x&lt;-&gt;master : FAIL: unable to write to /mnt/lustre/d0_runas_test as UID 500</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="5">Cannot Reproduce</resolution>
                                        <assignee username="standan">Saurabh Tandan</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Oct 2016 22:11:51 +0000</created>
                <updated>Thu, 11 May 2017 18:00:11 +0000</updated>
                            <resolved>Thu, 11 May 2017 18:00:11 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="170334" author="jgmitter" created="Wed, 19 Oct 2016 18:51:58 +0000"  >&lt;p&gt;Hi Saurabh,&lt;/p&gt;

&lt;p&gt;Can you try the changes suggested to the test scrip that we discussed on the QE call for l_getidentity.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="170343" author="adilger" created="Wed, 19 Oct 2016 20:26:57 +0000"  >&lt;p&gt;It looks like this is a problem with &lt;tt&gt;identity_upcall&lt;/tt&gt; being set explicitly by the test framework when the MDT is formatted, which doesn&apos;t happen for normal Lustre configurations, but is needed when developers are running directly out of the build tree:&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;    export L_GETIDENTITY=${L_GETIDENTITY:-&lt;span class=&quot;code-quote&quot;&gt;&quot;$LUSTRE/utils/l_getidentity&quot;&lt;/span&gt;}
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ ! -f &lt;span class=&quot;code-quote&quot;&gt;&quot;$L_GETIDENTITY&quot;&lt;/span&gt; ]; then
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; `which l_getidentity &amp;gt; /dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; 2&amp;gt;&amp;amp;1`; then
            export L_GETIDENTITY=$(which l_getidentity)
        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
            export L_GETIDENTITY=NONE
        fi
    fi

                opts+=${L_GETIDENTITY:+&lt;span class=&quot;code-quote&quot;&gt;&quot; --param=mdt.identity_upcall=$L_GETIDENTITY&quot;&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="170344" author="adilger" created="Wed, 19 Oct 2016 20:33:11 +0000"  >&lt;p&gt;I believe in earlier distros (RHEL6-) the upcall is &lt;tt&gt;/usr/sbin/l_getidentity&lt;/tt&gt; but on newer distros (RHEL7+) I believe it is &lt;tt&gt;/sbin/l_getidentity&lt;/tt&gt; because of distro packaging changes?  If this is explicitly stored in the configuration log, it will be incorrect after a downgrade.  That said, I don&apos;t see where it gets set to &lt;tt&gt;/sbin/l_getidentity&lt;/tt&gt; on RHEL7 installs except by the test framework, so there may still be a problem for normal usage?&lt;/p&gt;</comment>
                            <comment id="195539" author="standan" created="Thu, 11 May 2017 18:00:11 +0000"  >&lt;p&gt;Cannot reproduce, Hence closing the ticket.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="23603" name="mds_debug.log" size="692607" author="standan" created="Wed, 19 Oct 2016 00:42:03 +0000"/>
                            <attachment id="23605" name="mds_dmesg.log" size="99830" author="standan" created="Wed, 19 Oct 2016 00:56:34 +0000"/>
                            <attachment id="23604" name="oss_debug.log" size="283858" author="standan" created="Wed, 19 Oct 2016 00:42:03 +0000"/>
                            <attachment id="23606" name="oss_dmesg.log" size="608896" author="standan" created="Wed, 19 Oct 2016 00:56:34 +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|hzysfj:</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>