<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:10:13 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-7590] After downgrade system from master RHEL7 to 2.5.5 RHEL6.6, hit cannot access /mnt/lustre: Permission denied</title>
                <link>https://jira.whamcloud.com/browse/LU-7590</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;after clean downgrade from master/ #3264 RHEL7 to 2.5.5 RHEL6.6, cannot access /mnt/lustre   This issue also happened with zfs&lt;/p&gt;

&lt;p&gt;client console&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-27 ~]# mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
onyx-25:/lustre on /mnt/lustre type lustre (rw,user_xattr)
[root@onyx-27 ~]# pwd
/root
[root@onyx-27 ~]# ls /mnt/luLustreError: 11808:0:(mdc_locks.c:918:mdc_enqueue()) ldlm_cli_enqueue: -13
LustreError: 11808:0:(file.c:3128:ll_inode_revalidate_fini()) lustre: revalidate FID [0x200000007:0x1:0x0] error: rc = -13
stre 
ls: cannot access /mnt/lustre: Permission denied
[root@onyx-27 ~]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;MDS dmesg&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;alg: No test for crc32 (crc32-pclmul)
Lustre: Lustre: Build Version: 2.5.5-RC2--PRISTINE-2.6.32-504.23.4.el6_lustre.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: MGC10.2.4.47@tcp: Connection restored to MGS (at 0@lo)
Lustre: lustre-MDT0000: used disk, loading
LustreError: 11-0: lustre-MDT0000-lwp-MDT0000: Communicating with 0@lo, operation mds_connect failed with -11.
LustreError: 11876:0:(lfsck_namespace.c:154:lfsck_namespace_load()) lustre-MDT0000-o: fail to load lfsck_namespace, expected = 256, rc = 4
Lustre: lustre-MDT0000-lwp-MDT0000: Connection restored to lustre-MDT0000 (at 0@lo)
Lustre: 11949:0:(client.c:1943:ptlrpc_expire_one_request()) @@@ Request sent has timed out for slow reply: [sent 1450734129/real 1450734129]  req@ffff88082d934c00 x1521204989001764/t0(0) o8-&amp;gt;lustre-OST0000-osc-MDT0000@10.2.4.56@tcp:28/4 lens 400/544 e 0 to 1 dl 1450734134 ref 1 fl Rpc:XN/0/ffffffff rc 0/-1
Lustre: 11949:0:(client.c:1943:ptlrpc_expire_one_request()) @@@ Request sent has timed out for slow reply: [sent 1450734154/real 1450734154]  req@ffff88082d934400 x1521204989001888/t0(0) o8-&amp;gt;lustre-OST0000-osc-MDT0000@10.2.4.56@tcp:28/4 lens 400/544 e 0 to 1 dl 1450734164 ref 1 fl Rpc:XN/0/ffffffff rc 0/-1
Lustre: 11949:0:(client.c:1943:ptlrpc_expire_one_request()) @@@ Request sent has timed out for slow reply: [sent 1450734169/real 1450734169]  req@ffff88082d473000 x1521204989001916/t0(0) o8-&amp;gt;lustre-OST0000-osc-MDT0000@10.2.4.56@tcp:28/4 lens 400/544 e 0 to 1 dl 1450734184 ref 1 fl Rpc:XN/0/ffffffff rc 0/-1
Lustre: lustre-OST0000-osc-MDT0000: Connection restored to lustre-OST0000 (at 10.2.4.56@tcp)
LustreError: 12091:0:(mdt_identity.c:136: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 312us
[root@onyx-25 ~]# 

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>before upgrade:  2.5.5 RHEL6.6 ldiskfs&lt;br/&gt;
after upgrade: master build # 3264 RHEL7&lt;br/&gt;
</environment>
        <key id="33806">LU-7590</key>
            <summary>After downgrade system from master RHEL7 to 2.5.5 RHEL6.6, hit cannot access /mnt/lustre: Permission denied</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="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="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="sarah">Sarah Liu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Dec 2015 21:50:36 +0000</created>
                <updated>Fri, 12 Jan 2018 19:26:04 +0000</updated>
                            <resolved>Fri, 12 Jan 2018 19:26:04 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="137128" author="sarah" created="Tue, 22 Dec 2015 00:13:53 +0000"  >&lt;p&gt;I ran the exact same test but upgrade from 2.5.5 RHEL6.6 to master RHEL6.7 and then downgrade,  didn&apos;t hit this problem.&lt;/p&gt;</comment>
                            <comment id="137151" author="adilger" created="Tue, 22 Dec 2015 04:39:44 +0000"  >&lt;p&gt;The -13 = &lt;tt&gt;-EPERM&lt;/tt&gt;, which is what would be expected if &lt;tt&gt;/sbin/l_get_identity&lt;/tt&gt; wasn&apos;t found (in the old days this returned &lt;tt&gt;-EIDRM&lt;/tt&gt;, which was much easier to diagnose, but also confused users):&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;LustreError: 12091:0:(mdt_identity.c:136: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 312us
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;tt&gt;-2&lt;/tt&gt; = &lt;tt&gt;-ENOENT&lt;/tt&gt;, which means the &lt;tt&gt;/sbin/l_getidentity&lt;/tt&gt; couldn&apos;t be found for some reason?&lt;/p&gt;

&lt;p&gt;The other error is about revalidating FID &lt;tt&gt;[0x200000007:0x1:0x0&lt;/tt&gt; which is FID_SEQ_ROOT, but I suspect that is just printed because it got an error when checking permissions on the root directory.&lt;/p&gt;</comment>
                            <comment id="137302" author="jgmitter" created="Wed, 23 Dec 2015 19:15:37 +0000"  >&lt;p&gt;Hi Dmitry,&lt;br/&gt;
Can you please have a look at this issue to gather more info?&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="137677" author="sarah" created="Wed, 30 Dec 2015 20:53:28 +0000"  >&lt;p&gt;Before downgrade from master RHEL7.1 to lower version lustre, according to the comment mentioned in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7410&quot; title=&quot;After downgrade from 2.8 to 2.5.5, hit unsupported incompat filesystem feature(s) 400&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7410&quot;&gt;&lt;del&gt;LU-7410&lt;/del&gt;&lt;/a&gt;, I remount the MDS with option abort_recovery, while after doing this and checking with mount, it only shows with &quot;ro&quot;.  This is different from what I saw after upgrade system to master RHEL6.7, in that scenario,  it shows &quot;rw, abort_recovery&quot; after remount MDS with the same option&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 abort_recovery /dev/sdb1 /mnt/mds1
[ 3437.966195] LDISKFS-fs (sdb1): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache
[ 3438.206440] Lustre: MGS: Connection restored to MGC10.2.4.47@tcp_0 (at 0@lo)
[ 3438.217099] Lustre: Skipped 4 previous similar messages
[ 3439.039274] LustreError: 10157:0:(mdt_handler.c:5603:mdt_iocontrol()) lustre-MDT0000: Aborting recovery for device
[root@onyx-25 ~]# [ 3443.513614] Lustre: 3306:0:(client.c:1994:ptlrpc_expire_one_request()) @@@ Request sent has timed out for slow reply: [sent 1451508192/real 1451508192]  req@ffff8804026ac800 x1522015822538812/t0(0) o8-&amp;gt;lustre-OST0000-osc-MDT0000@10.2.4.56@tcp:28/4 lens 520/544 e 0 to 1 dl 1451508197 ref 1 fl Rpc:XN/0/ffffffff rc 0/-1
[ 3443.554336] Lustre: lustre-MDT0000: Connection restored to 10.2.4.47@tcp (at 0@lo)

[root@onyx-25 ~]# mount|grep lustre
/dev/sdb1 on /mnt/mds1 type lustre (ro)

[root@onyx-25 ~]# rpm -qa|grep lustre
lustre-osd-ldiskfs-mount-2.7.64-3.10.0_229.20.1.el7_lustre.x86_64.x86_64
lustre-osd-ldiskfs-2.7.64-3.10.0_229.20.1.el7_lustre.x86_64.x86_64
lustre-iokit-2.7.64-3.10.0_229.20.1.el7_lustre.x86_64.x86_64
lustre-modules-2.7.64-3.10.0_229.20.1.el7_lustre.x86_64.x86_64
lustre-2.7.64-3.10.0_229.20.1.el7_lustre.x86_64.x86_64
lustre-tests-2.7.64-3.10.0_229.20.1.el7_lustre.x86_64.x86_64
kernel-3.10.0-229.20.1.el7_lustre.x86_64
[root@onyx-25 ~]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="140515" author="dmiter" created="Fri, 29 Jan 2016 10:39:25 +0000"  >&lt;p&gt;I think this happens because of during mkfs.lustre on RHEL7 used wrong path to &lt;tt&gt;l_getidentity&lt;/tt&gt;. There is a symbolic link /sbin &amp;#45;&amp;gt; /usr/sbin on RHEL7.x but this is not true for RHEL6.x. Originally &lt;tt&gt;--param=mdt.identity_upcall=/sbin/l_getidentity&lt;/tt&gt; was specified or auto discovered. This parameter should be changed or correct link to this binary is provided.&lt;/p&gt;</comment>
                            <comment id="140547" author="dmiter" created="Fri, 29 Jan 2016 16:24:50 +0000"  >&lt;p&gt;If the Lustre FS was created by &lt;b&gt;llmount.sh&lt;/b&gt; script then we will have this issue. In this script if &lt;tt&gt;L_GETIDENTITY&lt;/tt&gt; environment is undefined it set with &lt;tt&gt;`which l_getidentity`&lt;/tt&gt;. Therefore on RHEL 7.x &lt;b&gt;which&lt;/b&gt; utility will return &lt;tt&gt;/sbin/l_getidentity&lt;/tt&gt; instead of &lt;tt&gt;/usr/sbin/l_getidentity&lt;/tt&gt; on RHEL 6.x.&lt;/p&gt;

&lt;p&gt;As workaround you can run &lt;b&gt;llmount.sh&lt;/b&gt; script with &lt;tt&gt;L_GETIDENTITY&lt;/tt&gt; environment set explicitly. For example:&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;L_GETIDENTITY=/usr/sbin/l_getidentity llmount.sh
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="140580" author="sarah" created="Fri, 29 Jan 2016 19:56:52 +0000"  >&lt;p&gt;Thank you for the suggestion, I will try the workaround method.&lt;/p&gt;</comment>
                            <comment id="218144" author="dmiter" created="Fri, 12 Jan 2018 19:26:04 +0000"  >&lt;p&gt;I hope this workaround works. If you are disagree please reopen this ticket.&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|hzxwiv:</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>