<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:30:25 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-16836] LNet: initial ni status is &quot;up&quot; if starting with link disconnected</title>
                <link>https://jira.whamcloud.com/browse/LU-16836</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Adding NI if the corresponding interface is disconnected results in NI listed as &quot;up&quot; while it is expected to be &quot;down&quot;. For example:&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;
7: bond0: &amp;lt;NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP&amp;gt; mtu 1500 qdisc noqueue state DOWN group &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; qlen 1000
&#160; &#160; link/ether 52:54:00:a3:1a:44 brd ff:ff:ff:ff:ff:ff
&#160; &#160; inet 192.168.122.239/24 brd 192.168.122.255 scope global noprefixroute dynamic bond0
&#160; &#160; &#160; &#160;valid_lft 3264sec preferred_lft 3264sec
&#160; &#160; inet6 fe80::5054:ff:fea3:1a44/64 scope link&#160;
&#160; &#160; &#160; &#160;valid_lft forever preferred_lft forever&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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 add --net tcp --&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; bond0
# 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: 192.168.122.239@tcp
&#160; &#160; &#160; &#160; &#160; status: up
&#160; &#160; &#160; &#160; &#160; interfaces:
&#160; &#160; &#160; &#160; &#160; &#160; &#160; 0: bond0&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="76128">LU-16836</key>
            <summary>LNet: initial ni status is &quot;up&quot; if starting with link disconnected</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="ssmirnov">Serguei Smirnov</assignee>
                                    <reporter username="ssmirnov">Serguei Smirnov</reporter>
                        <labels>
                            <label>ksocklnd</label>
                            <label>lnet</label>
                            <label>o2iblnd</label>
                    </labels>
                <created>Thu, 18 May 2023 20:10:58 +0000</created>
                <updated>Sun, 29 Oct 2023 15:34:28 +0000</updated>
                            <resolved>Wed, 28 Jun 2023 22:49:45 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="372794" author="ssmirnov" created="Fri, 19 May 2023 01:29:58 +0000"  >&lt;p&gt;The issue here is that LNet may be able to initialize the LND, but doesn&apos;t get the link status update so it is not notified that the link is down. The new NI is then stuck with the &quot;up&quot; status until an event occurs which refreshes it, e.g plugging/unplugging the cable, etc.&lt;/p&gt;

&lt;p&gt;Here are the cases when this can happen:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Cable is disconnected from the interface (socklnd, o2iblnd)&lt;/li&gt;
	&lt;li&gt;All slave links of a bonded interface are down (the example from the ticket description). The links may be &quot;administered&quot; to be down, so the bond interface will be considered down, but still retain the IP and thus enable the LND to be initialized.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Except with the slave bonded links as shown above, &quot;ifdown&quot; and &quot;ip link set dev &amp;lt;if&amp;gt; down&quot; commands don&apos;t appear to be useful for simulating this issue.&lt;/p&gt;</comment>
                            <comment id="372797" author="gerrit" created="Fri, 19 May 2023 02:22:32 +0000"  >&lt;p&gt;&quot;Serguei Smirnov &amp;lt;ssmirnov@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51057&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51057&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16836&quot; title=&quot;LNet: initial ni status is &amp;quot;up&amp;quot; if starting with link disconnected&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16836&quot;&gt;&lt;del&gt;LU-16836&lt;/del&gt;&lt;/a&gt; lnet: ensure dev notification on lnd startup&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fcb6d8de5eb5519d3eafd123719427c21ba0d6da&lt;/p&gt;</comment>
                            <comment id="376806" author="gerrit" created="Wed, 28 Jun 2023 21:48:49 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51057/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51057/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16836&quot; title=&quot;LNet: initial ni status is &amp;quot;up&amp;quot; if starting with link disconnected&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16836&quot;&gt;&lt;del&gt;LU-16836&lt;/del&gt;&lt;/a&gt; lnet: ensure dev notification on lnd startup&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 09c6e2b872287c847d15620788f6cf50b3a9f30b&lt;/p&gt;</comment>
                            <comment id="376827" author="pjones" created="Wed, 28 Jun 2023 22:49:45 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="78643">LU-17235</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i03ltj:</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>