<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:30 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-7508] LBUG sending reply to GSS enabled client</title>
                <link>https://jira.whamcloud.com/browse/LU-7508</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lustre with LBUG when handling a reply to RPC which has a bad context or bad signature (due to server&apos;s target being remounted).  When GSS enabled the rq_reqmsg is NULL in this case so lustre_msg_get_opc should not be called.&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;&amp;lt;4&amp;gt;Oops: 0000 [#1] SMP
&amp;lt;4&amp;gt;last sysfs file: /sys/devices/system/cpu/possible
&amp;lt;4&amp;gt;CPU 2
&amp;lt;4&amp;gt;Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) mdd(U) mgs(U) osd_ldiskfs(U) ldiskfs(U) exportfs lquota(U) lfsck(U) jbd obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc_gss(U) sunrpc ptlrpc(U) obdclass(U) ksocklnd(U) lnet(U) sha512_generic libcfs(U) autofs4 ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr ipv6 microcode sg virtio_balloon snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc virtio_net i2c_piix4 i2c_core ext4 jbd2 mbcache sr_mod cdrom virtio_blk virtio_pci virtio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
&amp;lt;4&amp;gt;
&amp;lt;4&amp;gt;Pid: 4134, comm: mdt01_002 Not tainted 2.6.32-504.8.1.el6_lustre.x86_64 #1 Red Hat KVM
&amp;lt;4&amp;gt;RIP: 0010:[&amp;lt;ffffffffa0665c6e&amp;gt;]  [&amp;lt;ffffffffa0665c6e&amp;gt;] lustre_msg_get_opc+0xe/0x100 [ptlrpc]
&amp;lt;4&amp;gt;RSP: 0018:ffff8800cb37fca0  EFLAGS: 00010286
&amp;lt;4&amp;gt;RAX: 0000000000000000 RBX: ffff8800bcfd5c80 RCX: 0000000000000000
&amp;lt;4&amp;gt;RDX: 0000000000000122 RSI: 0000000000000000 RDI: 0000000000000000
&amp;lt;4&amp;gt;RBP: ffff8800cb37fcb0 R08: 0000000000000003 R09: 0000000000000140
&amp;lt;4&amp;gt;R10: 0000000000000240 R11: 0000000000000400 R12: 0000000000000000
&amp;lt;4&amp;gt;R13: ffff8800cb345ec0 R14: ffff8800cc32cc00 R15: 0000000000000122
&amp;lt;4&amp;gt;FS:  0000000000000000(0000) GS:ffff88002c300000(0000) knlGS:0000000000000000
&amp;lt;4&amp;gt;CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
&amp;lt;4&amp;gt;CR2: 0000000000000008 CR3: 0000000116943000 CR4: 00000000000006e0
&amp;lt;4&amp;gt;DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&amp;lt;4&amp;gt;DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&amp;lt;4&amp;gt;Process mdt01_002 (pid: 4134, threadinfo ffff8800cb37e000, task ffff8800cb37d540)
&amp;lt;4&amp;gt;Stack:
&amp;lt;4&amp;gt; 0000000000000028 ffff8800bcfd5c80 ffff8800cb37fce0 ffffffffa06279c8
&amp;lt;4&amp;gt;&amp;lt;d&amp;gt; ffff8800cb37fcd0 ffff8800b4bb6000 ffff8800bcfd5c80 ffff8800cb345ec0
&amp;lt;4&amp;gt;&amp;lt;d&amp;gt; ffff8800cb37fd50 ffffffffa0627f2e ffffffffa0921760 ffff8800cb345ec0
&amp;lt;4&amp;gt;Call Trace:
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa06279c8&amp;gt;] target_send_reply_msg+0x68/0x1f0 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa0627f2e&amp;gt;] target_send_reply+0x3de/0x710 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa06723bf&amp;gt;] ptlrpc_server_handle_req_in+0x25f/0xd10 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa0678a86&amp;gt;] ptlrpc_main+0x9d6/0x1910 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa06780b0&amp;gt;] ? ptlrpc_main+0x0/0x1910 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8109e66e&amp;gt;] kthread+0x9e/0xc0
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8100c20a&amp;gt;] child_rip+0xa/0x20
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8109e5d0&amp;gt;] ? kthread+0x0/0xc0
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
&amp;lt;4&amp;gt;Code: 24 50 48 83 c4 78 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f c9 c3 45 31 e4 e9 13 ff ff ff 90 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 00 &amp;lt;81&amp;gt; 7f 08 d3 0b d0 0b 48 89 fb 74 66 c7 05 ac 21 12 00 00 01 00
&amp;lt;1&amp;gt;RIP  [&amp;lt;ffffffffa0665c6e&amp;gt;] lustre_msg_get_opc+0xe/0x100 [ptlrpc]
&amp;lt;4&amp;gt; RSP &amp;lt;ffff8800cb37fca0&amp;gt;
&amp;lt;4&amp;gt;CR2: 0000000000000008
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I will post a patch shortly for this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="33406">LU-7508</key>
            <summary>LBUG sending reply to GSS enabled client</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="jfilizetti">Jeremy Filizetti</assignee>
                                    <reporter username="jfilizetti">Jeremy Filizetti</reporter>
                        <labels>
                            <label>SSK</label>
                            <label>kerberos</label>
                            <label>patch</label>
                    </labels>
                <created>Tue, 1 Dec 2015 19:48:24 +0000</created>
                <updated>Wed, 1 Jun 2016 22:21:34 +0000</updated>
                            <resolved>Wed, 9 Dec 2015 04:53:16 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="134911" author="gerrit" created="Tue, 1 Dec 2015 19:58:54 +0000"  >&lt;p&gt;Jeremy Filizetti (jeremy.filizetti@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17414&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17414&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7508&quot; title=&quot;LBUG sending reply to GSS enabled client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7508&quot;&gt;&lt;del&gt;LU-7508&lt;/del&gt;&lt;/a&gt; ldlm: Don&apos;t check opcode with NULL rq_reqmsg&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4fd60696fb3c3f57abed7b49655e3708c761e332&lt;/p&gt;</comment>
                            <comment id="134992" author="jhammond" created="Wed, 2 Dec 2015 16:04:55 +0000"  >&lt;p&gt;Hi Jeremy,&lt;/p&gt;

&lt;p&gt;Are you testing this with Kerberos, shared key, or other? It would be nice to add regression tests for things like this if possible.&lt;/p&gt;</comment>
                            <comment id="135002" author="jfilizetti" created="Wed, 2 Dec 2015 17:39:30 +0000"  >&lt;p&gt;All of my testing right now is on shared key.  However, this condition should be common to all GSS mechanisms.  The SECSVC_COMPLETE in ptlrpc_server_handle_req_in() can come from gss_svc_upcall_handle_init() when no init channel or context is instantiated or when gss_svc_handle_data() returns gssapi major error no context or bad signature.  In both of those cases, rq_reqmsg wasn&apos;t populated with the lustre_msg_buf at the bottom of gss_svc_handle_init() gss_svc_verify_request() respectively.&lt;/p&gt;

&lt;p&gt;I&apos;ll try to take a look at the test suite to see if I can hack together a test for this to include in the commit.&lt;/p&gt;</comment>
                            <comment id="135009" author="jhammond" created="Wed, 2 Dec 2015 19:04:28 +0000"  >&lt;p&gt;Is there a description of how to setup a shared key Lustre instance? Is &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-197&quot; title=&quot;Complete Lustre Manual updates for IU Shared Secret Key authentication and encryption&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-197&quot;&gt;&lt;del&gt;LUDOC-197&lt;/del&gt;&lt;/a&gt; up to date? It references some scripts/utilities that I can&apos;t find anywhere.&lt;/p&gt;</comment>
                            <comment id="135020" author="jfilizetti" created="Wed, 2 Dec 2015 19:53:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-197&quot; title=&quot;Complete Lustre Manual updates for IU Shared Secret Key authentication and encryption&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-197&quot;&gt;&lt;del&gt;LUDOC-197&lt;/del&gt;&lt;/a&gt; should be the most accurate reference.  The code has not been pushed yet.  Part of why we pushed the doc early was to make sure there were no usability issues with how something would work so it could be fixed before pushing the code.  Right now the last thing I need to do before pushing the code is to simplify handling for the MGS keys.  I expect to have that completed at least by the weekend.&lt;/p&gt;</comment>
                            <comment id="135620" author="gerrit" created="Wed, 9 Dec 2015 02:26:54 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17414/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17414/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7508&quot; title=&quot;LBUG sending reply to GSS enabled client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7508&quot;&gt;&lt;del&gt;LU-7508&lt;/del&gt;&lt;/a&gt; ldlm: Don&apos;t check opcode with NULL rq_reqmsg&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3f4572caef5f25f4a9b5347b2ccf933fdad9db9c&lt;/p&gt;</comment>
                            <comment id="135632" author="pjones" created="Wed, 9 Dec 2015 04:53:16 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="18738">LU-3289</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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>gss</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxunz:</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>