<!-- 
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-8913] nodemap: wildcard &apos;*@&lt;net&gt;&apos; is broken</title>
                <link>https://jira.whamcloud.com/browse/LU-8913</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi, this is a minor bug report for nodemap. The nodemap documentation indicates that&#160;wildchar is allowed:&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;&amp;lt;nidrange&amp;gt;      :== &amp;lt;addrrange&amp;gt; &lt;span class=&quot;code-quote&quot;&gt;&apos;@&apos;&lt;/span&gt; &amp;lt;net&amp;gt;
&amp;lt;addrrange&amp;gt;     :== &lt;span class=&quot;code-quote&quot;&gt;&apos;*&apos;&lt;/span&gt; |
                        &amp;lt;ipaddr_range&amp;gt; |
                        &amp;lt;numaddr_range&amp;gt;




&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;but it doesn&apos;t seem to work as expected, as it just adds a single IP 0.0.0.0:&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;$ cat /proc/fs/lustre/nodemap/sherlock/ranges
[

]
$ lctl nodemap_add_range --name sherlock --range &lt;span class=&quot;code-quote&quot;&gt;&apos;*@o2ib3&apos;&lt;/span&gt;
$ cat /proc/fs/lustre/nodemap/sherlock/ranges
[
 { id: 18, start_nid: 0.0.0.0@o2ib3, end_nid: 0.0.0.0@o2ib3 }
]




&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As a workaround, we can use &lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;@o2ib3, in that case the full range of IP is added:&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;[
 { id: 19, start_nid: 0.0.0.0@o2ib3, end_nid: 255.255.255.255@o2ib3 }
]


&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Note: Four wildchars separated by dots also work but I don&apos;t believe it should according to the documentation.&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="42254">LU-8913</key>
            <summary>nodemap: wildcard &apos;*@&lt;net&gt;&apos; is broken</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Dec 2016 20:00:07 +0000</created>
                <updated>Mon, 16 Apr 2018 19:05:28 +0000</updated>
                            <resolved>Mon, 9 Apr 2018 21:00:13 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                    <fixVersion>Lustre 2.10.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="176749" author="pjones" created="Tue, 6 Dec 2016 20:06:20 +0000"  >&lt;p&gt;Kit&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="177457" author="kit.westneat" created="Mon, 12 Dec 2016 17:21:14 +0000"  >&lt;p&gt;nodemap uses the nidstring utils defined in libscfs, so it looks like those don&apos;t do quite what they claim to. I can take a look at what would be required to fix it, but it&apos;s likely to impact other uses of the utils. Just adding *@net seems like it&apos;d have the smallest impact, so I&apos;ll see what it&apos;d take to get that working.&lt;/p&gt;</comment>
                            <comment id="223841" author="pjones" created="Fri, 16 Mar 2018 14:13:12 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Is this still an issue?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="223917" author="emoly.liu" created="Mon, 19 Mar 2018 04:02:39 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sthiell&quot; class=&quot;user-hover&quot; rel=&quot;sthiell&quot;&gt;sthiell&lt;/a&gt;,&lt;br/&gt;
 IMO, &apos;&amp;#42;&apos; means full range &lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;, so usually we use &apos;&amp;#42;.&amp;#42;.&amp;#42;.&amp;#42;@o2ib3&apos; but not &apos;&amp;#42;@o2ib3&apos;. I just had a test, both &apos;&amp;#42;.&amp;#42;.&amp;#42;.&amp;#42;@o2ib3&apos; and &apos;&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;0-255&amp;#93;&lt;/span&gt;@o2ib3&apos; work correctly as follows,&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;# lctl nodemap_add_range --name nm1 --range &apos;*.*.*.*@o2ib3&apos;
# lctl get_param nodemap.nm1.ranges
nodemap.nm1.ranges=
[
 { id: 5, start_nid: 0.0.0.0@o2ib3, end_nid: 255.255.255.255@o2ib3 }
]
# lctl nodemap_del_range --name nm1 --range &apos;*.*.*.*@o2ib3&apos;
# lctl nodemap_add_range --name nm1 --range &apos;[0-255].[0-255].[0-255].[0-255]@o2ib3&apos;
# lctl get_param nodemap.nm1.ranges
nodemap.nm1.ranges=
[
 { id: 6, start_nid: 0.0.0.0@o2ib3, end_nid: 255.255.255.255@o2ib3 }
]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
 Emoly&lt;/p&gt;</comment>
                            <comment id="223918" author="sthiell" created="Mon, 19 Mar 2018 05:03:22 +0000"  >&lt;p&gt;Hi Emoly,&lt;/p&gt;

&lt;p&gt;Fine but the documentation states that a single wildcard is supported so it probably needs to be updated unless I&apos;m reading this wrong. Example at &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#idm139929611418592&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#idm139929611418592&lt;/a&gt;:&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;&amp;lt;nidrange&amp;gt;      :== &amp;lt;addrrange&amp;gt; &apos;@&apos; &amp;lt;net&amp;gt;
&amp;lt;addrrange&amp;gt;     :== &apos;*&apos; |
                        &amp;lt;ipaddr_range&amp;gt; |
                        &amp;lt;numaddr_range&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;the devil is in the details &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Thanks for looking at this. &lt;br/&gt;
 Stephane&lt;/p&gt;</comment>
                            <comment id="223919" author="sthiell" created="Mon, 19 Mar 2018 05:08:43 +0000"  >&lt;p&gt;As a side note, such `*@net` wildcard patterns can be used elsewhere in Lustre, for example:&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;mgs# lctl conf_param testfs.mdt.nosquash_nids=&quot;*@tcp&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;from &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.50438221_48757&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.50438221_48757&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="223927" author="emoly.liu" created="Mon, 19 Mar 2018 06:31:39 +0000"  >&lt;p&gt;OK, thanks for your information. I will fix it.&lt;/p&gt;</comment>
                            <comment id="223936" author="gerrit" created="Mon, 19 Mar 2018 13:17:18 +0000"  >&lt;p&gt;Emoly Liu (emoly.liu@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31684&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31684&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8913&quot; title=&quot;nodemap: wildcard &amp;#39;*@&amp;lt;net&amp;gt;&amp;#39; is broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8913&quot;&gt;&lt;del&gt;LU-8913&lt;/del&gt;&lt;/a&gt; nodemap: fix nodemap range format &apos;*@&amp;lt;net&amp;gt;&apos; support&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6ddf2aa90cb8a39a9469007c65f55e1b9d362038&lt;/p&gt;</comment>
                            <comment id="225507" author="gerrit" created="Mon, 9 Apr 2018 19:51:07 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31684/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31684/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8913&quot; title=&quot;nodemap: wildcard &amp;#39;*@&amp;lt;net&amp;gt;&amp;#39; is broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8913&quot;&gt;&lt;del&gt;LU-8913&lt;/del&gt;&lt;/a&gt; nodemap: fix nodemap range format &apos;*@&amp;lt;net&amp;gt;&apos; support&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 230266326f49b0e6aab43c1d1a5c926d78c11e53&lt;/p&gt;</comment>
                            <comment id="225551" author="pjones" created="Mon, 9 Apr 2018 21:00:13 +0000"  >&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;Landed for 2.12&lt;/font&gt;&lt;/p&gt;</comment>
                            <comment id="225554" author="sthiell" created="Mon, 9 Apr 2018 21:04:29 +0000"  >&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="225748" author="gerrit" created="Wed, 11 Apr 2018 15:18:12 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31950&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31950&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8913&quot; title=&quot;nodemap: wildcard &amp;#39;*@&amp;lt;net&amp;gt;&amp;#39; is broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8913&quot;&gt;&lt;del&gt;LU-8913&lt;/del&gt;&lt;/a&gt; nodemap: fix nodemap range format &apos;*@&amp;lt;net&amp;gt;&apos; 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: 404de6606a31f8569ffe2ee701469d690cd260a3&lt;/p&gt;</comment>
                            <comment id="226101" author="gerrit" created="Mon, 16 Apr 2018 19:00:46 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31950/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31950/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8913&quot; title=&quot;nodemap: wildcard &amp;#39;*@&amp;lt;net&amp;gt;&amp;#39; is broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8913&quot;&gt;&lt;del&gt;LU-8913&lt;/del&gt;&lt;/a&gt; nodemap: fix nodemap range format &apos;*@&amp;lt;net&amp;gt;&apos; support&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9721fa40d09b0686a568c8a3ad78bf6502f5acb2&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|hzyxn3:</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>