<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:41:44 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>[LUDOC-289] remote directory don&apos;t work for non-root users</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-289</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;Error happens on cluster lola during soak testing of build &lt;b&gt;20150527&lt;/b&gt; (see &lt;a href=&quot;https://wiki.hpdd.intel.com/pages/viewpage.action?title=Soak+Testing+on+Lola&amp;amp;spaceKey=Releases#SoakTestingonLola-20150527&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.hpdd.intel.com/pages/viewpage.action?title=Soak+Testing+on+Lola&amp;amp;spaceKey=Releases#SoakTestingonLola-20150527&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Creating directory inside a directory that had been created as remote and striped directory and default stripe enabled, failed for non-root 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;[soaktest@lola-21 test]$ pwd
/mnt/soaked/soaktest/test
[soaktest@lola-21 test]$ lfs setdirstripe -i 2 -c 5 parent
[soaktest@lola-21 test]$ lfs setdirstripe -i 2 -c 5 -D parent
[soaktest@lola-21 test]$ mkdir parent/child-0
mkdir: cannot create directory `parent/child-0&apos;: Object is remote
[soaktest@lola-21 test]$ lfs getdirstripe -r parent
parent
lmv_stripe_count: 5 lmv_stripe_offset: 2
mdtidx           FID[seq:oid:ver]
     2           [0x680020f71:0x1:0x0]
     3           [0x6c001f030:0x1:0x0]
     4           [0x7800032e0:0x1:0x0]
     5           [0x7000032e0:0x1:0x0]
     6           [0x800000bd0:0x1:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This works well for user root:&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@lola-21 ~]# cd /mnt/soaked/soaktest/test/
[root@lola-21 test]# ls
blogbench  iorfpp  iorssf  kcompile  mdtestfpp  mdtestssf  parent  racer  simul
[root@lola-21 test]# lfs setdirstripe -i 2 -c 5 parrent-root
[root@lola-21 test]# lfs setdirstripe -i 2 -c 5 -D parrent-root
[root@lola-21 test]# mkdir parrent-root/child-0
[root@lola-21 test]# lfs getdirstripe -r parrent-root
parrent-root
lmv_stripe_count: 5 lmv_stripe_offset: 2
mdtidx           FID[seq:oid:ver]
     2           [0x680020f71:0x2:0x0]
     3           [0x6c001f030:0x2:0x0]
     4           [0x7800032e0:0x2:0x0]
     5           [0x7000032e0:0x2:0x0]
     6           [0x800000bd0:0x2:0x0]
parrent-root/child-0
lmv_stripe_count: 5 lmv_stripe_offset: 2
mdtidx           FID[seq:oid:ver]
     2           [0x680020f71:0x3:0x0]
     3           [0x6c001f030:0x3:0x0]
     4           [0x7800032e0:0x3:0x0]
     5           [0x7000032e0:0x3:0x0]
     6           [0x800000bd0:0x3:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;remote dirs and remote gid parameters have been set for all MDTs:&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@lola-16 provision]# pdsh -R ssh -w lola-[8-11] &apos;for i in `ls -1 /proc/fs/lustre/mdt|grep -v num_refs` ; do echo -e &quot;Remote dir setting $i: \c&quot;; lctl get_param -n mdt.${i}.enable_remote_dir; done&apos; | dshbak -c
lola-10: ssh: connect to host lola-10 port 22: No route to host
----------------
lola-8
----------------
Remote dir setting soaked-MDT0000: 1
Remote dir setting soaked-MDT0001: 1
----------------
lola-9
----------------
Remote dir setting soaked-MDT0002: 1
Remote dir setting soaked-MDT0003: 1
----------------
lola-10
----------------
Remote dir setting soaked-MDT0004: 1
Remote dir setting soaked-MDT0005: 1
----------------
lola-11
----------------
Remote dir setting soaked-MDT0006: 1
Remote dir setting soaked-MDT0007: 1

[root@lola-16 console]# pdsh -R ssh -w lola-[8-11] &apos;for i in `ls -1 /proc/fs/lustre/mdt|grep -v num_refs` ; do echo -e &quot;Remote dir_gid setting $i: \c&quot;; lctl get_param -n mdt.${i}.enable_remote_dir_gid; done&apos; | dshbak -c
----------------
lola-8
----------------
Remote dir_gid setting soaked-MDT0000: -1
Remote dir_gid setting soaked-MDT0001: -1
----------------
lola-9
----------------
Remote dir_gid setting soaked-MDT0002: -1
Remote dir_gid setting soaked-MDT0003: -1
----------------
lola-10
----------------
Remote dir_gid setting soaked-MDT0004: -1
Remote dir_gid setting soaked-MDT0005: -1
----------------
lola-11
----------------
Remote dir_gid setting soaked-MDT0006: -1
Remote dir_gid setting soaked-MDT0007: -1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is a regression that had been fixed in previous patch already.&lt;br/&gt;
Ticket is a blocker as all test (slurm) jobs fail using remote striping.&lt;/p&gt;</description>
                <environment>lola&lt;br/&gt;
build 20150527</environment>
        <key id="30458">LUDOC-289</key>
            <summary>remote directory don&apos;t work for non-root users</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="LM-Triage">Lustre Manual Triage</assignee>
                                    <reporter username="heckes">Frank Heckes</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Jun 2015 07:48:34 +0000</created>
                <updated>Fri, 20 May 2022 01:50:11 +0000</updated>
                            <resolved>Fri, 20 May 2022 01:50:11 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="117180" author="pjones" created="Tue, 2 Jun 2015 17:54:17 +0000"  >&lt;p&gt;Di&lt;/p&gt;

&lt;p&gt;Could you please look into this issue?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="117181" author="di.wang" created="Tue, 2 Jun 2015 17:57:28 +0000"  >&lt;p&gt;this is duplicate with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6341&quot; title=&quot;Do not check security when accessing default stripeEA&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6341&quot;&gt;&lt;del&gt;LU-6341&lt;/del&gt;&lt;/a&gt;. I remember there is duplicate ticket in INTL as well. &lt;/p&gt;</comment>
                            <comment id="117189" author="adilger" created="Tue, 2 Jun 2015 18:34:17 +0000"  >&lt;p&gt;Frank, there is also a setting to enable/disable remote/striped directories for root and non-root 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;lctl set_param mdt.myth-MDT0000.enable_remote_dir_gid=-1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It seems that the &lt;tt&gt;enable_remote_dir_gid&lt;/tt&gt; is not documented in the Manual at all.&lt;/p&gt;</comment>
                            <comment id="117251" author="heckes" created="Wed, 3 Jun 2015 08:27:22 +0000"  >&lt;p&gt;The &lt;tt&gt;enable_remote_dir_gid&lt;/tt&gt; parameter had been set to &lt;tt&gt;-1&lt;/tt&gt; on all MDTs when I got the error above.&lt;br/&gt;
Yes, the parameter isn&apos;t documented, I learned about it from Johann.&lt;/p&gt;</comment>
                            <comment id="135298" author="rhenwood" created="Fri, 4 Dec 2015 21:44:47 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/17394/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/17394/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="32195">LUDOC-306</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hzxenz:</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>