[LU-6338] DLC: lnetctl import --del delete the configuration successfully but shows error message Created: 06/Mar/15 Updated: 28/Jul/15 Resolved: 28/Jul/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sarah Liu | Assignee: | Amir Shehata (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
lustre-b2_7 build #29 |
||
| Attachments: |
|
| 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]#
|
| Comments |
| Comment by Amir Shehata (Inactive) [ 06/Mar/15 ] |
|
Can you please share the yaml file you're using. |
| Comment by Sarah Liu [ 09/Mar/15 ] |
|
please see the attached for the yaml file. |
| Comment by Amir Shehata (Inactive) [ 28/Jul/15 ] |
|
This error is due to the fact that the client.yaml file is trying to delete the lo net, which can not be deleted. Everything else is deleted properly. This is not a bug. |