<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:20: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-8795] The user cannot access lustre even if they successfully authenticate by kinit</title>
                <link>https://jira.whamcloud.com/browse/LU-8795</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;1.	I find one problem for Kerberos in Lustre. I do not know whether it is a setting error or bug. When we activate the Kerberos function in all servers (MGS, MDS, and OSS) and clients mount lustre with krb5 option, root can access the lustre file system. However, the normal users can not access the lustre even if they have authenticated through Kerberos (kinit). The following error logs are messages when normal user wants to access lustre.&lt;br/&gt;
lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;21277&amp;#93;&lt;/span&gt;:TRACE:main(): start parsing parameters&lt;br/&gt;
lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;21277&amp;#93;&lt;/span&gt;:INFO:main(): key 698610133, desc 1002@2f, ugid 1002:1002, sring 44699816, coinfo 47:krb5:1002:1002::&lt;br/&gt;
lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;21277&amp;#93;&lt;/span&gt;:ERROR:parse_callout_info(): short of components&lt;br/&gt;
lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;21277&amp;#93;&lt;/span&gt;:ERROR:main(): can&apos;t extract callout info: 47:krb5:1002:1002::&lt;br/&gt;
kernel: LustreError: 21275:0:(gss_keyring.c:846:gss_sec_lookup_ctx_kr()) failed request key: -126&lt;br/&gt;
kernel: LustreError: 21275:0:(sec.c:452:sptlrpc_req_get_ctx()) req ffff881f4f703f00: fail to get context&lt;br/&gt;
kernel: LustreError: 21275:0:(file.c:3332:ll_inode_revalidate_fini()) hpcfs: revalidate FID &lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000bd0:0x1:0x0&amp;#93;&lt;/span&gt; error: rc = -111&lt;/p&gt;</description>
                <environment>Centos7.2 3.10.0-327.el7.x86_64&lt;br/&gt;
Lustre 2.8.55_19_ga84250b</environment>
        <key id="41273">LU-8795</key>
            <summary>The user cannot access lustre even if they successfully authenticate by kinit</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="jfilizetti">Jeremy Filizetti</assignee>
                                    <reporter username="sebg-crd-pm">sebg-crd-pm</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Nov 2016 06:02:48 +0000</created>
                <updated>Tue, 8 Nov 2016 22:13:51 +0000</updated>
                            <resolved>Mon, 7 Nov 2016 20:16:17 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="172124" author="adilger" created="Thu, 3 Nov 2016 06:14:37 +0000"  >&lt;p&gt;The 2.8.55 build of Lustre is a development version of the Lustre master branch, but we are happy that you are testing it.  There have been recent changes to the GSSAPI code, which is closely tied to Kerberos.&lt;/p&gt;

&lt;p&gt;If you have been testing the master release frequently with Kerberos, do you know when this functionality was last working?  That would help isolate the change(s) that are the source of the problem.&lt;/p&gt;</comment>
                            <comment id="172125" author="sebg-crd-pm" created="Thu, 3 Nov 2016 06:31:59 +0000"  >&lt;p&gt;The version 2.8.55 has been my first version since I touch lustre, so I did not use any master branch. I will download the latest version and try it again.&lt;/p&gt;</comment>
                            <comment id="172126" author="sebg-crd-pm" created="Thu, 3 Nov 2016 07:03:28 +0000"  >&lt;p&gt;I have tried the lustre 2.8.60. The problem still exists&lt;/p&gt;</comment>
                            <comment id="172142" author="pjones" created="Thu, 3 Nov 2016 12:44:39 +0000"  >&lt;p&gt;How about checking back to 2.8.50? This tag is functionally equivalent to the community 2.8 release and so this will give us an indication as to whether this has never worked or got broken during the 2.9 development cycle.&lt;/p&gt;</comment>
                            <comment id="172212" author="green" created="Thu, 3 Nov 2016 17:35:27 +0000"  >&lt;p&gt;I think Peter meant 2.8.50 which is equivalent to 2.8.0, because 2.7.50 is 2.7.0.&lt;/p&gt;</comment>
                            <comment id="172213" author="pjones" created="Thu, 3 Nov 2016 17:42:42 +0000"  >&lt;p&gt;Confirmed. Sorry for any confusion caused.&lt;/p&gt;</comment>
                            <comment id="172276" author="sebg-crd-pm" created="Fri, 4 Nov 2016 05:47:01 +0000"  >&lt;p&gt;I found that the function is working in  lustre 2.8.0, users can access the lustre file system after they executes  kinit &lt;br/&gt;
