<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:44:40 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-11529] lnetctl does not change NI health value from YAML configuration file</title>
                <link>https://jira.whamcloud.com/browse/LU-11529</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;[root@trevis-402 ~]# lnetctl net show
net:
    - net type: lo   
      local NI(s):   
        - nid: 0@lo  
          status: up 
&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;[root@trevis-402 ~]# cat lnet.yaml
net:
    - net type: o2ib 
      local NI(s):   
        - nid: 192.168.1.2@o2ib
          status: up 
          interfaces:
              0: ib0 
          statistics:
              send_count: 0
              recv_count: 0
              drop_count: 0
          sent_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          received_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          dropped_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          health stats:
              health value: 512      &amp;lt;------------ health value was set to 512 in the YAML file
              interrupts: 0
              dropped: 0
              aborted: 0
              no route: 0
              timeouts: 0
              error: 0
          tunables:  
              peer_timeout: 180
              peer_credits: 8
              peer_buffer_credits: 0
              credits: 256
              peercredits_hiw: 4
              map_on_demand: 1
              concurrent_sends: 0
              fmr_pool_size: 512
              fmr_flush_trigger: 384
              fmr_cache: 1
              ntx: 512
              conns_per_peer: 1
          lnd tunables:
          dev cpt: 0 
          tcp bonding: 0
          CPT: &quot;[0,1]&quot;
global:
    numa_range: 0
    max_intf: 200
    discovery: 1
&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;[root@trevis-402 ~]# lnetctl import --add lnet.yaml
[root@trevis-402 ~]# lnetctl net show
net:
    - net type: lo   
      local NI(s):   
        - nid: 0@lo  
          status: up 
    - net type: o2ib 
      local NI(s):   
        - nid: 192.168.1.2@o2ib
          status: up 
          interfaces:
              0: ib0 
&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;[root@trevis-402 ~]# lnetctl net show -v 3
net:
    - net type: lo   
      local NI(s):   
        - nid: 0@lo  
          status: up 
          statistics:
              send_count: 0
              recv_count: 0
              drop_count: 0
          sent_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          received_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          dropped_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          health stats:
              health value: 0
              interrupts: 0
              dropped: 0
              aborted: 0
              no route: 0
              timeouts: 0
              error: 0
          tunables:  
              peer_timeout: 0
              peer_credits: 0
              peer_buffer_credits: 0
              credits: 0
          dev cpt: 0 
          tcp bonding: 0
          CPT: &quot;[0,1]&quot;
    - net type: o2ib 
      local NI(s):   
        - nid: 192.168.1.2@o2ib
          status: up 
          interfaces:
              0: ib0 
          statistics:
              send_count: 0
              recv_count: 0
              drop_count: 0
          sent_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          received_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          dropped_stats:
              put: 0 
              get: 0 
              reply: 0
              ack: 0 
              hello: 0
          health stats:
              health value: 1000      &amp;lt;------------ health value became default instead of 512 in the YAML file
              interrupts: 0
              dropped: 0
              aborted: 0
              no route: 0
              timeouts: 0
              error: 0
          tunables:  
              peer_timeout: 180
              peer_credits: 8
              peer_buffer_credits: 0
              credits: 256
              peercredits_hiw: 4
              map_on_demand: 1
              concurrent_sends: 0
              fmr_pool_size: 512
              fmr_flush_trigger: 384
              fmr_cache: 1
              ntx: 512
              conns_per_peer: 1
          lnd tunables:
          dev cpt: 0 
          tcp bonding: 0
          CPT: &quot;[0,1]&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Lustre Build: &lt;a href=&quot;https://build.whamcloud.com/job/lustre-master/3806/&quot;&gt;https://build.whamcloud.com/job/lustre-master/3806/&lt;/a&gt;</environment>
        <key id="53621">LU-11529</key>
            <summary>lnetctl does not change NI health value from YAML configuration file</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="ashehata">Amir Shehata</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>lnet-health</label>
                    </labels>
                <created>Wed, 17 Oct 2018 00:58:02 +0000</created>
                <updated>Fri, 21 Jan 2022 01:07:11 +0000</updated>
                                            <version>Lustre 2.12.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="235018" author="yujian" created="Wed, 17 Oct 2018 01:05:59 +0000"  >&lt;p&gt;lnetctl command also does not set the value correctly:&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;# lnetctl net set --nid 192.168.1.2@o2ib --health 256
&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;# lnetctl net show -v 3
net:
    - net type: lo
      local NI(s):
        - nid: 0@lo
          status: up
          statistics:
              send_count: 0
              recv_count: 0
              drop_count: 0
          sent_stats:
              put: 0
              get: 0
              reply: 0
              ack: 0
              hello: 0
          received_stats:
              put: 0
              get: 0
              reply: 0
              ack: 0
              hello: 0
          dropped_stats:
              put: 0
              get: 0
              reply: 0
              ack: 0
              hello: 0
          health stats:
              health value: 0
              interrupts: 0
              dropped: 0
              aborted: 0
              no route: 0
              timeouts: 0
              error: 0
          tunables:
              peer_timeout: 0
              peer_credits: 0
              peer_buffer_credits: 0
              credits: 0
          dev cpt: 0
          tcp bonding: 0
          CPT: &quot;[0,1]&quot;
    - net type: o2ib
      local NI(s):
        - nid: 192.168.1.2@o2ib
          status: up
          interfaces:
              0: ib0
          statistics:
              send_count: 70
              recv_count: 70
              drop_count: 0
          sent_stats:
              put: 0
              get: 70
              reply: 0
              ack: 0
              hello: 0
          received_stats:
              put: 0
              get: 35
              reply: 35
              ack: 0
              hello: 0
          dropped_stats:
              put: 0
              get: 0
              reply: 0
              ack: 0
              hello: 0
          health stats:
              health value: 361      &amp;lt;------------ health value became 361 instead of 256
              interrupts: 0
              dropped: 0
              aborted: 0
              no route: 0
              timeouts: 0
              error: 0
          tunables:
              peer_timeout: 180
              peer_credits: 8
              peer_buffer_credits: 0
              credits: 256
              peercredits_hiw: 4
              map_on_demand: 1
              concurrent_sends: 0
              fmr_pool_size: 512
              fmr_flush_trigger: 384
              fmr_cache: 1
              ntx: 512
              conns_per_peer: 1
          lnd tunables:
          dev cpt: 0
          tcp bonding: 0
          CPT: &quot;[0,1]&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="235056" author="ashehata" created="Wed, 17 Oct 2018 19:49:06 +0000"  >&lt;p&gt;This is a debug command. The purpose of it is to test that when the health value is set to something other than the maximum, then it gets put on the recovery queue. That&apos;s why you see the value not exactly what you set it. When it gets put on the recovery queue the interface gets pinged and with every successful ping the health value is increased. If you wait for a bit, the health value should go back up to the maximum value.&lt;/p&gt;

&lt;p&gt;I didn&apos;t add a way to change that from YAML. I know the test case says that, but now that I think about it, since this is a debugging command, I don&apos;t think setting it from YAML is a necessity.&lt;/p&gt;

&lt;p&gt;I&apos;m now thinking that it might be a good idea to move this under the debug subcommand instead of keeping it in net. So might as well keep this ticket open for that purpose.&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|i004bz:</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>