<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:00:28 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-13343] recovery-small test_140a: unable to mount /mnt/lustre2 on MDS</title>
                <link>https://jira.whamcloud.com/browse/LU-13343</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Andreas Dilger  &amp;lt;adilger@whamcloud.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/1b932583-bcd8-4933-9b6a-2d70a0b7aecc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/1b932583-bcd8-4933-9b6a-2d70a0b7aecc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_140a failed with the following error on the client console log:&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;[  245.535452] Lustre: DEBUG MARKER: mount -t lustre -o user_xattr,flock,skpath=/tmp/test-framework-keys trevis-3vm9@tcp:/lustre /mnt/lustre2
[  245.868341] LustreError: 15982:0:(gss_keyring.c:862:gss_sec_lookup_ctx_kr()) failed request key: -126
[  245.869838] LustreError: 15982:0:(sec.c:449:sptlrpc_req_get_ctx()) req ffff9fb5ed3c3600: fail to get context
[  245.871460] LustreError: 15982:0:(lmv_obd.c:306:lmv_connect_mdc()) target lustre-MDT0000_UUID connect error -111
[  245.872973] LustreError: 15982:0:(llite_lib.c:320:client_common_fill_super()) cannot connect to lustre-clilmv-ffff9fb5f8a2d000: rc = -111
[  245.882513] LustreError: 15982:0:(lov_obd.c:824:lov_cleanup()) lustre-clilov-ffff9fb5f8a2d000: lov tgt 0 not cleaned! deathrow=0, lovrc=1
[  245.891188] Lustre: Unmounted lustre-client
[  245.892122] LustreError: 15982:0:(obd_mount.c:1681:lustre_fill_super()) Unable to mount  (-111)
[  246.144872] Lustre: DEBUG MARKER: /usr/sbin/lctl mark  recovery-small test_140a: @@@@@@ FAIL: unable to mount \/mnt\/lustre2 on MDS 
[  246.335604] Lustre: DEBUG MARKER: recovery-small test_140a: @@@@@@ FAIL: unable to mount /mnt/lustre2 on MDS

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like the mount2 setup is missing the security setup.&lt;/p&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
recovery-small test_140a - unable to mount /mnt/lustre2 on MDS&lt;/p&gt;</description>
                <environment></environment>
        <key id="58312">LU-13343</key>
            <summary>recovery-small test_140a: unable to mount /mnt/lustre2 on MDS</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>Mon, 9 Mar 2020 10:30:57 +0000</created>
                <updated>Thu, 1 Feb 2024 14:35:09 +0000</updated>
                            <resolved>Sun, 9 Jul 2023 14:14:36 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="264874" author="adilger" created="Mon, 9 Mar 2020 10:48:03 +0000"  >&lt;p&gt;It looks like this test has been failing since 2020-01-23, about 160 times, as many as 8 times a day.&lt;/p&gt;</comment>
                            <comment id="264877" author="adilger" created="Mon, 9 Mar 2020 11:57:32 +0000"  >&lt;p&gt;Per &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13342&quot; title=&quot;recovery-small test_140a and test_140b incompatible with SSK&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13342&quot;&gt;&lt;del&gt;LU-13342&lt;/del&gt;&lt;/a&gt;, Sebastien writes:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;recovery-small test_140a and test_140b are using a &apos;local client&apos; ie a client mounted on a server node, which is not compatible with SSK keys installed by the test framework.&lt;/p&gt;

&lt;p&gt;So just skip these tests when running with SSK.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="264881" author="gerrit" created="Mon, 9 Mar 2020 13:20:15 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37832&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37832&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13343&quot; title=&quot;recovery-small test_140a: unable to mount /mnt/lustre2 on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13343&quot;&gt;&lt;del&gt;LU-13343&lt;/del&gt;&lt;/a&gt; tests: skip recovery-small test_140 with SSK&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4c37186c40eee52e8f25aec66c73c4ba5d39432f&lt;/p&gt;</comment>
                            <comment id="265041" author="gerrit" created="Tue, 10 Mar 2020 23:36:34 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37832/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37832/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13343&quot; title=&quot;recovery-small test_140a: unable to mount /mnt/lustre2 on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13343&quot;&gt;&lt;del&gt;LU-13343&lt;/del&gt;&lt;/a&gt; tests: skip recovery-small test_140 with SSK&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: df5b71a5e8031929d816b19a2f045bfa40388b5b&lt;/p&gt;</comment>
                            <comment id="265144" author="adilger" created="Wed, 11 Mar 2020 22:04:14 +0000"  >&lt;p&gt;I was going to resolve this issue as &quot;fixed&quot; rather than marking it &quot;&lt;tt&gt;always_except&lt;/tt&gt;&quot; and keeping it open, because my understanding is that local mounts would/should never use SSK/Kerberos as there is no transport security needed for &lt;tt&gt;memcpy()&lt;/tt&gt; within the node.&lt;/p&gt;

&lt;p&gt;That said, &lt;em&gt;should&lt;/em&gt; there be an internal check for connections from the local NID to skip the &lt;tt&gt;gss_sec_lookup_ctx_kr()&lt;/tt&gt; code/check so that this doesn&apos;t generate an error at all?  Otherwise, it seems like if SSK is configured on a server it would prevent local mounts from working at all?  Am I misunderstanding the issue here?&lt;/p&gt;</comment>
                            <comment id="265165" author="sebastien" created="Thu, 12 Mar 2020 07:54:04 +0000"  >&lt;p&gt;The problem is just about the test framework. There is no restriction to use SSK with local clients (ie clients mounted on server nodes), it is just that it requires installing the client key as well on these nodes.&lt;br/&gt;
