[LU-9086] obd_config.c:1258:class_process_config()) no device for: Created: 08/Feb/17 Updated: 21/Apr/18 Resolved: 23/Apr/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.0 |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Nathan Lavender (Inactive) | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7.3 |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
Secure RPC rules are being ignored due to an issue introduced by commit 0308951e8bba1663bc9495eee2f6ae631e6bcbd0 for {{LustreError: 2696:0:(obd_config.c:1258:class_process_config()) no device for: lustre-ffff880078dd9e70 For my tests I set the following rules: then: lustre.srpc.flavor.tcp.cli2mdt=krb5p All resources mount fine but cli2mdt and cli2ost connections aren't secured, they default to null. |
| Comments |
| Comment by James A Simmons [ 28/Feb/17 ] |
|
This bug is preventing me for fixing |
| Comment by Gerrit Updater [ 13/Mar/17 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/25959 |
| Comment by James A Simmons [ 14/Mar/17 ] |
|
The patch appears to fix this problem. Have you tried it? |
| Comment by Nathan Lavender (Inactive) [ 28/Mar/17 ] |
|
The following error is logged multiple times on each of the nodes: mgc_request.c:2143:mgc_process_log()) MGC172.18.0.18@tcp: configuration from log 'lustre-sptlrpc' failed (-2).
when SEC=krb5p and executing llmount.sh. Perhaps these logs will provide some clues as to why the rules are being ignored. |
| Comment by James A Simmons [ 30/Mar/17 ] |
|
So the question is now are the sptlrpc configurations per filesystem or per obd device. John asked the question about the case if we have two MGTs each with a filesystem named 'lustre' (and the client mounts both). |
| Comment by Nathan Lavender (Inactive) [ 30/Mar/17 ] |
|
It seems that sptlrpc rules are per filesystem. Setting a rule on one MGT affects the client's connection(s) to the other filesystem named 'lustre':
client# lctl get_param ..srpc_* | grep -A2 mdc.lustre mgs1# lctl conf_param lustre.srpc.flavor.default.cli2mdt=krb5p client# lctl get_param ..srpc_* | grep -A2 mdc.lustre
This test was conducted with Lustre v.2.9.0 |
| Comment by James A Simmons [ 04/Apr/17 ] |
|
[root@ninja11 live]# cat lustre Secure RPC Config Rules: imperative_recovery_state: It lives!!!! Will push now. |
| Comment by Gerrit Updater [ 23/Apr/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25959/ |
| Comment by Peter Jones [ 23/Apr/17 ] |
|
Landed for 2.10 |