<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:23:36 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-2246] failure on sanity.sh test_132: ASSERTION( env-&gt;le_ses != ((void *)0) ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-2246</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for sarah &amp;lt;sarah@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/34cdc80e-21c2-11e2-b552-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/34cdc80e-21c2-11e2-b552-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_132 failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;test failed to respond and timed out&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;From MDS 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;00:20:08:Lustre: lustre-MDT0000: haven&apos;t heard from client 5be596f3-4c31-36f1-0f15-cf978ff44af7 (at 192.168.4.23@o2ib) in 55 seconds. I think it&apos;s dead, and I am evicting it. exp ffff88030ddd2000, cur 1351495207 expire 1351495177 last 1351495152
00:20:08:LustreError: 25221:0:(mdd_device.c:1426:md_ucred()) ASSERTION( env-&amp;gt;le_ses != ((void *)0) ) failed: 
00:20:08:LustreError: 25221:0:(mdd_device.c:1426:md_ucred()) LBUG
00:20:08:Pid: 25221, comm: ll_evictor
00:20:08:
00:20:08:Call Trace:
00:20:08: [&amp;lt;ffffffffa03f2905&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
00:20:08: [&amp;lt;ffffffffa03f2f17&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
00:20:08: [&amp;lt;ffffffffa0be7c2c&amp;gt;] md_ucred+0x5c/0x60 [mdd]
00:20:08: [&amp;lt;ffffffffa0bd03a6&amp;gt;] mdd_xattr_sanity_check+0x36/0x1f0 [mdd]
00:20:08: [&amp;lt;ffffffffa0bd71db&amp;gt;] mdd_xattr_set+0x17b/0x620 [mdd]
00:20:08: [&amp;lt;ffffffffa0bf0426&amp;gt;] ? mdd_read_unlock+0x26/0x30 [mdd]
00:20:08: [&amp;lt;ffffffffa0bd513b&amp;gt;] ? mdd_xattr_get+0x13b/0x340 [mdd]
00:20:08: [&amp;lt;ffffffffa0c4de73&amp;gt;] mdt_som_attr_set+0x1b3/0x440 [mdt]
00:20:08: [&amp;lt;ffffffffa0c4e24c&amp;gt;] mdt_ioepoch_close_on_eviction+0x14c/0x170 [mdt]
00:20:08: [&amp;lt;ffffffffa0f48e89&amp;gt;] ? osd_key_init+0x119/0x680 [osd_ldiskfs]
00:20:08: [&amp;lt;ffffffffa0c4eccb&amp;gt;] mdt_ioepoch_close+0x2ab/0x3d0 [mdt]
00:20:08: [&amp;lt;ffffffffa0c4f272&amp;gt;] mdt_mfd_close+0x482/0x700 [mdt]
00:20:08: [&amp;lt;ffffffffa0c1e01e&amp;gt;] mdt_obd_disconnect+0x3ae/0x4f0 [mdt]
00:20:08: [&amp;lt;ffffffffa056ed88&amp;gt;] class_fail_export+0x248/0x580 [obdclass]
00:20:08: [&amp;lt;ffffffffa0765e69&amp;gt;] ping_evictor_main+0x249/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffff81060250&amp;gt;] ? default_wake_function+0x0/0x20
00:20:08: [&amp;lt;ffffffffa0765c20&amp;gt;] ? ping_evictor_main+0x0/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffff8100c14a&amp;gt;] child_rip+0xa/0x20
00:20:08: [&amp;lt;ffffffffa0765c20&amp;gt;] ? ping_evictor_main+0x0/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffffa0765c20&amp;gt;] ? ping_evictor_main+0x0/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffff8100c140&amp;gt;] ? child_rip+0x0/0x20
00:20:08:
00:20:08:Kernel panic - not syncing: LBUG
00:20:08:Pid: 25221, comm: ll_evictor Not tainted 2.6.32-279.5.1.el6_lustre.x86_64 #1
00:20:08:Call Trace:
00:20:08: [&amp;lt;ffffffff814fd58a&amp;gt;] ? panic+0xa0/0x168
00:20:08: [&amp;lt;ffffffffa03f2f6b&amp;gt;] ? lbug_with_loc+0x9b/0xb0 [libcfs]
00:20:08: [&amp;lt;ffffffffa0be7c2c&amp;gt;] ? md_ucred+0x5c/0x60 [mdd]
00:20:08: [&amp;lt;ffffffffa0bd03a6&amp;gt;] ? mdd_xattr_sanity_check+0x36/0x1f0 [mdd]
00:20:08: [&amp;lt;ffffffffa0bd71db&amp;gt;] ? mdd_xattr_set+0x17b/0x620 [mdd]
00:20:08: [&amp;lt;ffffffffa0bf0426&amp;gt;] ? mdd_read_unlock+0x26/0x30 [mdd]
00:20:08: [&amp;lt;ffffffffa0bd513b&amp;gt;] ? mdd_xattr_get+0x13b/0x340 [mdd]
00:20:08: [&amp;lt;ffffffffa0c4de73&amp;gt;] ? mdt_som_attr_set+0x1b3/0x440 [mdt]
00:20:08: [&amp;lt;ffffffffa0c4e24c&amp;gt;] ? mdt_ioepoch_close_on_eviction+0x14c/0x170 [mdt]
00:20:08: [&amp;lt;ffffffffa0f48e89&amp;gt;] ? osd_key_init+0x119/0x680 [osd_ldiskfs]
00:20:08: [&amp;lt;ffffffffa0c4eccb&amp;gt;] ? mdt_ioepoch_close+0x2ab/0x3d0 [mdt]
00:20:08: [&amp;lt;ffffffffa0c4f272&amp;gt;] ? mdt_mfd_close+0x482/0x700 [mdt]
00:20:08: [&amp;lt;ffffffffa0c1e01e&amp;gt;] ? mdt_obd_disconnect+0x3ae/0x4f0 [mdt]
00:20:08: [&amp;lt;ffffffffa056ed88&amp;gt;] ? class_fail_export+0x248/0x580 [obdclass]
00:20:08: [&amp;lt;ffffffffa0765e69&amp;gt;] ? ping_evictor_main+0x249/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffff81060250&amp;gt;] ? default_wake_function+0x0/0x20
00:20:08: [&amp;lt;ffffffffa0765c20&amp;gt;] ? ping_evictor_main+0x0/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffff8100c14a&amp;gt;] ? child_rip+0xa/0x20
00:20:08: [&amp;lt;ffffffffa0765c20&amp;gt;] ? ping_evictor_main+0x0/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffffa0765c20&amp;gt;] ? ping_evictor_main+0x0/0x640 [ptlrpc]
00:20:08: [&amp;lt;ffffffff8100c140&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Both server and client are RHEL6</environment>
        <key id="16454">LU-2246</key>
            <summary>failure on sanity.sh test_132: ASSERTION( env-&gt;le_ses != ((void *)0) ) failed</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="hongchao.zhang">Hongchao Zhang</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Oct 2012 13:50:58 +0000</created>
                <updated>Thu, 7 Jan 2016 23:44:28 +0000</updated>
                            <resolved>Thu, 7 Jan 2016 23:44:28 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="47570" author="hongchao.zhang" created="Thu, 8 Nov 2012 04:27:58 +0000"  >&lt;p&gt;this issue is related to SOM, and it can be reproduced easily, it will occur if a client is evicted while SOM is enabled,&lt;br/&gt;
for ping_evictor threads have no lu_context &quot;le_ses&quot;, which is designed for per-request.&lt;/p&gt;

&lt;p&gt;in this case, the client encountered ASSERTION of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1527&quot; title=&quot;Assertion at: (cl_lock.c:2211:cl_lock_hold_add()) ASSERTION( lock-&amp;gt;cll_state != CLS_FREEING )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1527&quot;&gt;&lt;del&gt;LU-1527&lt;/del&gt;&lt;/a&gt; in test_132 and was evicted by MDT, which caused this ASSERTION.&lt;/p&gt;</comment>
                            <comment id="47633" author="hongchao.zhang" created="Fri, 9 Nov 2012 06:18:35 +0000"  >&lt;p&gt;the initial patch is under test and will be attached soon&lt;/p&gt;</comment>
                            <comment id="47677" author="hongchao.zhang" created="Mon, 12 Nov 2012 07:20:57 +0000"  >&lt;p&gt;the patch is tracked at &lt;a href=&quot;http://review.whamcloud.com/#change,4512&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,4512&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;this problem is related to SOM, which is not a mature feature, and the patch fixes some bugs in SOM, &lt;br/&gt;
here are some notes about the issues fixed by the patch,&lt;/p&gt;

&lt;p&gt;1, the lu_env could not contain lu_context related to specific request (lu_env-&amp;gt;le_ses), say, for eviction case,&lt;br/&gt;
   then the operations related to SOM should take it into account.&lt;br/&gt;
2, the AU (ll_som_update) rpc call could encounter an destroyed object(marked with LU_OBJECT_HEARD_BANSHEE) for the object&lt;br/&gt;
   was unlinked/closed but the a mfd is still held in MDT to wait the AU rpc, which cause deadlock for the AU rpc can&apos;t&lt;br/&gt;
   get the object by lu_object_find_at for it was marked as dead object.&lt;/p&gt;

&lt;p&gt;this issue can be dropped as a blocker, for it is caused by blocker &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1527&quot; title=&quot;Assertion at: (cl_lock.c:2211:cl_lock_hold_add()) ASSERTION( lock-&amp;gt;cll_state != CLS_FREEING )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1527&quot;&gt;&lt;del&gt;LU-1527&lt;/del&gt;&lt;/a&gt; and it is only related to unstable SOM feature&lt;/p&gt;</comment>
                            <comment id="48947" author="hongchao.zhang" created="Sun, 9 Dec 2012 09:45:35 +0000"  >&lt;p&gt;the patch is updated again, and it tries to fix the following problems related to SOM, the ASSERTION issue&lt;br/&gt;
&quot;env-&amp;gt;le_ses != ((void *)0))&quot; will be fixed by &lt;a href=&quot;http://review.whamcloud.com/2733&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2733&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;1, if there is no LSM, ll_som_update won&apos;t need to update SOM attributes on MDS (test_206 in sanity.sh)&lt;/p&gt;

&lt;p&gt;2, if the file isn&apos;t a regular one, ll_setattr_raw should not open the file (MF_EPOCH_OPEN), for it will leave the set_attr&lt;br/&gt;
   request and the corresponding obd_import &amp;amp; obd_device won&apos;t be released (there are several MDC obd_device with ST state)&lt;/p&gt;

&lt;p&gt;3, mdt_som_au_close could be called during eviction, then there is no ptlrpc_request with it.&lt;/p&gt;

&lt;p&gt;4, during closing a file, MDT should not require the client to send AU if the file has been unlinked.&lt;/p&gt;</comment>
                            <comment id="138268" author="jfc" created="Thu, 7 Jan 2016 23:44:28 +0000"  >&lt;p&gt;Patch was merged.&lt;br/&gt;
~ jfc.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="14422">LU-1403</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="15974">LU-1942</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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvazz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5318</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>