<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:33 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-5218] Interop 2.5.1&lt;-&gt;2.6 failure on test suite lustre-rsync-test test_1: ASSERTION( index &gt;= 0 &amp;&amp; index &lt; LLOG_MAX_CTXTS ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-5218</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;http://maloo.whamcloud.com/test_sets/c22bdcb4-f4ba-11e3-ae09-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/c22bdcb4-f4ba-11e3-ae09-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_1 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;MDS console&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;19:05:56:Lustre: DEBUG MARKER: == lustre-rsync-test test 1: Simple Replication == 19:05:44 (1402797944)
19:05:56:Lustre: DEBUG MARKER: lctl --device lustre-MDT0000 changelog_register -n
19:05:56:Lustre: lustre-MDD0000: changelog on
19:05:56:Lustre: DEBUG MARKER: lctl get_param -n mdd.lustre-MDT0000.changelog_users
19:05:56:Lustre: DEBUG MARKER: dumpe2fs -h /dev/lvm-Role_MDS/P1 2&amp;gt;&amp;amp;1 |
19:05:56:		grep -E -q &apos;(ea_inode|large_xattr)&apos;
19:05:56:Lustre: DEBUG MARKER: dumpe2fs -h /dev/lvm-Role_MDS/P1 2&amp;gt;&amp;amp;1
19:05:56:Lustre: DEBUG MARKER: dumpe2fs -h /dev/lvm-Role_MDS/P1 2&amp;gt;&amp;amp;1 |
19:05:56:		grep -E -q &apos;(ea_inode|large_xattr)&apos;
19:05:56:LustreError: 8689:0:(lustre_log.h:440:llog_group_get_ctxt()) ASSERTION( index &amp;gt;= 0 &amp;amp;&amp;amp; index &amp;lt; LLOG_MAX_CTXTS ) failed: 
19:05:56:LustreError: 8689:0:(lustre_log.h:440:llog_group_get_ctxt()) LBUG
19:05:56:Pid: 8689, comm: mdt00_000
19:05:56:
19:05:56:Call Trace:
19:05:56: [&amp;lt;ffffffffa048e895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
19:05:56: [&amp;lt;ffffffffa048ee97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
19:05:56: [&amp;lt;ffffffffa0849868&amp;gt;] llog_origin_handle_open+0x668/0x670 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa088db35&amp;gt;] tgt_llog_open+0x35/0xd0 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa08942cc&amp;gt;] tgt_request_handle+0x23c/0xac0 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa0843d3a&amp;gt;] ptlrpc_main+0xd1a/0x1980 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa0843020&amp;gt;] ? ptlrpc_main+0x0/0x1980 [ptlrpc]
19:05:56: [&amp;lt;ffffffff8109ab56&amp;gt;] kthread+0x96/0xa0
19:05:56: [&amp;lt;ffffffff8100c20a&amp;gt;] child_rip+0xa/0x20
19:05:56: [&amp;lt;ffffffff8109aac0&amp;gt;] ? kthread+0x0/0xa0
19:05:56: [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
19:05:56:
19:05:56:Kernel panic - not syncing: LBUG
19:05:56:Pid: 8689, comm: mdt00_000 Not tainted 2.6.32-431.17.1.el6_lustre.g8d5344f.x86_64 #1
19:05:56:Call Trace:
19:05:56: [&amp;lt;ffffffff8152795f&amp;gt;] ? panic+0xa7/0x16f
19:05:56: [&amp;lt;ffffffffa048eeeb&amp;gt;] ? lbug_with_loc+0x9b/0xb0 [libcfs]
19:05:56: [&amp;lt;ffffffffa0849868&amp;gt;] ? llog_origin_handle_open+0x668/0x670 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa088db35&amp;gt;] ? tgt_llog_open+0x35/0xd0 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa08942cc&amp;gt;] ? tgt_request_handle+0x23c/0xac0 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa0843d3a&amp;gt;] ? ptlrpc_main+0xd1a/0x1980 [ptlrpc]
19:05:56: [&amp;lt;ffffffffa0843020&amp;gt;] ? ptlrpc_main+0x0/0x1980 [ptlrpc]
19:05:56: [&amp;lt;ffffffff8109ab56&amp;gt;] ? kthread+0x96/0xa0
19:05:56: [&amp;lt;ffffffff8100c20a&amp;gt;] ? child_rip+0xa/0x20
19:05:56: [&amp;lt;ffffffff8109aac0&amp;gt;] ? kthread+0x0/0xa0
19:05:56: [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
19:05:56:Initializing cgroup subsys cpuset
19:05:56:Initializing cgroup subsys cpu
19:05:56:Linux version 2.6.32-431.17.1.el6_lustre.g8d5344f.x86_64 (jenkins@builder-2-
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>server: lustre-master build # 2901&lt;br/&gt;
client: 2.5.1</environment>
        <key id="25194">LU-5218</key>
            <summary>Interop 2.5.1&lt;-&gt;2.6 failure on test suite lustre-rsync-test test_1: ASSERTION( index &gt;= 0 &amp;&amp; index &lt; LLOG_MAX_CTXTS ) failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>HB</label>
                    </labels>
                <created>Wed, 18 Jun 2014 00:58:02 +0000</created>
                <updated>Wed, 25 Jun 2014 17:44:12 +0000</updated>
                            <resolved>Wed, 25 Jun 2014 17:43:27 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="86969" author="green" created="Wed, 18 Jun 2014 19:50:34 +0000"  >&lt;p&gt;With new crashdumps feature now available for maloo runs, please also check that this crashdump is available and also use it to see what index value is I guess.&lt;/p&gt;</comment>
                            <comment id="87078" author="tappro" created="Thu, 19 Jun 2014 19:15:04 +0000"  >&lt;p&gt;this is related to commit 14d162c5438de959d0ea01fb1b40a7c5dfa764d1&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;@@ -208,15 +204,9 @@ &lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt; llog_ctxt_id {
        LLOG_CONFIG_ORIG_CTXT  =  0,
        LLOG_CONFIG_REPL_CTXT,
        LLOG_MDS_OST_ORIG_CTXT,
-       LLOG_MDS_OST_REPL_CTXT,
        LLOG_SIZE_ORIG_CTXT,
        LLOG_SIZE_REPL_CTXT,
-       LLOG_RD1_ORIG_CTXT,
-       LLOG_RD1_REPL_CTXT,
        LLOG_TEST_ORIG_CTXT,
-       LLOG_TEST_REPL_CTXT,
-       LLOG_LOVEA_ORIG_CTXT,
-       LLOG_LOVEA_REPL_CTXT,
        LLOG_CHANGELOG_ORIG_CTXT,       &lt;span class=&quot;code-comment&quot;&gt;/**&amp;lt; changelog generation on mdd */&lt;/span&gt;
        LLOG_CHANGELOG_REPL_CTXT,       &lt;span class=&quot;code-comment&quot;&gt;/**&amp;lt; changelog access on clients */&lt;/span&gt;
        LLOG_CHANGELOG_USER_ORIG_CTXT,  &lt;span class=&quot;code-comment&quot;&gt;/**&amp;lt; &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; multiple changelog consumers */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;some entries were removed from enum, so all llog context names have new values since that moment and incompatible with all pre-commit Lustre versions. This is critical for change log and HSM agents in old versions. I am not sure what would be better fix - to assign old numbers to the entries or to have two tables and use one or another depending on connected client version.&lt;/p&gt;</comment>
                            <comment id="87084" author="tappro" created="Thu, 19 Jun 2014 20:07:12 +0000"  >&lt;p&gt;the patch is here - &lt;a href=&quot;http://review.whamcloud.com/10758&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10758&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ve just reverted things back, add comments and check for context index from wire. &lt;/p&gt;</comment>
                            <comment id="87088" author="adilger" created="Thu, 19 Jun 2014 20:15:55 +0000"  >&lt;p&gt;What a gigantic mess. It surprises me that these &lt;tt&gt;llog_ctxt_id&lt;/tt&gt; values have been in the network protocol since ancient times, but they are not declared in lustre_idl.h, and are not checked in wirecheck/wiretest.  What is the point of calling &lt;tt&gt;llog_open(..., name = CHANGELOG_CATALOG, ...)&lt;/tt&gt; if it is passing &lt;tt&gt;body-&amp;gt;lgd_ctxt_idx = LLOG_CHANGELOG_REPL_CTXT&lt;/tt&gt; and using that to open the log?&lt;/p&gt;

&lt;p&gt;For the 2.6 release I think we don&apos;t have any option except to move &lt;tt&gt;enum llog_ctxt_idx&lt;/tt&gt; into lustre_idl.h and assign the specific (old) values to each of the remaining &lt;tt&gt;LLOG_.*&amp;#95;CTXT&lt;/tt&gt; values.  They should be added to wirecheck/wiretest on b2_5.  It looks like in ancient times on HEAD these values were specifically assigned since commit d2d56f38, but these values were removed by a patch from you &amp;amp; Shadow in commit c9842fdc (some time in 1.6 via &lt;a href=&quot;https://bugzilla.lustre.org/show_bug.cgi?id=13821&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugzilla.lustre.org/show_bug.cgi?id=13821&lt;/a&gt;) and that removed the &lt;tt&gt;LLOG&amp;#95;MD&amp;#95;{ORIG,REPL}&amp;#95;CTXT&lt;/tt&gt; values and the explicit assignments, so the resulting values changed.  Even worse, the c9842fdc patch changed the values after &lt;tt&gt;LLOG_MD_ORIG_CTXT&lt;/tt&gt; to be different on master and b1_8 (where the enum llog_ctxt_idx still has explicit values assigned).  Fortunately, b1_8 does not have any HSM support, and we do not use &lt;tt&gt;LLOG_TEST_{ORIG,REPL}&amp;#95;CTXT&lt;/tt&gt; over the network so the fact that the assigned values at the high end are different does not impact anything.&lt;/p&gt;

&lt;p&gt;I think the correct assignments today should be:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt; llog_ctxt_id {
        LLOG_CONFIG_ORIG_CTXT  =  0,
        LLOG_CONFIG_REPL_CTXT  =  1,
        LLOG_MDS_OST_ORIG_CTXT =  2,
        LLOG_MDS_OST_REPL_CTXT =  3,
        LLOG_SIZE_ORIG_CTXT    =  4,
        LLOG_SIZE_REPL_CTXT    =  5,
        LLOG_TEST_ORIG_CTXT    = 8,
        LLOG_TEST_REPL_CTXT    = 9,
        LLOG_CHANGELOG_ORIG_CTXT = 12,      &lt;span class=&quot;code-comment&quot;&gt;/**&amp;lt; changelog generation on mdd */&lt;/span&gt;
        LLOG_CHANGELOG_REPL_CTXT = 13,      &lt;span class=&quot;code-comment&quot;&gt;/**&amp;lt; changelog access on clients */&lt;/span&gt;
        LLOG_CHANGELOG_USER_ORIG_CTXT = 14, &lt;span class=&quot;code-comment&quot;&gt;/**&amp;lt; &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; multiple changelog consumers */&lt;/span&gt;
        LLOG_AGENT_ORIG_CTXT = 15,           &lt;span class=&quot;code-comment&quot;&gt;/**&amp;lt; agent requests generation on cdt */&lt;/span&gt;
        LLOG_MAX_CTXTS
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There should be a big comment explaining this and referencing this LU ticket.  The LASSERT() should be avoided by &lt;tt&gt;llog_origin_handle_open()&lt;/tt&gt; checking the value of &lt;tt&gt;body-&amp;gt;lgh_ctxt_idx&lt;/tt&gt; is valid before calling &lt;tt&gt;llog_get_context()&lt;/tt&gt;, and return &lt;tt&gt;-EPROTO&lt;/tt&gt; if it is bad.&lt;/p&gt;</comment>
                            <comment id="87208" author="adilger" created="Fri, 20 Jun 2014 20:33:34 +0000"  >&lt;p&gt;Moved this to be a blocker because without this patch HSM interoperability between the MDS and archive clients will be broken.&lt;/p&gt;</comment>
                            <comment id="87248" author="green" created="Sun, 22 Jun 2014 23:59:38 +0000"  >&lt;p&gt;In addition to the proposed patch - we need another patch to fix the assertion on network data, I think.&lt;/p&gt;</comment>
                            <comment id="87400" author="tappro" created="Tue, 24 Jun 2014 18:47:29 +0000"  >&lt;p&gt;Oleg, what assertion do you mean?&lt;/p&gt;</comment>
                            <comment id="87508" author="green" created="Wed, 25 Jun 2014 17:42:48 +0000"  >&lt;p&gt;The assertion that was reported initially here, about hte index being out of range.&lt;/p&gt;</comment>
                            <comment id="87509" author="jlevi" created="Wed, 25 Jun 2014 17:43:27 +0000"  >&lt;p&gt;Patch landed to Master.&lt;/p&gt;</comment>
                            <comment id="87511" author="adilger" created="Wed, 25 Jun 2014 17:44:12 +0000"  >&lt;p&gt;The original LASSERT() cannot be hit with the patch that was landed. The code checks that the requested context is valid before calling down into the code. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="25314">LU-5257</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="25212">LU-5230</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|hzwpaf:</customfieldvalue>

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