<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:44:04 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-11460] lnetctl ping giving unexpected output</title>
                <link>https://jira.whamcloud.com/browse/LU-11460</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Node A&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@trevis-402 ~]# lnetctl net show
net:
&#160; &#160; - net type: lo
&#160; &#160; &#160; local NI(s):
&#160; &#160; &#160; &#160; - nid: 0@lo
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; - net type: tcp
&#160; &#160; &#160; local NI(s):
&#160; &#160; &#160; &#160; - nid: 10.9.10.2@tcp
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; &#160; &#160; &#160; interfaces:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; 0: eth0

[root@trevis-402 ~]# lnetctl peer show
peer:
&#160; &#160; - primary nid: 10.9.11.3@tcp
&#160; &#160; &#160; Multi-Rail: True
&#160; &#160; &#160; peer ni:
&#160; &#160; &#160; &#160; - nid: 10.9.11.3@tcp
&#160; &#160; &#160; &#160; &#160; state: NA
&#160; &#160; &#160; &#160; - nid: 10.9.10.3@tcp
&#160; &#160; &#160; &#160; &#160; state: NA
&#160; &#160; - primary nid: 10.9.10.2@tcp
&#160; &#160; &#160; Multi-Rail: True
&#160; &#160; &#160; peer ni:
&#160; &#160; &#160; &#160; - nid: 10.9.10.2@tcp
&#160; &#160; &#160; &#160; &#160; state: NA&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Node B&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@trevis-403 ~]# lnetctl net show
net:
&#160; &#160; - net type: lo
&#160; &#160; &#160; local NI(s):
&#160; &#160; &#160; &#160; - nid: 0@lo
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; - net type: tcp
&#160; &#160; &#160; local NI(s):
&#160; &#160; &#160; &#160; - nid: 10.9.10.3@tcp
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; &#160; &#160; &#160; interfaces:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; 0: eth0
&#160; &#160; &#160; &#160; - nid: 10.9.11.3@tcp
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; &#160; &#160; &#160; interfaces:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; 0: eth1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Now delete the &apos;eth1&apos; interface on Node B, so configuration looks like this -&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@trevis-403 ~]# lnetctl net show
net:
&#160; &#160; - net type: lo
&#160; &#160; &#160; local NI(s):
&#160; &#160; &#160; &#160; - nid: 0@lo
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; - net type: tcp
&#160; &#160; &#160; local NI(s):
&#160; &#160; &#160; &#160; - nid: 10.9.10.3@tcp
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; &#160; &#160; &#160; interfaces:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; 0: eth0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;After this step, if we try to ping from Node A to Node B,&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@trevis-402 ~]# lnetctl ping 10.9.11.3@tcp
manage:
&#160; &#160; - ping:
&#160; &#160; &#160; &#160; &#160; errno: -1
&#160; &#160; &#160; &#160; &#160; descr: failed to ping 10.9.11.3@tcp: Input/output error
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
[root@trevis-402 ~]# lnetctl ping 10.9.11.3@tcp
ping:
&#160; &#160; - primary nid: 10.9.11.3@tcp
&#160; &#160; &#160; Multi-Rail: True
&#160; &#160; &#160; peer ni:
&#160; &#160; &#160; &#160; - nid: 10.9.10.3@tcp
[root@trevis-402 ~]# lnetctl ping 10.9.11.3@tcp
manage:
&#160; &#160; - ping:
&#160; &#160; &#160; &#160; &#160; errno: -1
&#160; &#160; &#160; &#160; &#160; descr: failed to ping 10.9.11.3@tcp: Input/output error
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
[root@trevis-402 ~]# lnetctl ping 10.9.11.3@tcp
ping:
&#160; &#160; - primary nid: 10.9.11.3@tcp
&#160; &#160; &#160; Multi-Rail: True
&#160; &#160; &#160; peer ni:
&#160; &#160; &#160; &#160; - nid: 10.9.10.3@tcp
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="53478">LU-11460</key>
            <summary>lnetctl ping giving unexpected output</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="6">Not a Bug</resolution>
                                        <assignee username="ashehata">Amir Shehata</assignee>
                                    <reporter username="sharmaso">Sonia Sharma</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2018 22:31:56 +0000</created>
                <updated>Thu, 4 Oct 2018 22:21:05 +0000</updated>
                            <resolved>Thu, 4 Oct 2018 22:21:05 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="234299" author="ashehata" created="Wed, 3 Oct 2018 17:54:52 +0000"  >&lt;p&gt;I think the issue is in&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;
lnet_peer_del_nid()

485 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;/*
486 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183; * This function only allows deletion of the primary NID &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; it
 487 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183; * is the only NID.
 488 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183; */
 489 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (nid == lp-&amp;gt;lp_primary_nid &amp;amp;&amp;amp; lp-&amp;gt;lp_nnis != 1) {
 490 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;rc = -EBUSY;
 491 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&lt;span class=&quot;code-keyword&quot;&gt;goto&lt;/span&gt; out;
 492 &#187;&#183;&#183;&#183;&#183;&#183;&#183;&#183;}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="234401" author="sharmaso" created="Thu, 4 Oct 2018 22:21:05 +0000"  >&lt;p&gt;With discovery, updated peer information is sent via PUSH message but if the interface that is brought down is the primary_nid then the peer information cannot be updated. This is because the primary_nid cannot be deleted/updated as the upper layers rely on the intially configured primary_nid&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="31126" name="errorlog" size="12941" author="sharmaso" created="Tue, 2 Oct 2018 22:31:48 +0000"/>
                    </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|i003g7:</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>