<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:20:52 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-8824] sanity-sec test_9: ASSERTION( config-&gt;nmc_default_nodemap )</title>
                <link>https://jira.whamcloud.com/browse/LU-8824</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Nathaniel Clark &amp;lt;nathaniel.l.clark@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/abdb13dc-a627-11e6-964e-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/abdb13dc-a627-11e6-964e-5254006e85c2&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_9 failed with the following error:&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;trevis-34vm4:LBUG/LASSERT detected
&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;02:04:11:[15785.994958] Lustre: DEBUG MARKER: == sanity-sec test 9: nodemap range add ============================================================== 02:02:49 (1478656969)
02:04:11:[15792.826885] Lustre: 10421:0:(nodemap_handler.c:1020:nodemap_create()) adding nodemap &apos;27295_7&apos; to config without default nodemap
02:04:11:[15792.830823] Lustre: 10421:0:(nodemap_handler.c:1020:nodemap_create()) Skipped 3 previous similar messages
02:04:11:[15800.705743] Lustre: 10421:0:(mgc_request.c:1756:mgc_process_recover_nodemap_log()) MGC10.9.5.176@tcp: error processing nodemap log nodemap: rc = -2
02:04:11:[15800.709914] LustreError: 10421:0:(nodemap_handler.c:1428:nodemap_config_set_active()) ASSERTION( config-&amp;gt;nmc_default_nodemap ) failed: 
02:04:11:[15800.714076] LustreError: 10421:0:(nodemap_handler.c:1428:nodemap_config_set_active()) LBUG
02:04:11:[15800.716317] Pid: 10421, comm: ll_cfg_requeue
02:04:11:[15800.718308] 
02:04:11:[15800.718308] Call Trace:
02:04:11:[15800.721741]  [&amp;lt;ffffffffa09387d3&amp;gt;] libcfs_debug_dumpstack+0x53/0x80 [libcfs]
02:04:11:[15800.723818]  [&amp;lt;ffffffffa0938d75&amp;gt;] lbug_with_loc+0x45/0xc0 [libcfs]
02:04:11:[15800.725837]  [&amp;lt;ffffffffa0d34a17&amp;gt;] nodemap_config_set_active+0x2a7/0x2e0 [ptlrpc]
02:04:11:[15800.727873]  [&amp;lt;ffffffffa0d3d908&amp;gt;] nodemap_config_set_active_mgc+0x38/0x1e0 [ptlrpc]
02:04:11:[15800.729985]  [&amp;lt;ffffffffa0ca28f0&amp;gt;] ? ptlrpc_request_cache_free+0x90/0x1d0 [ptlrpc]
02:04:11:[15800.732071]  [&amp;lt;ffffffffa0ca35d5&amp;gt;] ? __ptlrpc_req_finished+0x475/0x690 [ptlrpc]
02:04:11:[15800.734162]  [&amp;lt;ffffffffa0c43e6b&amp;gt;] mgc_process_recover_nodemap_log+0x34b/0xe10 [mgc]
02:04:11:[15800.736195]  [&amp;lt;ffffffffa0c46894&amp;gt;] mgc_process_log+0x754/0x880 [mgc]
02:04:11:[15800.738132]  [&amp;lt;ffffffff816399cd&amp;gt;] ? schedule_timeout+0x17d/0x2d0
02:04:11:[15800.740126]  [&amp;lt;ffffffffa09439d7&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
02:04:11:[15800.742013]  [&amp;lt;ffffffffa0c48908&amp;gt;] mgc_requeue_thread+0x2b8/0x880 [mgc]
02:04:11:[15800.744113]  [&amp;lt;ffffffff810b8940&amp;gt;] ? default_wake_function+0x0/0x20
02:04:11:[15800.746313]  [&amp;lt;ffffffffa0c48650&amp;gt;] ? mgc_requeue_thread+0x0/0x880 [mgc]
02:04:11:[15800.748437]  [&amp;lt;ffffffff810a5b8f&amp;gt;] kthread+0xcf/0xe0
02:04:11:[15800.750331]  [&amp;lt;ffffffff810a5ac0&amp;gt;] ? kthread+0x0/0xe0
02:04:11:[15800.752203]  [&amp;lt;ffffffff81646c98&amp;gt;] ret_from_fork+0x58/0x90
02:04:11:[15800.754097]  [&amp;lt;ffffffff810a5ac0&amp;gt;] ? kthread+0x0/0xe0
02:04:11:[15800.755897] 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Please provide additional information about the failure here.&lt;/p&gt;

&lt;p&gt;Info required for matching: sanity-sec 9&lt;/p&gt;</description>
                <environment></environment>
        <key id="41476">LU-8824</key>
            <summary>sanity-sec test_9: ASSERTION( config-&gt;nmc_default_nodemap )</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="kit.westneat">Kit Westneat</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Nov 2016 19:37:34 +0000</created>
                <updated>Tue, 6 Jul 2021 19:01:40 +0000</updated>
                            <resolved>Wed, 23 Nov 2016 04:50:52 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="173186" author="utopiabound" created="Thu, 10 Nov 2016 20:10:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/b06c944a-9a63-11e6-a5e5-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/b06c944a-9a63-11e6-a5e5-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="173190" author="utopiabound" created="Thu, 10 Nov 2016 20:27:10 +0000"  >&lt;p&gt;Uncaught failures in past 4 weeks (console log of OST vm shows LBUG):&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/969f1d60-9a60-11e6-a546-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/969f1d60-9a60-11e6-a546-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/sub_tests/d0606342-93df-11e6-91aa-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/sub_tests/d0606342-93df-11e6-91aa-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/sub_tests/ff975cc6-9ed7-11e6-b8c4-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/sub_tests/ff975cc6-9ed7-11e6-b8c4-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/sub_tests/b3b42986-9f06-11e6-a747-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/sub_tests/b3b42986-9f06-11e6-a747-5254006e85c2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/sub_tests/619feb44-a63b-11e6-bf77-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/sub_tests/619feb44-a63b-11e6-bf77-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="173194" author="gerrit" created="Thu, 10 Nov 2016 20:35:45 +0000"  >&lt;p&gt;Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23706&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23706&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8824&quot; title=&quot;sanity-sec test_9: ASSERTION( config-&amp;gt;nmc_default_nodemap )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8824&quot;&gt;&lt;del&gt;LU-8824&lt;/del&gt;&lt;/a&gt; test: EXCEPT test_9 till fixed&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a469c81df1a8fea2798c8fe7866456c53a53a00d&lt;/p&gt;</comment>
                            <comment id="173196" author="pjones" created="Thu, 10 Nov 2016 20:40:39 +0000"  >&lt;p&gt;Kit&lt;/p&gt;

&lt;p&gt;Could you please advise on this issue and how whether we could live with this in 2.9?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="173299" author="kit.westneat" created="Fri, 11 Nov 2016 15:06:16 +0000"  >&lt;p&gt;Thanks for gathering the logs on this Nathaniel.&lt;/p&gt;

&lt;p&gt;It looks like there is an error handling issue in mgc_process_recover_nodemap_log. I can fix up the error handling for the nodemap portion, but the handling for the recovery log part is also missing, and I don&apos;t feel confident adding it there. Is there someone who can look at that portion?&lt;/p&gt;

&lt;p&gt;I&apos;m not sure what the root cause is yet, though it looks like something to do with the default nodemap not getting transfered correctly - does this LBUG happen on all ZFS full group tests or is it more random? &lt;/p&gt;

&lt;p&gt;Fixing up the error handling should be enough for 2.9, though it means that nodemap will be only partially functional on ZFS systems. &lt;/p&gt;</comment>
                            <comment id="173340" author="utopiabound" created="Fri, 11 Nov 2016 16:52:01 +0000"  >&lt;p&gt;It seems to happen anytime sanity-sec is run on ZFS, but not when run on ldiskfs.&lt;/p&gt;</comment>
                            <comment id="173381" author="kit.westneat" created="Fri, 11 Nov 2016 22:18:04 +0000"  >&lt;p&gt;I think I&apos;ve figured out what&apos;s going on. The config load code expects the index file to return the key/values in key-sorted order, which the ldiskfs index files do. The ZFS index files however appear to return the keys in hash sorted order, at least according to this comment:&lt;br/&gt;
        /*&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;XXX: implement support for fixed-size keys sorted with natural&lt;/li&gt;
	&lt;li&gt;numerical way (not using internal hash value)&lt;br/&gt;
         */&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We currently embed the config record type in the key so that create records are processed before update records, and so not having the records sent in key-order breaks this. &lt;/p&gt;

&lt;p&gt;I&apos;m going to investigate how easy it would be to modify the config load/send operation to have it do a two-pass load, where the create records would be loaded first, and then the other records could be loaded after. &lt;/p&gt;</comment>
                            <comment id="173400" author="utopiabound" created="Sat, 12 Nov 2016 11:13:56 +0000"  >&lt;p&gt;Kit,&lt;/p&gt;

&lt;p&gt;Awesome find.&lt;/p&gt;

&lt;p&gt;EXCEPTing test_9 just delays the ASSERTION to test_15:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/sub_tests/aaedadbe-a888-11e6-b6bd-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/sub_tests/aaedadbe-a888-11e6-b6bd-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m think getting a real fix is necissary for sanity-sec to pass with ZFS.&lt;/p&gt;</comment>
                            <comment id="173452" author="pjones" created="Mon, 14 Nov 2016 14:25:04 +0000"  >&lt;p&gt;Kit&lt;/p&gt;

&lt;p&gt;This is indeed good news. How are things progressing on making the changes necessary with the error handling?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="173689" author="kit.westneat" created="Tue, 15 Nov 2016 20:04:48 +0000"  >&lt;p&gt;Hi Peter,&lt;/p&gt;

&lt;p&gt;I can get a patch up for the error handling tonight or tomorrow. Fixing the config loading and unloading will take a bit longer, but I&apos;ll ty to get a patch up by the end of the week.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Kit&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="173745" author="gerrit" created="Wed, 16 Nov 2016 00:19:17 +0000"  >&lt;p&gt;Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23778&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23778&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8824&quot; title=&quot;sanity-sec test_9: ASSERTION( config-&amp;gt;nmc_default_nodemap )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8824&quot;&gt;&lt;del&gt;LU-8824&lt;/del&gt;&lt;/a&gt; nodemap: properly handle errors loading nodemap conf&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0ae8e3db5cd16acc4f3bde47a896b05a01383c9b&lt;/p&gt;</comment>
                            <comment id="173803" author="pjones" created="Wed, 16 Nov 2016 13:47:11 +0000"  >&lt;p&gt;Thanks Kit! This is encouraging news&lt;/p&gt;</comment>
                            <comment id="174180" author="gerrit" created="Fri, 18 Nov 2016 04:22:12 +0000"  >&lt;p&gt;Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23849&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23849&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8824&quot; title=&quot;sanity-sec test_9: ASSERTION( config-&amp;gt;nmc_default_nodemap )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8824&quot;&gt;&lt;del&gt;LU-8824&lt;/del&gt;&lt;/a&gt; nodemap: load nodemap definitions first&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7d5800455161e0d2fca47a1754b7fc734d4a2999&lt;/p&gt;</comment>
                            <comment id="174383" author="gerrit" created="Sat, 19 Nov 2016 15:46:48 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/23778/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23778/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8824&quot; title=&quot;sanity-sec test_9: ASSERTION( config-&amp;gt;nmc_default_nodemap )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8824&quot;&gt;&lt;del&gt;LU-8824&lt;/del&gt;&lt;/a&gt; nodemap: properly handle errors loading nodemap conf&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9be888d56caf73184f72a4ad782196d255331ee2&lt;/p&gt;</comment>
                            <comment id="174772" author="gerrit" created="Wed, 23 Nov 2016 04:19:08 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/23849/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23849/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8824&quot; title=&quot;sanity-sec test_9: ASSERTION( config-&amp;gt;nmc_default_nodemap )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8824&quot;&gt;&lt;del&gt;LU-8824&lt;/del&gt;&lt;/a&gt; nodemap: load nodemap definitions first&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 89ce9d5b125762f39339916f14c01242107739ed&lt;/p&gt;</comment>
                            <comment id="174781" author="pjones" created="Wed, 23 Nov 2016 04:50:52 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="41487">LU-8825</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="41670">LU-8850</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzyv7r:</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>