[LU-10930] lnet module parameter "forwarding" does not enable routing Created: 19/Apr/18 Updated: 19/Apr/18 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Olaf Faaland | Assignee: | Sonia Sharma (Inactive) |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | llnl | ||
| Environment: |
Red Hat Enterprise Linux Server release 7.5 Beta (Maipo) |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
Setting forwarding="enabled" in lnet modprobe conf file does not enable routing. That is, after starting lnet with the configuration below, "lnetctl routing show" returns nothing. Also, a compute node (also 2.11) with a route whose gateway is configured as below, shows the route is down. The specific configuration tested was:
and
|
| Comments |
| Comment by Olaf Faaland [ 19/Apr/18 ] |
|
I haven't tested a combination of lnetctl import/YAML configuration and lnet module options configuration like this, in 2.10 yet. |
| Comment by Peter Jones [ 19/Apr/18 ] |
|
Sonia Can you please advise? Thanks Peter |
| Comment by Amir Shehata (Inactive) [ 19/Apr/18 ] |
|
There is a couple of ways you can start up LNet. The legacy way is lctl net up. And the new way is lnetctl lnet configure. When you run lnetctl lnet configure. It doesn't configure the system using any of the module parameters which lnetctl handles. This was by design to prevent conflict between module parameters and lnet.conf YAML file. If you would like to load the module parameters you can run: lnetctl lnet configure --all. I see though that you are using lnet.conf to startup the system, so I wouldn't recommend loading the module parameters which are also configured from lnetctl. The idea is to rely on only one source of configuration. |
| Comment by Olaf Faaland [ 19/Apr/18 ] |
|
> The idea is to rely on only one source of configuration. That makes sense, but then I think at least two changes are necessary:
Also, lnetctl routing show and lnetctl export need to report that routing is disabled. As you see below, neither do, although they report when it is enabled.
|
| Comment by Olaf Faaland [ 19/Apr/18 ] |
|
I verified that with 2.11, if "forwarding" and "networks" are set as module parameters, that lnetctl configure --all does enable routing as well as creating networks and associated NIDs. Also, thanks for the clarification. |