Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11529

lnetctl does not change NI health value from YAML configuration file

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      [root@trevis-402 ~]# lnetctl net show
      net:
          - net type: lo   
            local NI(s):   
              - nid: 0@lo  
                status: up 
      
      [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      <------------ 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: "[0,1]"
      global:
          numa_range: 0
          max_intf: 200
          discovery: 1
      
      [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 
      
      [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: "[0,1]"
          - 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      <------------ 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: "[0,1]"
      

      Attachments

        Issue Links

          Activity

            People

              ashehata Amir Shehata (Inactive)
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: