<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:15:47 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-15138] lnetctl peer add doesn&apos;t detect duplicate router peer</title>
                <link>https://jira.whamcloud.com/browse/LU-15138</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It seems it is possible to add duplicate peer entries for a router:&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;nid00060:~ # lnetctl peer show
peer:
    - primary nid: 93@gni4
      Multi-Rail: False
      peer ni:
        - nid: 93@gni4
          state: up
    - primary nid: 486@gni4
      Multi-Rail: False
      peer ni:
        - nid: 486@gni4
          state: up
    - primary nid: 485@gni4
      Multi-Rail: True
      peer ni:
        - nid: 485@gni4
          state: up
        - nid: 10.12.0.1@o2ib4000
          state: up
    - primary nid: 476@gni4
      Multi-Rail: False
      peer ni:
        - nid: 476@gni4
          state: NA
    - primary nid: 484@gni4
      Multi-Rail: False
      peer ni:
        - nid: 484@gni4
          state: NA
    - primary nid: 487@gni4
      Multi-Rail: False
      peer ni:
        - nid: 487@gni4
          state: NA
    - primary nid: 94@gni4
      Multi-Rail: False
      peer ni:
        - nid: 94@gni4
          state: up
nid00060:~ # lnetctl peer add --prim 485@gni4
nid00060:~ # lnetctl peer show
peer:
    - primary nid: 93@gni4
      Multi-Rail: False
      peer ni:
        - nid: 93@gni4
          state: up
    - primary nid: 486@gni4
      Multi-Rail: False
      peer ni:
        - nid: 486@gni4
          state: up
    - primary nid: 485@gni4
      Multi-Rail: True
      peer ni:
        - nid: 485@gni4
          state: up
        - nid: 10.12.0.1@o2ib4000
          state: up
    - primary nid: 476@gni4
      Multi-Rail: False
      peer ni:
        - nid: 476@gni4
          state: NA
    - primary nid: 484@gni4
      Multi-Rail: False
      peer ni:
        - nid: 484@gni4
          state: NA
    - primary nid: 487@gni4
      Multi-Rail: False
      peer ni:
        - nid: 487@gni4
          state: NA
    - primary nid: 94@gni4
      Multi-Rail: False
      peer ni:
        - nid: 94@gni4
          state: up
    - primary nid: 485@gni4
      Multi-Rail: True
      peer ni:
        - nid: 485@gni4
          state: up
        - nid: 10.12.0.1@o2ib4000
          state: up
nid00060:~ #
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;00000400:00000010:26.0F:1634755755.341631:0:17206:0:(module.c:166:libcfs_ioctl_getdata()) alloc &apos;(*hdr_pp)&apos;: 48 at 00000000e13a401b (tot 14747117).
00000400:00000080:26.0:1634755755.341633:0:17206:0:(module.c:211:libcfs_ioctl()) libcfs ioctl cmd 3233310044
00000400:00000200:26.0:1634755755.341637:0:17206:0:(peer.c:460:lnet_peer_del_locked()) peer 485@gni4
00000400:00020000:26.0:1634755755.341638:0:17206:0:(peer.c:394:lnet_peer_ni_del_locked()) Peer NI 485@gni4 is a gateway. Can not delete it
00000400:00020000:26.0:1634755755.375967:0:17206:0:(peer.c:394:lnet_peer_ni_del_locked()) Peer NI 10.12.0.1@o2ib4000 is a gateway. Can not delete it
00000400:00000010:26.0:1634755755.375969:0:17206:0:(peer.c:251:lnet_peer_alloc()) alloc &apos;(lp)&apos;: 304 at 00000000dda971cd (tot 14747421).
00000400:00000200:26.0:1634755755.375970:0:17206:0:(peer.c:290:lnet_peer_alloc()) 00000000dda971cd nid 485@gni4
00000400:00000010:26.0:1634755755.375972:0:17206:0:(peer.c:215:lnet_peer_net_alloc()) alloc &apos;(lpn)&apos;: 72 at 000000008508af39 (tot 14747493).
00000400:00000200:26.0:1634755755.375973:0:17206:0:(peer.c:224:lnet_peer_net_alloc()) 000000008508af39 net gni4
00000400:00000010:26.0:1634755755.375975:0:17206:0:(peer.c:160:lnet_peer_ni_alloc()) alloc &apos;(lpni)&apos;: 328 at 00000000cd43d022 (tot 14747821).
00000400:00000200:26.0:1634755755.375976:0:17206:0:(peer.c:205:lnet_peer_ni_alloc()) 00000000cd43d022 nid 485@gni4
00000400:00000200:26.0:1634755755.375977:0:17206:0:(peer.c:1148:lnet_peer_ni_clr_non_mr_pref_nid()) peer 485@gni4: -2
00000400:00000200:26.0:1634755755.375978:0:17206:0:(peer.c:1609:lnet_peer_attach_peer_ni()) peer 485@gni4 NID 485@gni4 flags 0x9
00000400:00000010:26.0:1634755755.375980:0:17206:0:(module.c:238:libcfs_ioctl()) kfreed &apos;hdr&apos;: 48 at 00000000e13a401b (tot 14747773).
Debug log: 14 lines, 14 kept, 0 dropped, 0 bad.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="66766">LU-15138</key>
            <summary>lnetctl peer add doesn&apos;t detect duplicate router peer</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="hornc">Chris Horn</assignee>
                                    <reporter username="hornc">Chris Horn</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Oct 2021 19:17:39 +0000</created>
                <updated>Sat, 20 Nov 2021 14:50:10 +0000</updated>
                            <resolved>Sat, 20 Nov 2021 14:50:10 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="316361" author="gerrit" created="Fri, 22 Oct 2021 17:35:11 +0000"  >&lt;p&gt;&quot;Chris Horn &amp;lt;chris.horn@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45337&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45337&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15138&quot; title=&quot;lnetctl peer add doesn&amp;#39;t detect duplicate router peer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15138&quot;&gt;&lt;del&gt;LU-15138&lt;/del&gt;&lt;/a&gt; lnet: Fail peer add for existing gw peer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7e537d20d1e3fc73560784d3be646373de4a0cb5&lt;/p&gt;</comment>
                            <comment id="318743" author="gerrit" created="Sat, 20 Nov 2021 06:26:52 +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/45337/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45337/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15138&quot; title=&quot;lnetctl peer add doesn&amp;#39;t detect duplicate router peer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15138&quot;&gt;&lt;del&gt;LU-15138&lt;/del&gt;&lt;/a&gt; lnet: Fail peer add for existing gw peer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 79a4b69adb1e365b16eb8521c79ef1c6985c6b91&lt;/p&gt;</comment>
                            <comment id="318783" author="pjones" created="Sat, 20 Nov 2021 14:50:10 +0000"  >&lt;p&gt;Landed for 2.15&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|i027yf:</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>