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

DLC: lnetctl import --del delete the configuration successfully but shows error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • Lustre 2.7.0
    • None
    • lustre-b2_7 build #29
    • 3
    • 17750

      when running “lnetctl import FILE --del”, the command actually delete the configuration successfully but still shows error message

      the error message indicates "cannot delete route: No such file or directory", but it did delete the router from the configuration.

      [root@eagle-54vm3 network-scripts]# lnetctl route show -v
      route:
          - net: tcp
            gateway: 192.168.201.101@tcp1
            hop: 1
            priority: 0
            state: up
      [root@eagle-54vm3 network-scripts]# lnetctl import client.yaml --del
      LNet: Removed LNI 192.168.201.180@tcp1
      del:
          - net:
                errno: -22
                descr: "cannot delete network: Invalid argument"
          - net:
                errno: 0
                descr: "success"
          - route:
                errno: -2
                descr: "cannot delete route: No such file or directory"
      [root@eagle-54vm3 network-scripts]# lnetctl route show -v
      [root@eagle-54vm3 network-scripts]# 
      [root@eagle-54vm3 network-scripts]# 
      

            ashehata Amir Shehata (Inactive)
            sarah Sarah Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: