<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:23:37 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-16056] rarely directories got created with the wrong permission</title>
                <link>https://jira.whamcloud.com/browse/LU-16056</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;we&apos;ve had two instances of this, with the latest being:&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@ec01 ~]# ls -ld /exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.488.0/file.mdtest.488.30670
---------- 1 sihara users 0 Jul 16 10:10 /exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.488.0/file.mdtest.488.30670

[root@ec01 ~]# lfs getdirstripe /exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.488.0
lmv_stripe_count: 0 lmv_stripe_offset: 1 lmv_hash_type: none
[root@ec01 ~]# lfs getdirstripe -D /exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.488.0
lmv_stripe_count: 1 lmv_stripe_offset: -1 lmv_hash_type: none lmv_max_inherit: -1 lmv_max_inherit_rr: 5
[root@ec01 ~]# lfs getstripe -m /exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.488.0/file.mdtest.488.30670 
1 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The username/group ownership is fine, the permissions are supposed to be 755.&lt;/p&gt;</description>
                <environment></environment>
        <key id="71529">LU-16056</key>
            <summary>rarely directories got created with the wrong permission</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="laisiyao">Lai Siyao</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jul 2022 14:27:48 +0000</created>
                <updated>Tue, 18 Jul 2023 02:03:05 +0000</updated>
                            <resolved>Thu, 1 Sep 2022 13:53:59 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="341870" author="gerrit" created="Thu, 28 Jul 2022 14:33:26 +0000"  >&lt;p&gt;&quot;Lai Siyao &amp;lt;lai.siyao@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48071&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48071&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16056&quot; title=&quot;rarely directories got created with the wrong permission&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16056&quot;&gt;&lt;del&gt;LU-16056&lt;/del&gt;&lt;/a&gt; mdt: debug patch for wrong dir permission&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7291ac8308437f11fffb4ef7b2a7dded2c59c0fd&lt;/p&gt;</comment>
                            <comment id="342112" author="adilger" created="Fri, 29 Jul 2022 23:21:19 +0000"  >&lt;p&gt;Lai, I noticed a sanity test_103b failure on the Gerrit Janitor testing of an unrelated patch that might be the same as this issue:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/gerrit-janitor/24464/testresults/sanity2-ldiskfs-DNE-centos7_x86_64-centos7_x86_64-retry2/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/gerrit-janitor/24464/testresults/sanity2-ldiskfs-DNE-centos7_x86_64-centos7_x86_64-retry2/&lt;/a&gt;&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;== sanity test 103b: umask lfs setstripe ================= 18:43:45 (1659134625)
 sanity test_103b: @@@@@@ FAIL: lfs setstripe /mnt/lustre/f103b.sanity.s0074 &apos;0000&apos; != &apos;0074&apos; 
 sanity test_103b: @@@@@@ FAIL: lfs setstripe -N2 /mnt/lustre/f103b.sanity.m0061 &apos;0000&apos; != &apos;0061&apos; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;it looks like some kind of race condition/bug with umask handling, and has full debug logs on both the client and server, so this might be easier to investigate than the huge mdtest reproducer.&lt;/p&gt;</comment>
                            <comment id="342173" author="laisiyao" created="Mon, 1 Aug 2022 10:10:51 +0000"  >&lt;p&gt;I checked the logs, but strangely didn&apos;t find any messages about these two files. And this test never failed in maloo test.&lt;/p&gt;</comment>
                            <comment id="342213" author="adilger" created="Mon, 1 Aug 2022 16:27:34 +0000"  >&lt;p&gt;If there isn&apos;t enough logging enabled for this test you could push a patch on master that modifies the test, in case it is hit again in the future?  Maybe including your extra CDEBUG changes?&lt;/p&gt;</comment>
                            <comment id="342248" author="sihara" created="Tue, 2 Aug 2022 08:38:07 +0000"  >&lt;p&gt;The latest patch worked and dumped when no permission file was created.&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@ai400x2-1-vm1 ~]# lctl debug_file  /scratch/log/lustre-log.1659427201.8549 | grep &apos;##&apos;
00000004:00020000:19.0:1659427201.471371:0:8549:0:(mdt_handler.c:877:mdt_pack_attr2body()) ##### [0x200000483:0xfd91:0x0] with mode 32768 uid 8888 gid 100 valid 1100000080002f8f

[root@ec01 ~]# lfs fid2path /exafs &quot;[0x200000483:0xfd91:0x0]&quot;
/exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.162.0/file.mdtest.162.13744

[root@ec01 ~]# ls -l /exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.162.0/file.mdtest.162.13744
---------- 1 sihara users 0 Aug  2 17:00 /exafs/home/sihara/mdtest.out/test-dir.0-0/mdtest_tree.162.0/file.mdtest.162.13744
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="343738" author="gerrit" created="Tue, 16 Aug 2022 15:52:32 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48233&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48233&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16056&quot; title=&quot;rarely directories got created with the wrong permission&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16056&quot;&gt;&lt;del&gt;LU-16056&lt;/del&gt;&lt;/a&gt; libcfs: restore umask handling in kernel threads&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 06fe5984b7ebfe0153155546995576ea35f7ef21&lt;/p&gt;</comment>
                            <comment id="345288" author="gerrit" created="Thu, 1 Sep 2022 05:52:26 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/48233/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48233/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16056&quot; title=&quot;rarely directories got created with the wrong permission&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16056&quot;&gt;&lt;del&gt;LU-16056&lt;/del&gt;&lt;/a&gt; libcfs: restore umask handling in kernel threads&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c92bdd97d99cc755a187987f3d5963adeb3ea475&lt;/p&gt;</comment>
                            <comment id="345384" author="pjones" created="Thu, 1 Sep 2022 13:53:59 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="345445" author="gerrit" created="Thu, 1 Sep 2022 17:33:27 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48414&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48414&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16056&quot; title=&quot;rarely directories got created with the wrong permission&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16056&quot;&gt;&lt;del&gt;LU-16056&lt;/del&gt;&lt;/a&gt; libcfs: restore umask handling in kernel threads&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ac44a6c05afd67d9006c93132c354aef994c4383&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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|i02vo7:</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>