<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:02:47 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-13617] Client dead lock leads to eviction from MDS (selinux is enabled)</title>
                <link>https://jira.whamcloud.com/browse/LU-13617</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;One thread got PR lock and waited on inode_lock to notify security context. Another thread got inode_lock and waited on CW lock(conflicts with PR). After timeout the client was evicted, it didn&apos;t cancel a PR lock. The dead lock happens on a parent directory.&lt;/p&gt;</description>
                <environment></environment>
        <key id="59399">LU-13617</key>
            <summary>Client dead lock leads to eviction from MDS (selinux is enabled)</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="aboyko">Alexander Boyko</assignee>
                                    <reporter username="aboyko">Alexander Boyko</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 1 Jun 2020 12:56:08 +0000</created>
                <updated>Mon, 27 Jun 2022 02:28:59 +0000</updated>
                            <resolved>Thu, 13 Aug 2020 08:58:57 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.7</version>
                    <version>Lustre 2.12.8</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="271629" author="gerrit" created="Mon, 1 Jun 2020 13:03:10 +0000"  >&lt;p&gt;Alexander Boyko (alexander.boyko@hpe.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38792&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38792&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13617&quot; title=&quot;Client dead lock leads to eviction from MDS (selinux is enabled)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13617&quot;&gt;&lt;del&gt;LU-13617&lt;/del&gt;&lt;/a&gt; llite: don&apos;t hold inode_lock for security notify&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3f0d01e64c5248cf9542625bf5d5d3034460912b&lt;/p&gt;</comment>
                            <comment id="271630" author="gerrit" created="Mon, 1 Jun 2020 13:03:11 +0000"  >&lt;p&gt;Alexander Boyko (alexander.boyko@hpe.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38793&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38793&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13617&quot; title=&quot;Client dead lock leads to eviction from MDS (selinux is enabled)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13617&quot;&gt;&lt;del&gt;LU-13617&lt;/del&gt;&lt;/a&gt; tests: check client deadlock selinux&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5efb04c50e42abc2e017cef49e065cc089fb7323&lt;/p&gt;</comment>
                            <comment id="273543" author="gerrit" created="Tue, 23 Jun 2020 08:11:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38792/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38792/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13617&quot; title=&quot;Client dead lock leads to eviction from MDS (selinux is enabled)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13617&quot;&gt;&lt;del&gt;LU-13617&lt;/del&gt;&lt;/a&gt; llite: don&apos;t hold inode_lock for security notify&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f87359b51f61a4baa9bf62faebb6625d518d23b4&lt;/p&gt;</comment>
                            <comment id="277410" author="gerrit" created="Thu, 13 Aug 2020 05:59:20 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38793/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38793/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13617&quot; title=&quot;Client dead lock leads to eviction from MDS (selinux is enabled)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13617&quot;&gt;&lt;del&gt;LU-13617&lt;/del&gt;&lt;/a&gt; tests: check client deadlock selinux&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f519f22c8ba3a6de00af0bef77cae3b4b18acdab&lt;/p&gt;</comment>
                            <comment id="329920" author="happe" created="Tue, 22 Mar 2022 21:52:21 +0000"  >&lt;p&gt;We hit this behavior in 2.12.8. Client got evicted due to lock timeout when selinux is enabled. Wonder if this patch also should go into 2.12?&lt;/p&gt;</comment>
                            <comment id="329930" author="aboyko" created="Wed, 23 Mar 2022 08:49:03 +0000"  >&lt;p&gt;regression was&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&#160;Fixes: 1d44980bcb (&quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8956&quot; title=&quot;Improve create performance with SELinux enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8956&quot;&gt;&lt;del&gt;LU-8956&lt;/del&gt;&lt;/a&gt; llite: set sec ctx on client&apos;s inode at create time&quot;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;git log -&lt;del&gt;grep &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8956&quot; title=&quot;Improve create performance with SELinux enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8956&quot;&gt;&lt;del&gt;LU-8956&lt;/del&gt;&lt;/a&gt; &#160;&lt;/del&gt;-oneline origin/b2_12&lt;br/&gt;
1d44980 &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8956&quot; title=&quot;Improve create performance with SELinux enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8956&quot;&gt;&lt;del&gt;LU-8956&lt;/del&gt;&lt;/a&gt; llite: set sec ctx on client&apos;s inode at create time&lt;/p&gt;

&lt;p&gt;So 2.12 has the same problem as description.&lt;/p&gt;</comment>
                            <comment id="331417" author="eaujames" created="Fri, 8 Apr 2022 16:00:16 +0000"  >&lt;p&gt;We hit this on a robinhood node:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;with cleanup policy doing parallel &quot;mv&quot; on a folder&lt;/li&gt;
	&lt;li&gt;and stat/getstripe threads on the same folders&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="331461" author="gerrit" created="Fri, 8 Apr 2022 21:56:29 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47025&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47025&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13617&quot; title=&quot;Client dead lock leads to eviction from MDS (selinux is enabled)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13617&quot;&gt;&lt;del&gt;LU-13617&lt;/del&gt;&lt;/a&gt; llite: don&apos;t hold inode_lock for security notify&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bf9ca48adbb69cda4196622ed89a55778c773e85&lt;/p&gt;</comment>
                            <comment id="331631" author="gerrit" created="Mon, 11 Apr 2022 16:58:57 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47034&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47034&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13617&quot; title=&quot;Client dead lock leads to eviction from MDS (selinux is enabled)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13617&quot;&gt;&lt;del&gt;LU-13617&lt;/del&gt;&lt;/a&gt; tests: check client deadlock selinux&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c0906f8c6d23382fb36eb6e7c309012048d8b67f&lt;/p&gt;</comment>
                            <comment id="333282" author="eaujames" created="Thu, 28 Apr 2022 13:39:01 +0000"  >&lt;p&gt;We hit this issue during maintenance regression tests (after updating Lustre clients from 2.12.6 LTS to  2.12.7  LTS on compute nodes).&lt;br/&gt;
The file system was not usable with selinux enabled (permissive or enabled) on compute nodes: client evictions, mds unreachable (lot of mdt threads hang waiting ldlm lock).&lt;/p&gt;

&lt;p&gt;We were able to reproduce the issue with 5 nodes running mdtest.&lt;/p&gt;

&lt;p&gt;The CEA will patch Lustre clients with &lt;a href=&quot;https://review.whamcloud.com/47034&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47034&lt;/a&gt; on compute nodes and run regression tests on it.&lt;br/&gt;
I will let you know the results.&lt;/p&gt;

&lt;p&gt;For now, we cannot activate selinux on clients without this patch on Lustre LTS &amp;gt;= 2.12.7.&lt;br/&gt;
The b2_12&apos;s regression seems to come from the &lt;a href=&quot;https://review.whamcloud.com/41387/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41387/&lt;/a&gt; (&quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9193&quot; title=&quot;Multiple hangs observed  with many open/getattr&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9193&quot;&gt;&lt;del&gt;LU-9193&lt;/del&gt;&lt;/a&gt; security: return security context for metadata ops&lt;br/&gt;
&quot;)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <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|i011on:</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>