<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:58:31 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-13116] sanity-sec test_30b: touch skn</title>
                <link>https://jira.whamcloud.com/browse/LU-13116</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for S Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/37ce626a-22a6-11ea-bb75-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/37ce626a-22a6-11ea-bb75-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_30b failed with the following error:&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;touch skn
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After correctly setting skn flavor for all components, the client cannot create a simple file:&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;touch: setting times of &apos;/mnt/lustre/d30b.sanity-sec/f0&apos;: Input/output error
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity-sec test_30b - touch skn&lt;br/&gt;
sanity-sec test_30b - mkdir skn&lt;/p&gt;</description>
                <environment></environment>
        <key id="57739">LU-13116</key>
            <summary>sanity-sec test_30b: touch skn</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="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jan 2020 17:20:24 +0000</created>
                <updated>Tue, 21 Apr 2020 02:00:32 +0000</updated>
                            <resolved>Tue, 17 Mar 2020 18:03:29 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="260686" author="sebastien" created="Tue, 7 Jan 2020 17:21:23 +0000"  >&lt;p&gt;Maybe this is due to an issue in the previous test, test_30. I will push a patch to test this idea.&lt;/p&gt;</comment>
                            <comment id="260687" author="gerrit" created="Tue, 7 Jan 2020 17:28:36 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37151&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37151&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13116&quot; title=&quot;sanity-sec test_30b: touch skn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13116&quot;&gt;&lt;del&gt;LU-13116&lt;/del&gt;&lt;/a&gt; tests: properly clean keyring in sanity-sec test_30&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 900c06808c6286283d3921e987767ee32742eb98&lt;/p&gt;</comment>
                            <comment id="260778" author="jamesanunez" created="Wed, 8 Jan 2020 18:25:21 +0000"  >&lt;p&gt;I&apos;m not sure if this is the same issue or not, but, we see sanity-sec test 30b fail with &apos;mkdir skn&apos; whne SSK enabled. This test started to fail with the mkdir error starting on 16 DEC 2019. Please see the following for more information&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/5e22a5a0-2041-11ea-b0f4-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/5e22a5a0-2041-11ea-b0f4-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/43fcab28-31dd-11ea-971c-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/43fcab28-31dd-11ea-971c-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If these are separate issues, I can open a new ticket for the mkdir error.&lt;/p&gt;</comment>
                            <comment id="260912" author="sebastien" created="Thu, 9 Jan 2020 16:51:48 +0000"  >&lt;p&gt;The patch &lt;a href=&quot;https://review.whamcloud.com/37151&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37151&lt;/a&gt; is certainly helpful to cleanup sanity-sec test suite, but after more investigations the reason for test_30b failures is the following: on server side, the new srpc flavor is not taken into account. So clients send requests with the newly enforced flavor, but these requests get dropped on server side:&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;Jan 08 18:34:12 onyx-65vm9.onyx.whamcloud.com kernel: Lustre: 6597:0:(sec.c:2105:sptlrpc_target_export_check()) exp ffff8d9e622ce000(lustre-MDT0000): req ffff8d9e614af600 (1|0|0|1|0|0) with unauthorized flavor 22, expect 20222|0(+0)|0(+0)
Jan 08 18:34:12 onyx-65vm9.onyx.whamcloud.com kernel: LustreError: 6597:0:(service.c:2154:ptlrpc_server_handle_req_in()) @@@ DROPPING req with illegal security flavor  req@ffff8d9e614af600 x1655160908866112/t0(0) o400-&amp;gt;aefb6a7b-4cfd-4@10.2.5.160@tcp:0/0 lens 224/0 e 0 to 0 dl 0 ref 1 fl New:/0/ffffffff rc 0/-1 job:&apos;kworker/0:3.0&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;(above, flavor 22 is skn, 20222 is ski)&lt;/p&gt;

&lt;p&gt;And, after a bunch of these, clients finally get evicted, and cannot reconnect because of incompatible srpc flavor:&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;Jan 08 18:34:58 onyx-65vm9.onyx.whamcloud.com kernel: Lustre: lustre-MDT0000: haven&apos;t heard from client b7fdc252-f2b2-4 (at 10.2.5.159@tcp) in 47 seconds. I think it&apos;s dead, and I am evicting it. exp ffff8d9e5ab80c00, cur 1578508498 expire 1578508468 last 1578508451
Jan 08 18:35:01 onyx-65vm9.onyx.whamcloud.com kernel: LustreError: 2578:0:(tgt_handler.c:929:tgt_connect_check_sptlrpc()) lustre-MDT0000: unauthorized rpc flavor 22 from 10.2.5.159@tcp, expect 20222
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;test_30b can fail on either mkdir or touch, it should be the same root cause.&lt;/p&gt;