ATM the test framework does not handle this situation: each node has a dedicated role, and is either an MDS or an OSS or a client.&lt;/p&gt;

&lt;p&gt;This is why I pushed this patch to skip the few tests that are using local clients, when SSK is enabled. If the number of cases increase, we would want to have SSK keys installed properly wherever they are needed.&lt;/p&gt;</comment>
                            <comment id="265168" author="adilger" created="Thu, 12 Mar 2020 08:21:40 +0000"  >&lt;p&gt;What I&apos;m asking about is the reverse - if SSK is enabled on the servers, it seems to me that it &lt;em&gt;should&lt;/em&gt; be possible to mount a local client &lt;b&gt;without&lt;/b&gt; the need to configure SSK for that client.  I can&apos;t see any benefit to SSK/KRB for a local client mount, since the data doesn&apos;t go over the network, and the server itself can verify that the NID of the client is local.&lt;/p&gt;</comment>
                            <comment id="265170" author="sebastien" created="Thu, 12 Mar 2020 08:50:33 +0000"  >&lt;p&gt;On the one hand, you are raising an interesting point. There is no real added value of checking SSK/KRB credentials for a local node.&lt;/p&gt;

&lt;p&gt;On the other hand, one of the purposes of strong authentication is to define roles for nodes. When you install credentials on nodes (MDS, OSS, client), you explicitly assign them a role, meaning you want to prevent nodes from being re-purposed. So if we implement what you suggest, we would weaken this principle, with the initial intention of making local mounts easier.&lt;/p&gt;

&lt;p&gt;I am not against what you suggest, but we have to be aware if the implications.&lt;/p&gt;</comment>
                            <comment id="265171" author="adilger" created="Thu, 12 Mar 2020 09:06:35 +0000"  >&lt;p&gt;For clients mounting a local filesystem on the server for data movement or protocol re-export there is a need for the local client mount.  I agree that the admin could configure the &quot;client&quot; for this local mount, but even if that was not inconvenient for the admin, it would still hurt performance due to encryption overhead for both the &quot;client&quot; and the &quot;server&quot; running on the same node for no real benefit, so we would likely recommend against using KRB/SSK for local connections.&lt;/p&gt;</comment>
                            <comment id="265173" author="sebastien" created="Thu, 12 Mar 2020 09:11:25 +0000"  >&lt;p&gt;Understood. So I will work on a patch to add an internal check for connections from the local NID to skip the gss_sec_lookup_ctx_kr() code/check. Please leave this ticket open so that we keep in mind we already have recovery-small test_140a and test_140b that are making use of local clients.&lt;/p&gt;</comment>
                            <comment id="328096" author="gerrit" created="Fri, 4 Mar 2022 15:57:54 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46704&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46704&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13343&quot; title=&quot;recovery-small test_140a: unable to mount /mnt/lustre2 on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13343&quot;&gt;&lt;del&gt;LU-13343&lt;/del&gt;&lt;/a&gt; gss: no sec flavor on loopback connection&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 635d0545b57e19c4139c48789d0d1cb009ab09a6&lt;/p&gt;</comment>
                            <comment id="328378" author="gerrit" created="Tue, 8 Mar 2022 09:25:00 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46736&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46736&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13343&quot; title=&quot;recovery-small test_140a: unable to mount /mnt/lustre2 on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13343&quot;&gt;&lt;del&gt;LU-13343&lt;/del&gt;&lt;/a&gt; debug: debug recovery-small 140&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0332c6a72d770eabb136774b4da512ae2d75c231&lt;/p&gt;</comment>
                            <comment id="371937" author="gerrit" created="Thu, 11 May 2023 13:18:48 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50941&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50941&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13343&quot; title=&quot;recovery-small test_140a: unable to mount /mnt/lustre2 on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13343&quot;&gt;&lt;del&gt;LU-13343&lt;/del&gt;&lt;/a&gt; dbg: print debug traces&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 77f3505e20acec948fccf24c4ee8ce9aae1a78b8&lt;/p&gt;</comment>
                            <comment id="378031" author="gerrit" created="Sat, 8 Jul 2023 22:34:06 +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/c/fs/lustre-release/+/46704/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/46704/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13343&quot; title=&quot;recovery-small test_140a: unable to mount /mnt/lustre2 on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13343&quot;&gt;&lt;del&gt;LU-13343&lt;/del&gt;&lt;/a&gt; gss: no sec flavor on loopback connection&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e3e91ea95fd96a5eafc598e3812390b4cbac05c3&lt;/p&gt;</comment>
                            <comment id="378062" author="pjones" created="Sun, 9 Jul 2023 14:14:36 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="378119" author="gerrit" created="Mon, 10 Jul 2023 10:56:33 +0000"  >&lt;p&gt;&quot;Xing Huang &amp;lt;hxing@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51616&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51616&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13343&quot; title=&quot;recovery-small test_140a: unable to mount /mnt/lustre2 on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13343&quot;&gt;&lt;del&gt;LU-13343&lt;/del&gt;&lt;/a&gt; gss: no sec flavor on loopback connection&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3947a3b87798dae5b225b8df2d8effaed0e9c933&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="58310">LU-13342</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <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|i00v4f:</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>