<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:16:19 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-8297] mount with missing key leads to leaked MGC device and LBUG</title>
                <link>https://jira.whamcloud.com/browse/LU-8297</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Mounting a kerberized Lustre FS but with the needed &lt;tt&gt;lustre_root&lt;/tt&gt; key not installed on the client (e3) leak a partially initialized MGC device:&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;e3:~# LOAD=1 /usr/lib64/lustre/tests/llmount.sh
...
e3:~# lctl set_param debug=&apos;+mount sec trace&apos;
debug=+mount sec trace
error: set_param: setting /proc/sys/lnet/debug=+mount sec trace: Invalid argument
e3:~# lctl set_param debug=&apos;+sec trace&apos;
debug=+sec trace
e3:~# lctl set_param debug_mb=64
debug_mb=64
e3:~# lctl clear; mount e1@tcp:/lustre /mnt/lustre -t lustre -o user_xattr,flock,mgssec=krb5p; lctl dk &amp;gt; mount.dk
mount.lustre: mount e1@tcp:/lustre at /mnt/lustre failed: Connection refused
e3:~# lctl dl
  0 UP mgc MGC192.168.122.181@tcp 93abf5fe-744b-364d-3106-e11ed3e6c2ca 4
e3:~# mount e1@tcp:/lustre /mnt/lustre -t lustre -o user_xattr,flock,mgssec=krb5p

Message from syslogd@e3 at Jun 13 13:00:22 ...
 kernel:LustreError: 4678:0:(import.c:553:import_select_connection()) ASSERTION( dlmexp != ((void *)0) ) failed:

Message from syslogd@e3 at Jun 13 13:00:22 ...
 kernel:LustreError: 4678:0:(import.c:553:import_select_connection()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;[ 3061.041621] LustreError: 4518:0:(gss_keyring.c:791:gss_sec_lookup_ctx_kr()) failed request key: -126
[ 3061.044555] LustreError: 4518:0:(sec.c:440:sptlrpc_req_get_ctx()) req ffff8800365d4000: fail to get context
[ 3061.047399] LustreError: 4518:0:(obd_mount.c:467:lustre_start_mgc()) connect failed -111
[ 3061.049724] LustreError: 4518:0:(obd_mount.c:1342:lustre_fill_super()) Unable to mount  (-111)
[ 3132.373912] LustreError: 4678:0:(import.c:553:import_select_connection()) ASSERTION( dlmexp != ((void *)0) ) failed: 
[ 3132.377365] LustreError: 4678:0:(import.c:553:import_select_connection()) LBUG
[ 3132.379678] Pid: 4678, comm: mount.lustre
[ 3132.379717] 
Call Trace:
[ 3132.379755]  [&amp;lt;ffffffffa04e1853&amp;gt;] libcfs_debug_dumpstack+0x53/0x80 [libcfs]
[ 3132.379765]  [&amp;lt;ffffffffa04e1df5&amp;gt;] lbug_with_loc+0x45/0xc0 [libcfs]
[ 3132.379806]  [&amp;lt;ffffffffa08a7c3d&amp;gt;] ptlrpc_connect_import+0x133d/0x1380 [ptlrpc]
[ 3132.379834]  [&amp;lt;ffffffffa0882258&amp;gt;] ptlrpc_recover_import+0x258/0x550 [ptlrpc]
[ 3132.379863]  [&amp;lt;ffffffffa089d8e8&amp;gt;] ? ptlrpc_pinger_ir_up+0x78/0x90 [ptlrpc]
[ 3132.379868]  [&amp;lt;ffffffffa09d38ce&amp;gt;] ? mgc_import_event+0x10e/0x2c0 [mgc]
[ 3132.379895]  [&amp;lt;ffffffffa08aae48&amp;gt;] ptlrpc_reconnect_import+0x78/0x1e0 [ptlrpc]
[ 3132.379908]  [&amp;lt;ffffffffa04f2167&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[ 3132.379913]  [&amp;lt;ffffffffa09d992a&amp;gt;] mgc_set_info_async+0x6ea/0x1620 [mgc]
[ 3132.379923]  [&amp;lt;ffffffffa04f2167&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[ 3132.379957]  [&amp;lt;ffffffffa0671370&amp;gt;] lustre_start_mgc+0x1570/0x2a90 [obdclass]
[ 3132.379980]  [&amp;lt;ffffffffa0673266&amp;gt;] lustre_fill_super+0x246/0xb80 [obdclass]
[ 3132.380000]  [&amp;lt;ffffffffa0673020&amp;gt;] ? lustre_fill_super+0x0/0xb80 [obdclass]
[ 3132.380027]  [&amp;lt;ffffffff811e1ded&amp;gt;] mount_nodev+0x4d/0xb0
[ 3132.380048]  [&amp;lt;ffffffffa06695e8&amp;gt;] lustre_mount+0x38/0x60 [obdclass]
[ 3132.380052]  [&amp;lt;ffffffff811e2799&amp;gt;] mount_fs+0x39/0x1b0
[ 3132.380056]  [&amp;lt;ffffffff811fe05f&amp;gt;] vfs_kern_mount+0x5f/0xf0
[ 3132.380059]  [&amp;lt;ffffffff812005ae&amp;gt;] do_mount+0x24e/0xa40
[ 3132.380063]  [&amp;lt;ffffffff8116dffe&amp;gt;] ? __get_free_pages+0xe/0x50
[ 3132.380067]  [&amp;lt;ffffffff81200e36&amp;gt;] SyS_mount+0x96/0xf0
[ 3132.380072]  [&amp;lt;ffffffff81645ec9&amp;gt;] system_call_fastpath+0x16/0x1b
[ 3132.380073] 
[ 3132.380345] Kernel panic - not syncing: LBUG
[ 3132.381034] CPU: 0 PID: 4678 Comm: mount.lustre Tainted: G           OE  ------------   3.10.0-327.13.1.el7.x86_64 #1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="37566">LU-8297</key>
            <summary>mount with missing key leads to leaked MGC device and LBUG</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Jun 2016 18:08:09 +0000</created>
                <updated>Tue, 26 Jul 2016 19:48:24 +0000</updated>
                            <resolved>Tue, 26 Jul 2016 19:48:24 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="156044" author="gerrit" created="Fri, 17 Jun 2016 14:23:11 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20851&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20851&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8297&quot; title=&quot;mount with missing key leads to leaked MGC device and LBUG&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8297&quot;&gt;&lt;del&gt;LU-8297&lt;/del&gt;&lt;/a&gt; obd: release MGC device if connect fails&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 33b7da4d7a9f38a3807ae489e7f8a5d17369c415&lt;/p&gt;</comment>
                            <comment id="159352" author="gerrit" created="Wed, 20 Jul 2016 17:43:15 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/20851/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20851/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8297&quot; title=&quot;mount with missing key leads to leaked MGC device and LBUG&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8297&quot;&gt;&lt;del&gt;LU-8297&lt;/del&gt;&lt;/a&gt; obd: release MGC device if connect fails&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: fb5a79bf1e060a753a2e32e9a7b1f03fa4915ee2&lt;/p&gt;</comment>
                            <comment id="159965" author="jgmitter" created="Tue, 26 Jul 2016 19:48:24 +0000"  >&lt;p&gt;Landed to master for 2.9.0&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="21852" name="mount.dk" size="31298" author="jhammond" created="Mon, 13 Jun 2016 18:08:09 +0000"/>
                    </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|hzyejb:</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>