&lt;p&gt;I did not manage to reproduce the problem on my own test system, so I have triggered a number of test sessions in Maloo with various parameters, in the hope one of them would hit the bug. I still did not figure out how a server could possibly not take the new srpc flavor into account.&lt;/p&gt;</comment>
                            <comment id="261271" author="sebastien" created="Wed, 15 Jan 2020 16:50:37 +0000"  >&lt;p&gt;Sometimes sanity-sec test_30 triggers an assertion failed:&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;[ 2768.772950] LustreError: 2528:0:(gss_keyring.c:838:gss_sec_lookup_ctx_kr()) failed request key: -126
[ 2768.773485] LustreError: 2528:0:(sec.c:451:sptlrpc_req_get_ctx()) req ffff96a3cdc90900: fail to get context
[ 2768.773984] LustreError: 2528:0:(lmv_obd.c:308:lmv_connect_mdc()) target seb-MDT0000_UUID connect error -111
[ 2768.774048] LustreError: 2563:0:(import.c:597:import_select_connection()) ASSERTION( dlmexp != ((void *)0) ) failed:
[ 2768.774050] LustreError: 2563:0:(import.c:597:import_select_connection()) LBUG
[ 2768.774052] Pid: 2563, comm: lctl 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018
[ 2768.774052] Call Trace:
[ 2768.774071]  [&amp;lt;ffffffffc06498ac&amp;gt;] libcfs_call_trace+0x8c/0xc0 [libcfs]
[ 2768.774086]  [&amp;lt;ffffffffc064995c&amp;gt;] lbug_with_loc+0x4c/0xa0 [libcfs]
[ 2768.774146]  [&amp;lt;ffffffffc0ac161c&amp;gt;] ptlrpc_connect_import_locked+0x128c/0x1330 [ptlrpc]
[ 2768.774168]  [&amp;lt;ffffffffc0ac16e1&amp;gt;] ptlrpc_connect_import+0x21/0x30 [ptlrpc]
[ 2768.774188]  [&amp;lt;ffffffffc0a9a498&amp;gt;] ptlrpc_recover_import+0x318/0x790 [ptlrpc]
[ 2768.774211]  [&amp;lt;ffffffffc0ac902c&amp;gt;] lprocfs_import_seq_write+0x3ec/0x520 [ptlrpc]
[ 2768.774217]  [&amp;lt;ffffffffc0d78919&amp;gt;] mdc_import_seq_write+0x19/0x20 [mdc]
[ 2768.774222]  [&amp;lt;ffffffff86a94d40&amp;gt;] proc_reg_write+0x40/0x80
[ 2768.774226]  [&amp;lt;ffffffff86a1f180&amp;gt;] vfs_write+0xc0/0x1f0
[ 2768.774227]  [&amp;lt;ffffffff86a1ffaf&amp;gt;] SyS_write+0x7f/0xf0
[ 2768.774232]  [&amp;lt;ffffffff86f2579b&amp;gt;] system_call_fastpath+0x22/0x27
[ 2768.774239]  [&amp;lt;ffffffffffffffff&amp;gt;] 0xffffffffffffffff
[ 2768.774240] Kernel panic - not syncing: LBUG
[ 2768.774242] CPU: 4 PID: 2563 Comm: lctl Kdump: loaded Tainted: G           OE  ------------   3.10.0-862.11.6.el7.x86_64 #1
[ 2768.774243] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2007
[ 2768.774243] Call Trace:
[ 2768.774247]  [&amp;lt;ffffffff86f135d4&amp;gt;] dump_stack+0x19/0x1b
[ 2768.774250]  [&amp;lt;ffffffff86f0d11f&amp;gt;] panic+0xe8/0x21f
[ 2768.774254]  [&amp;lt;ffffffffc06499ab&amp;gt;] lbug_with_loc+0x9b/0xa0 [libcfs]
[ 2768.774274]  [&amp;lt;ffffffffc0ac161c&amp;gt;] ptlrpc_connect_import_locked+0x128c/0x1330 [ptlrpc]
[ 2768.774292]  [&amp;lt;ffffffffc0a610bf&amp;gt;] ? import_set_conn+0x31f/0x7a0 [ptlrpc]
[ 2768.774313]  [&amp;lt;ffffffffc0ac16e1&amp;gt;] ptlrpc_connect_import+0x21/0x30 [ptlrpc]
[ 2768.774332]  [&amp;lt;ffffffffc0a9a498&amp;gt;] ptlrpc_recover_import+0x318/0x790 [ptlrpc]
[ 2768.774353]  [&amp;lt;ffffffffc0ac902c&amp;gt;] lprocfs_import_seq_write+0x3ec/0x520 [ptlrpc]
[ 2768.774356]  [&amp;lt;ffffffffc0d78919&amp;gt;] mdc_import_seq_write+0x19/0x20 [mdc]
[ 2768.774358]  [&amp;lt;ffffffff86a94d40&amp;gt;] proc_reg_write+0x40/0x80
[ 2768.774359]  [&amp;lt;ffffffff86a1f180&amp;gt;] vfs_write+0xc0/0x1f0
[ 2768.774361]  [&amp;lt;ffffffff86f256e1&amp;gt;] ? system_call_after_swapgs+0xae/0x146
[ 2768.774363]  [&amp;lt;ffffffff86a1ffaf&amp;gt;] SyS_write+0x7f/0xf0
[ 2768.774364]  [&amp;lt;ffffffff86f256e1&amp;gt;] ? system_call_after_swapgs+0xae/0x146
[ 2768.774366]  [&amp;lt;ffffffff86f2579b&amp;gt;] system_call_fastpath+0x22/0x27
[ 2768.774368]  [&amp;lt;ffffffff86f256e1&amp;gt;] ? system_call_after_swapgs+0xae/0x146
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This assertion should be replaced with test on dlmexp, and simply return an error in case it is NULL.&lt;/p&gt;</comment>
                            <comment id="261272" author="gerrit" created="Wed, 15 Jan 2020 16:51:43 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37251&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37251&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13116&quot; title=&quot;sanity-sec test_30b: touch skn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13116&quot;&gt;&lt;del&gt;LU-13116&lt;/del&gt;&lt;/a&gt; ptlrpc: return error for conn with NULL export&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 983af71915a0652c4eb4f615db0f6d4ae7e64a67&lt;/p&gt;</comment>
                            <comment id="262002" author="sebastien" created="Tue, 28 Jan 2020 12:51:27 +0000"  >&lt;p&gt;I think I finally managed to find the reason why sanity-sec test_30b is failing. In fact it happens when recovery-small is launched before sanity-sec, and the problem is due in particular to recovery-small test_23 which restarts the combined MGS/MDS.&lt;/p&gt;

