<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:33:11 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-3353] import_sec_validate_get() import ffff88061d4a7000 (FULL) with no sec</title>
                <link>https://jira.whamcloud.com/browse/LU-3353</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We started getting many of these messages on our 2.1.4 MDS.  The timing corresponded with client reconnection problems, i.e. &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1934&quot; title=&quot;still busy with active RPCs for days&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1934&quot;&gt;&lt;del&gt;LU-1934&lt;/del&gt;&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;2013-05-15 15:54:44 Lustre: lsd-MDT0000: Client a22a8a8a-754a-c1ab-859d-eda3c476a27d (at 192.168.112.1@o2ib6) reconnecting
2013-05-15 15:54:44 Lustre: Skipped 143 previous similar messages
2013-05-15 15:54:44 Lustre: lsd-MDT0000: Client a22a8a8a-754a-c1ab-859d-eda3c476a27d (at 192.168.112.1@o2ib6) refused reconnection, still busy with 1 active RPCs
2013-05-15 15:54:44 Lustre: Skipped 143 previous similar messages
2013-05-15 15:56:31 LustreError: 5204:0:(sec.c:385:import_sec_validate_get()) import ffff88061d4a7000 (FULL) with no sec
2013-05-15 15:56:31 LustreError: 5204:0:(sec.c:385:import_sec_validate_get()) Skipped 2399 previous similar messages
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The MDS was just rebooted without a crash dump so, unless this reproduces, we won&apos;t be able to tell much about the imports in question.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19036">LU-3353</key>
            <summary>import_sec_validate_get() import ffff88061d4a7000 (FULL) with no sec</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="niu">Niu Yawei</assignee>
                                    <reporter username="nedbass">Ned Bass</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Wed, 15 May 2013 23:28:39 +0000</created>
                <updated>Thu, 14 Jun 2018 21:41:38 +0000</updated>
                            <resolved>Wed, 11 Feb 2015 17:14:46 +0000</resolved>
                                    <version>Lustre 2.1.4</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                    <fixVersion>Lustre 2.5.5</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="58630" author="pjones" created="Thu, 16 May 2013 00:17:25 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Could you please comment on this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="58644" author="niu" created="Thu, 16 May 2013 09:45:18 +0000"  >&lt;p&gt;I&apos;m not familiar with lustre security. Ned, do you know what kind of security flavor was specified for the cluster? Thanks.&lt;/p&gt;</comment>
                            <comment id="58672" author="nedbass" created="Thu, 16 May 2013 17:09:30 +0000"  >&lt;p&gt;I don&apos;t think we specify any security flavor, so it should be null.&lt;/p&gt;</comment>
                            <comment id="58730" author="niu" created="Fri, 17 May 2013 02:43:43 +0000"  >&lt;p&gt;This looks like a race: when the export is being destroyed, it&apos;ll kill the imp_sec on it&apos;s reverse import, and in the meantime, there is still some inflight requests on it&apos;s reverse import, which triggered the error message of &quot;import_sec_validate_get() import ... with no sec&quot;. I don&apos;t think it could cause any serious damange so far.&lt;/p&gt;</comment>
                            <comment id="74550" author="shadow" created="Wed, 8 Jan 2014 08:48:57 +0000"  >&lt;p&gt;it&apos;s bug in reconnect logic, we are disconnect an rev import but lack an invalidate list of requests on import.&lt;br/&gt;
in that case lock cancel callback may still in sending queue with waiting sec context state and don&apos;t killed at all but it&apos;s need some network flap also.&lt;br/&gt;
i have crash dump with such situation.&lt;/p&gt;
</comment>
                            <comment id="83088" author="ashehata" created="Fri, 2 May 2014 17:26:40 +0000"  >&lt;p&gt;the core reason for the race condition, where a reverse import is destroyed while there are client bound requests in flight, is when a client reconnects.  The area in the code where I could identify is in:&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;target_handle_connect()
{
...
 spin_lock(&amp;amp;export-&amp;gt;exp_lock);
 &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (export-&amp;gt;exp_imp_reverse != NULL)
  &lt;span class=&quot;code-comment&quot;&gt;/* destroyed &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; can be still referenced in ctxt */&lt;/span&gt;
  tmp_imp = export-&amp;gt;exp_imp_reverse;
 export-&amp;gt;exp_imp_reverse = revimp;
 spin_unlock(&amp;amp;export-&amp;gt;exp_lock);
...
}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;later on the tmp_imp is destroyed.&lt;/p&gt;

&lt;p&gt;While it&apos;s being destroyed import_sec_validate_get() could be getting called, and the security could&apos;ve been cleared already.&lt;/p&gt;

&lt;p&gt;the suggested solution is to suppress the error message in import_sec_validate_get() if the import is being destroyed&lt;/p&gt;</comment>
                            <comment id="101261" author="gerrit" created="Wed, 10 Dec 2014 23:32:29 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/10200/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10200/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3353&quot; title=&quot;import_sec_validate_get() import ffff88061d4a7000 (FULL) with no sec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3353&quot;&gt;&lt;del&gt;LU-3353&lt;/del&gt;&lt;/a&gt; ptlrpc: Suppress error message when imp_sec is freed&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: edf6116663724467207422dcc0c6120320055cac&lt;/p&gt;</comment>
                            <comment id="102631" author="marc@llnl.gov" created="Tue, 6 Jan 2015 16:22:04 +0000"  >&lt;p&gt;Can a patch be landed for 2.5?  We still see this on our production clusters, and it would be nice to reduce unneeded log messages.&lt;/p&gt;</comment>
                            <comment id="102635" author="gerrit" created="Tue, 6 Jan 2015 16:42:29 +0000"  >&lt;p&gt;James Simmons (uja.ornl@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13254&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13254&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3353&quot; title=&quot;import_sec_validate_get() import ffff88061d4a7000 (FULL) with no sec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3353&quot;&gt;&lt;del&gt;LU-3353&lt;/del&gt;&lt;/a&gt; ptlrpc: Suppress error message when imp_sec is freed&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2d6469ec1a1ffc820cb7d5a6e18006a4e41bad19&lt;/p&gt;</comment>
                            <comment id="106650" author="jlevi" created="Wed, 11 Feb 2015 17:14:46 +0000"  >&lt;p&gt;Patch landed to Master. Patch for other branches will be tracked outside of this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31615">LU-7030</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|hzvr53:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8288</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>