<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:08:39 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-14311] LNet export should not include @lo peer information</title>
                <link>https://jira.whamcloud.com/browse/LU-14311</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Exporting an LNet configuration includes the peers for @lo. For example, if I have the following configuration:&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;
[root@mds1 tmp]# lnetctl net show
net:
    - net type: lo
      local NI(s):
        - nid: 0@lo
          status: up
    - net type: tcp
      local NI(s):
        - nid: 10.73.20.11@tcp
          status: up
          interfaces:
              0: eth1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and I run &quot;lnetctl export --backup /etc/lnet.conf&quot; I get the following:&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;
net:
    - net type: tcp
      local NI(s):
        - interfaces:
              0: eth1
          tunables:
              peer_timeout: 180
              peer_credits: 8
              peer_buffer_credits: 0
              credits: 256
          CPT: &lt;span class=&quot;code-quote&quot;&gt;&quot;[0]&quot;&lt;/span&gt;
peer:
    - primary nid: 0@lo
      Multi-Rail: False
      peer ni:
        - nid: 0@lo
    - primary nid: 10.73.20.22@tcp
      Multi-Rail: True
      peer ni:
        - nid: 10.73.20.22@tcp
    - primary nid: 10.73.20.21@tcp
      Multi-Rail: True
      peer ni:
        - nid: 10.73.20.21@tcp
    - primary nid: 10.73.20.12@tcp
      Multi-Rail: True
      peer ni:
        - nid: 10.73.20.12@tcp
global:
    numa_range: 0
    max_intf: 200
    discovery: 1
    drop_asym_route: 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Notice that &quot;nid 0@lo&quot; is included in the peers. I can then try to import this configuration:&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;
lnetctl net del --net tcp
lnetctl &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; /etc/lnet.conf
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and will get the following output:&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;
[root@mds1 tmp]# lnetctl net del --net tcp
[root@mds1 tmp]# lnetctl &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; /etc/lnet.conf
add:
    - net:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;success&quot;&lt;/span&gt;
    - peer_ni:
          errno: -8
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;Success&quot;&lt;/span&gt;
    - peer_ni:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;Success&quot;&lt;/span&gt;
    - peer_ni:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;Success&quot;&lt;/span&gt;
    - peer_ni:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;Success&quot;&lt;/span&gt;
    - max_interfaces:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;success&quot;&lt;/span&gt;
    - numa_range:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;success&quot;&lt;/span&gt;
    - discovery:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;success&quot;&lt;/span&gt;
    - drop_asym_route:
          errno: 0
          descr: &lt;span class=&quot;code-quote&quot;&gt;&quot;success&quot;&lt;/span&gt;
[root@mds1 tmp]# echo $?
248
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, if I remove the nid 0@lo peer from the exported data and attempt to re-import, I get the following:&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;
[root@mds1 tmp]# cat /etc/lnet.conf
net:
    - net type: tcp
      local NI(s):
        - interfaces:
              0: eth1
          tunables:
              peer_timeout: 180
              peer_credits: 8
              peer_buffer_credits: 0
              credits: 256
          CPT: &lt;span class=&quot;code-quote&quot;&gt;&quot;[0]&quot;&lt;/span&gt;
peer:
    - primary nid: 10.73.20.22@tcp
      Multi-Rail: True
      peer ni:
        - nid: 10.73.20.22@tcp
    - primary nid: 10.73.20.21@tcp
      Multi-Rail: True
      peer ni:
        - nid: 10.73.20.21@tcp
    - primary nid: 10.73.20.12@tcp
      Multi-Rail: True
      peer ni:
        - nid: 10.73.20.12@tcp
global:
    numa_range: 0
    max_intf: 200
    discovery: 1
    drop_asym_route: 0

[root@mds1 tmp]# lnetctl net del --net tcp
[root@mds1 tmp]# lnetctl &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; /etc/lnet.conf
[root@mds1 tmp]# echo $?
0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If nid 0@lo is excluded in the peers section of the export then importing the file shouldn&apos;t produce an error.&lt;/p&gt;</description>
                <environment></environment>
        <key id="62282">LU-14311</key>
            <summary>LNet export should not include @lo peer information</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="wc-triage">WC Triage</assignee>
                                    <reporter username="wcjohnso">Will Johnson</reporter>
                        <labels>
                            <label>LNET</label>
                    </labels>
                <created>Fri, 8 Jan 2021 19:09:40 +0000</created>
                <updated>Fri, 8 Jan 2021 19:09:40 +0000</updated>
                                            <version>Lustre 2.12.4</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                    <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_10070" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Project</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10042"><![CDATA[Dynamic LNET Configuration]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i01iyf:</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>