Here is the log.&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:main(): start parsing parameters&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:INFO:main(): key 605755931, desc 1000@8, ugid 1000:1000, sring 380314743, coinfo 8:krb5:1000:1000::1:0x9000000000000:hpcfs-MDT0000-mdc-ffff881987e72800:0x9000000000000&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:parse_callout_info(): components: 8,krb5,1000,1000,,1,0x9000000000000,hpcfs-MDT0000-mdc-ffff881987e72800,0x9000000000000&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:DEBUG:parse_callout_info(): parse call out info: secid 8, mech krb5, ugid 1000:1000, is_root 0, is_mdt 0, is_ost 0, svc 1, nid 0x9000000000000, tgt hpcfs-MDT0000-mdc-ffff881987e72800, self nid 0x9000000000000&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:main(): parsing parameters OK&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:lgss_mech_initialize(): initialize mech krb5&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:lgss_create_cred(): create a krb5 cred at 0x23e1340&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:lgss_prepare_cred(): preparing krb5 cred 0x23e1340&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:DEBUG:lkrb5_prepare_user_cred(): using krb5 cache name: FILE:/tmp/krb5cc_1000&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:DEBUG:lgss_krb5_set_ccache_name(): set cc: FILE:/tmp/krb5cc_1000&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:main(): instantiated kernel key 241b1a1b&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28653&amp;#93;&lt;/span&gt;:TRACE:main(): forked child 28654&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:lgssc_kr_negotiate(): child start on behalf of key 241b1a1b: cred 0x23e1340, uid 1000, svc 1, nid 9000000000000, uids: 1000:1000/1000:1000&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:lolnd_nid2hostname(): LOLND: addr 0x0 =&amp;gt; Blustre1&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:lgss_get_service_str(): constructed service string: lustre_mds@Blustre1&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:lgss_using_cred(): using krb5 cred 0x23e1340&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:lgssc_negotiation(): start gss negotiation&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:do_nego_rpc(): start negotiation rpc&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:do_nego_rpc(): to open /proc/fs/lustre/sptlrpc/gss/init_channel&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:do_nego_rpc(): to down-write&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:do_nego_rpc(): do_nego_rpc: to parse reply&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:do_nego_rpc(): do_nego_rpc: receive handle len 8, token len 156, res 0&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:lgssc_negotiation(): successfully negotiated a context&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:serialize_krb5_ctx(): lucid version!&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:prepare_krb5_rfc4121_buffer(): protocol 1&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:prepare_krb5_rfc4121_buffer(): serializing 3 keys with enctype 18 and size 32&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:update_kernel_key(): updating kernel key 241b1a1b&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:DEBUG:update_kernel_key(): key 241b1a1b: updated&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:INFO:lgssc_kr_negotiate(): key 241b1a1b for user 1000 is updated OK!&lt;br/&gt;
Nov  4 13:44:04 Blustre1 lgss_keyring: &lt;span class=&quot;error&quot;&gt;&amp;#91;28654&amp;#93;&lt;/span&gt;:TRACE:lgss_release_cred(): releasing krb5 cred 0x23e1340&lt;br/&gt;
Nov  4 13:44:04 Blustre1 kernel: Lustre: 28195:0:(sec_gss.c:2088:gss_svc_handle_init()) create svc ctx ffff881fce617a40: accept user 1000 from 0@lo&lt;br/&gt;
Nov  4 13:44:04 Blustre1 kernel: Lustre: 28654:0:(sec_gss.c:399:gss_cli_ctx_uptodate()) client refreshed ctx ffff881363c76780 idx 0xd2a00e187c2d0251 (1000-&amp;gt;hpcfs-MDT0000_UUID), expiry 1478324471(+86227s)&lt;/p&gt;</comment>
                            <comment id="172302" author="pjones" created="Fri, 4 Nov 2016 11:27:04 +0000"  >&lt;p&gt;Are you able to assist in further narrowing down when this regression was introduced between the 2.8.50 and 2.8.55 tags?&lt;/p&gt;</comment>
                            <comment id="172369" author="pjones" created="Fri, 4 Nov 2016 17:14:29 +0000"  >&lt;p&gt;Jeremy&lt;/p&gt;

&lt;p&gt;Do you have any suggestions here? Could this have been related to any of the SSK changes? &lt;a href=&quot;http://review.whamcloud.com/#/c/16728&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/16728&lt;/a&gt; perhaps?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="172442" author="gerrit" created="Sat, 5 Nov 2016 23:21:57 +0000"  >&lt;p&gt;Jeremy Filizetti (jeremy.filizetti@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23600&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23600&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8795&quot; title=&quot;The user cannot access lustre even if they successfully authenticate by kinit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8795&quot;&gt;&lt;del&gt;LU-8795&lt;/del&gt;&lt;/a&gt; gss: Prevent callout truncation with non-root users&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 35d09c71e7e8ce98561eb92e6f07d6d8dd166120&lt;/p&gt;</comment>
                            <comment id="172443" author="jfilizetti" created="Sat, 5 Nov 2016 23:23:51 +0000"  >&lt;p&gt;Looks like this is due to the SK changes for non-root users. sebg-crd-pm can you test the patch below to see if this fixes your issue: &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/23600&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23600&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="172454" author="sebg-crd-pm" created="Mon, 7 Nov 2016 00:50:16 +0000"  >&lt;p&gt;I have tried the patch and It works now, Thanks for every one.&lt;/p&gt;</comment>
                            <comment id="172534" author="gerrit" created="Mon, 7 Nov 2016 15:46:18 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/23600/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23600/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8795&quot; title=&quot;The user cannot access lustre even if they successfully authenticate by kinit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8795&quot;&gt;&lt;del&gt;LU-8795&lt;/del&gt;&lt;/a&gt; gss: Prevent callout truncation with non-root users&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cc5601dfbe58ee8b0a024e2f9448a6a4f53c02a8&lt;/p&gt;</comment>
                            <comment id="172613" author="pjones" created="Mon, 7 Nov 2016 20:16:17 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="41422">LU-8813</issuekey>
        </issuelink>
                            </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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>kerberos</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzyuaf:</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>