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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Lustre 2.7.0
    • Fix Version/s: Lustre 2.8.0
    • Labels:
      None
    • Environment:
      lustre-b2_7 build #29
    • Severity:
      3
    • Rank (Obsolete):
      17750

      Description

      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]# 
      

        Issue Links

          Activity

          Hide
          ashehata Amir Shehata added a comment -

          Can you please share the yaml file you're using.

          Show
          ashehata Amir Shehata added a comment - Can you please share the yaml file you're using.
          Hide
          sarah Sarah Liu added a comment -

          please see the attached for the yaml file.

          Show
          sarah Sarah Liu added a comment - please see the attached for the yaml file.

            People

            • Assignee:
              ashehata Amir Shehata
              Reporter:
              sarah Sarah Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: