<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:39:26 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-10930] lnet module parameter &quot;forwarding&quot; does not enable routing</title>
                <link>https://jira.whamcloud.com/browse/LU-10930</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;blockquote&gt;&lt;p&gt;options lnet forwarding=&quot;enabled&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Setting forwarding=&quot;enabled&quot; in lnet modprobe conf file does not enable routing.&#160; That is, after starting lnet with the configuration below, &quot;lnetctl routing show&quot; returns nothing.&#160; Also, a compute node (also 2.11) with a route whose gateway is configured as below, shows the route is down.&lt;/p&gt;

&lt;p&gt;The specific configuration tested was:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@ulna4:~&amp;#93;&lt;/span&gt;# cat /etc/modprobe.d/lnet.conf&lt;br/&gt;
 options lnet forwarding=&quot;enabled&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@ulna4:~&amp;#93;&lt;/span&gt;# cat /etc/lnet.conf&lt;br/&gt;
 ip2nets:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;net-spec: o2ib100&lt;br/&gt;
 interfaces:&lt;br/&gt;
 0: san0&lt;br/&gt;
 ip-range:&lt;br/&gt;
 0: 172.19.1.*&lt;/li&gt;
	&lt;li&gt;net-spec: o2ib33&lt;br/&gt;
 interfaces:&lt;br/&gt;
 0: hsi0&lt;br/&gt;
 ip-range:&lt;br/&gt;
 0: 192.168.128.*&lt;br/&gt;
 route:&lt;br/&gt;
 &amp;lt;routes redacted&amp;gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Red Hat Enterprise Linux Server release 7.5 Beta (Maipo)&lt;br/&gt;
Linux 4.14.0-43.el7a.aarch64</environment>
        <key id="51907">LU-10930</key>
            <summary>lnet module parameter &quot;forwarding&quot; does not enable routing</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="sharmaso">Sonia Sharma</assignee>
                                    <reporter username="ofaaland">Olaf Faaland</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Thu, 19 Apr 2018 15:49:37 +0000</created>
                <updated>Thu, 19 Apr 2018 19:58:18 +0000</updated>
                                            <version>Lustre 2.11.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="226383" author="ofaaland" created="Thu, 19 Apr 2018 15:51:48 +0000"  >&lt;p&gt;I haven&apos;t tested a combination of lnetctl import/YAML configuration and lnet module options configuration like this, in 2.10 yet.&lt;/p&gt;</comment>
                            <comment id="226393" author="pjones" created="Thu, 19 Apr 2018 17:09:51 +0000"  >&lt;p&gt;Sonia&lt;/p&gt;

&lt;p&gt;Can you please advise?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="226396" author="ashehata" created="Thu, 19 Apr 2018 17:18:36 +0000"  >&lt;p&gt;There is a couple of ways you can start up LNet. The legacy way is lctl net up. And the new way is lnetctl lnet configure.&lt;/p&gt;

&lt;p&gt;When you run lnetctl lnet configure. It doesn&apos;t configure the system using any of the module parameters which lnetctl handles. This was by design to prevent conflict between module parameters and lnet.conf YAML file.&lt;/p&gt;

&lt;p&gt;If you would like to load the module parameters you can run: lnetctl lnet configure --all.&lt;/p&gt;

&lt;p&gt;I see though that you are using lnet.conf to startup the system, so I wouldn&apos;t recommend loading the module parameters which are also configured from lnetctl.&lt;/p&gt;

&lt;p&gt;The idea is to rely on only one source of configuration.&lt;/p&gt;</comment>
                            <comment id="226409" author="ofaaland" created="Thu, 19 Apr 2018 18:17:56 +0000"  >&lt;p&gt;&amp;gt; The idea is to rely on only one source of configuration.&lt;/p&gt;

&lt;p&gt;That makes sense, but then I think at least two changes are necessary:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Lustre should report it when module options are provided but are ignored.&lt;/li&gt;
	&lt;li&gt;The policy you describe should be&#160; loud and proud in the man pages.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Also, &lt;b&gt;lnetctl routing show&lt;/b&gt; and &lt;b&gt;lnetctl export&lt;/b&gt; need to report that routing is disabled.&#160; As you see below, neither do, although they report when it is enabled.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;faaland1@ulna66 ~&amp;#93;&lt;/span&gt; $sudo lnetctl routing show&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;faaland1@ulna66 ~&amp;#93;&lt;/span&gt; $sudo lnetctl export | grep -C3 routing&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;faaland1@ulna66 ~&amp;#93;&lt;/span&gt; $&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="226419" author="ofaaland" created="Thu, 19 Apr 2018 19:58:18 +0000"  >&lt;p&gt;I verified that with 2.11, if &quot;forwarding&quot; and &quot;networks&quot; are set as module parameters, that &lt;b&gt;lnetctl configure --all&lt;/b&gt; does enable routing as well as creating networks and associated NIDs.&lt;/p&gt;

&lt;p&gt;Also, thanks for the clarification.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzzw3j:</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>