&lt;p&gt;There is a bug in the Lustre code that makes the MGC that is used by the MDS server, lose the reference on the sptlrpc config log when the colocated MGS is stopped. As a consequence, even once the MGS is restarted, the MDS does not hold any reference on the sptlrpc config log anymore, and does not get any subsequent update of this llog. It explains why the newly set srpc flavor in sanity-sec test_30b is not taken into account by the MDS server, which refuses requests from the clients that do apply the new flavor.&lt;/p&gt;

&lt;p&gt;It seems this bug was introduced by patch 0ad54d5977 (&quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11185&quot; title=&quot;MGC lock leak&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11185&quot;&gt;&lt;del&gt;LU-11185&lt;/del&gt;&lt;/a&gt; mgc: config lock leak&quot;).&lt;/p&gt;</comment>
                            <comment id="262003" author="gerrit" created="Tue, 28 Jan 2020 12:51:42 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37344&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37344&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13116&quot; title=&quot;sanity-sec test_30b: touch skn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13116&quot;&gt;&lt;del&gt;LU-13116&lt;/del&gt;&lt;/a&gt; mgc: do not lose sptlrpc config lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e6b9eac6a8ad0ad26e628e66b20cbdef34acf637&lt;/p&gt;</comment>
                            <comment id="265412" author="gerrit" created="Tue, 17 Mar 2020 03:41:00 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37344/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37344/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13116&quot; title=&quot;sanity-sec test_30b: touch skn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13116&quot;&gt;&lt;del&gt;LU-13116&lt;/del&gt;&lt;/a&gt; mgc: do not lose sptlrpc config lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 26e8f1137b82b26dca0219f58543ea6edd9a30ae&lt;/p&gt;</comment>
                            <comment id="265415" author="gerrit" created="Tue, 17 Mar 2020 03:41:16 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37251/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37251/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13116&quot; title=&quot;sanity-sec test_30b: touch skn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13116&quot;&gt;&lt;del&gt;LU-13116&lt;/del&gt;&lt;/a&gt; ptlrpc: return error for conn with NULL export&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c54dc02d51e76146f3f273196f47204a2fb48345&lt;/p&gt;</comment>
                            <comment id="265416" author="gerrit" created="Tue, 17 Mar 2020 03:41:26 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37151/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37151/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13116&quot; title=&quot;sanity-sec test_30b: touch skn&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13116&quot;&gt;&lt;del&gt;LU-13116&lt;/del&gt;&lt;/a&gt; tests: properly clean keyring in sanity-sec test_30&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e628b7cd06ce0092b3003d27a2f45e6a0b7574d9&lt;/p&gt;</comment>
                            <comment id="265475" author="pjones" created="Tue, 17 Mar 2020 18:03:29 +0000"  >&lt;p&gt;Looks like everything has landed for 2.14&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|i00rn3:</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>