<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:21:37 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-8912] nodemap: error: nodemap_add_range: nodemap ranges must be contiguous</title>
                <link>https://jira.whamcloud.com/browse/LU-8912</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi, we noticed the following minor issue when trying to add our IB network 10.210.32.0/20 to nodemap:&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;$ lctl nodemap_add_range --name sherlock --range 10.210.[32-47].[0-255]@o2ib3
error: nodemap_add_range: nodemap ranges must be contiguous
$ cat /proc/fs/lustre/nodemap/sherlock/ranges
[

]



&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The workaround is either to add 16 separate entries (10.210.32.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;, 10.210.33.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt; etc.), or a single larger range (whenever possible).&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
 Stephan&lt;/p&gt;</description>
                <environment>CentOS 7.2, Lustre-2.8.60</environment>
        <key id="42253">LU-8912</key>
            <summary>nodemap: error: nodemap_add_range: nodemap ranges must be contiguous</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="kit.westneat">Kit Westneat</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Dec 2016 19:52:17 +0000</created>
                <updated>Mon, 9 Apr 2018 22:22:50 +0000</updated>
                            <resolved>Sat, 3 Mar 2018 14:02:13 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="176750" author="pjones" created="Tue, 6 Dec 2016 20:08:43 +0000"  >&lt;p&gt;Kit&lt;/p&gt;

&lt;p&gt;Could you please advise on this issue?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="177489" author="kit.westneat" created="Mon, 12 Dec 2016 20:02:13 +0000"  >&lt;p&gt;I&apos;m not sure how the contiguous ranges is figured out, I&apos;ll try to see how hard it would be to get this to work.&#160;&lt;/p&gt;</comment>
                            <comment id="177578" author="kit.westneat" created="Tue, 13 Dec 2016 15:20:59 +0000"  >&lt;p&gt;It looks like the LNET range parsing is currently not complete, and broken in parts. It would be much easier to use a subset of the range. The full LNET range syntax supports multiple NID expressions and multiple range expressions within the NID expressions. For example, these are both valid:&lt;br/&gt;
lctl nodemap_add_range --name c0 --range &quot;10.210.1.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;@tcp 10.210.2.0@tcp&quot;&lt;br/&gt;
lctl nodemap_add_range --name c0 --range &quot;10.210.1.&lt;span class=&quot;error&quot;&gt;&amp;#91;33,31,32&amp;#93;&lt;/span&gt;@tcp&quot;&lt;/p&gt;

&lt;p&gt;It would be significantly easier to parse if we only allow a single NID expression per range, and a single range expression per IP expression list.&lt;/p&gt;

&lt;p&gt;Alternatively, lctl actually just converts the range syntax into a simpler one read by the MGS, which is just &amp;lt;first nid&amp;gt;:&amp;lt;last nid&amp;gt;. Would it be too confusing to have sysadmins use that directly?&lt;/p&gt;</comment>
                            <comment id="177629" author="sthiell" created="Tue, 13 Dec 2016 19:34:17 +0000"  >&lt;p&gt;Hi Kit,&lt;/p&gt;

&lt;p&gt;Thanks for looking at this! It would be better if the sysadmin can just add &amp;lt;first nid&amp;gt;:&amp;lt;last nid&amp;gt;, as it is already the format used internally by the MGS and also used when accessing the nodemap range config (using /proc/fs/lustre/nodemap/sherlock/ranges for example). I am sure it would be less confusing after all, along with the restrictions of range syntax that you propose to avoid any mistakes.&lt;/p&gt;</comment>
                            <comment id="177976" author="kit.westneat" created="Thu, 15 Dec 2016 23:59:46 +0000"  >&lt;p&gt;I tend to agree with you, but on our nodemap call, Intel voiced a strong preference for supporting the full LNET range expression support. I&apos;ve prepared a bug fix patch to address your immediate issue. &lt;/p&gt;

&lt;p&gt;The idea behind the full LNET range support is that instead of requiring non-contiguous ranges, if a non-contiguous range is given to lctl, multiple contiguous ranges will be created in the backend. I&apos;ll create an improvement ticket to track the work on that.&lt;/p&gt;</comment>
                            <comment id="178061" author="gerrit" created="Fri, 16 Dec 2016 15:52:11 +0000"  >&lt;p&gt;Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/24397&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24397&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8912&quot; title=&quot;nodemap: error: nodemap_add_range: nodemap ranges must be contiguous&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8912&quot;&gt;&lt;del&gt;LU-8912&lt;/del&gt;&lt;/a&gt; nodemap: fix contiguous range support&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f9bf47f8590cdd77a7b896eea7e83e91782f04bd&lt;/p&gt;</comment>
                            <comment id="215663" author="mdiep" created="Fri, 8 Dec 2017 15:49:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=kit.westneat&quot; class=&quot;user-hover&quot; rel=&quot;kit.westneat&quot;&gt;kit.westneat&lt;/a&gt;, please rebase the patch manually. thanks&lt;/p&gt;</comment>
                            <comment id="222192" author="gerrit" created="Sat, 3 Mar 2018 04:29:15 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/24397/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24397/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8912&quot; title=&quot;nodemap: error: nodemap_add_range: nodemap ranges must be contiguous&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8912&quot;&gt;&lt;del&gt;LU-8912&lt;/del&gt;&lt;/a&gt; nodemap: fix contiguous range support&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: eac95a6587af4061b36b35051e191ca27bc6b1a3&lt;/p&gt;</comment>
                            <comment id="222225" author="pjones" created="Sat, 3 Mar 2018 14:02:13 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="222392" author="gerrit" created="Mon, 5 Mar 2018 15:52:19 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31521&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31521&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8912&quot; title=&quot;nodemap: error: nodemap_add_range: nodemap ranges must be contiguous&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8912&quot;&gt;&lt;del&gt;LU-8912&lt;/del&gt;&lt;/a&gt; nodemap: fix contiguous range support&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1f9c0431a29e2f0a8cac90eef9ae0dfa18b02cae&lt;/p&gt;</comment>
                            <comment id="225245" author="gerrit" created="Thu, 5 Apr 2018 20:29:07 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31521/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31521/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8912&quot; title=&quot;nodemap: error: nodemap_add_range: nodemap ranges must be contiguous&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8912&quot;&gt;&lt;del&gt;LU-8912&lt;/del&gt;&lt;/a&gt; nodemap: fix contiguous range support&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 92d562457b947f02891e7c76b265bde4f9ed23c2&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzyxmv:</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>