<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:40:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-11057] Client mount option &quot;-o network=net&quot; does not work with LNet dynamic peer discovery</title>
                <link>https://jira.whamcloud.com/browse/LU-11057</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;It appears the client mount option &quot;-o network=net&quot; does not work with LNet dynamic peer discovery.&lt;br/&gt;
For the record, the purpose of the &quot;network&quot; client mount option is to limit connections from the client to be on the network NID specified by &apos;net&apos; (&apos;net&apos; designates a single network NID, like &apos;o2ib2&apos; or &apos;tcp1&apos;).&lt;br/&gt;
This feature was landed in 2.10:&lt;br/&gt;
&lt;a href=&quot;https://review.whamcloud.com/19792&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/19792&lt;/a&gt;&lt;br/&gt;
This option can be useful in case of several Lustre client mount points on the same node, with each mount point using a different network. It is also interesting when running Lustre clients from containers, by restricting each container to a specific network.&lt;br/&gt;
In fact, this client mount option is decisive to implement multi-tenancy with Lustre.&lt;/p&gt;

&lt;p&gt;When LNet dynamic peer discovery is enabled, the &quot;-o network=net&quot; client mount option has no effect.&lt;br/&gt;
When LNet dynamic peer discovery is disabled cluster-wide (either by issuing &quot;lnetctl set discovery 0&quot; on all nodes, or adding line &quot;options lnet lnet_peer_discovery_disabled=1&quot; to modprobe.conf on all nodes), then &quot;-o network=net&quot; client mount option is taken into account.&lt;/p&gt;

&lt;p&gt;This is a problem as LNet dynamic peer discovery is enabled by default starting with Lustre 2.11.&lt;br/&gt;
The &quot;-o network=net&quot; client mount option should not be ignored, this is considered as a regression. Even when LNet dynamic peer discovery is enabled, it should be possible to restrict a client import to only use a given NID.&lt;/p&gt;

&lt;p&gt;I have looked into the code, but with the recent features landed, LNet code has become more complicated, and I am not able to figure out how to re-implement client-side network restriction.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Sebastien.&lt;/p&gt;</description>
                <environment></environment>
        <key id="52400">LU-11057</key>
            <summary>Client mount option &quot;-o network=net&quot; does not work with LNet dynamic peer discovery</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="sbuisson">Sebastien Buisson</reporter>
                        <labels>
                            <label>lnet</label>
                    </labels>
                <created>Fri, 25 May 2018 14:04:49 +0000</created>
                <updated>Wed, 15 Feb 2023 09:26:39 +0000</updated>
                            <resolved>Fri, 12 Oct 2018 18:25:40 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="228628" author="gerrit" created="Fri, 25 May 2018 16:24:52 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32562&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32562&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; obd: check &apos;-o network&apos; and peer discovery conflict&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a4a808d33a5ca4f53beee69832c526b057707fbc&lt;/p&gt;</comment>
                            <comment id="228908" author="gerrit" created="Thu, 31 May 2018 13:44:49 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32590&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32590&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; tests: exercise &apos;network&apos; client mount option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: edacb8b5b59f9bfa04681f7fe2dee05fe96fc269&lt;/p&gt;</comment>
                            <comment id="231795" author="sbuisson" created="Fri, 10 Aug 2018 12:54:53 +0000"  >&lt;p&gt;Carrying out some more tests, I realized that the exports list as seen under /proc/fs/lustre/&lt;b&gt;/$fsname-&lt;/b&gt;/exports can be misleading when LNet dynamic peer discovery is on. Indeed, the &apos;name&apos; used for the export does not assume anything on the actual connection used.&lt;/p&gt;

&lt;p&gt;So it turns out the &apos;-o network&apos; mount option is taken into account as soon as LNet dynamic peer discovery is deactivated on the local client node (meaning there is no need to have it disabled cluster-wide, it can be handled on each node individually).&lt;/p&gt;</comment>
                            <comment id="232941" author="gerrit" created="Tue, 4 Sep 2018 03:48:36 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32562/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32562/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; obd: check &apos;-o network&apos; and peer discovery conflict&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2269d27e07cb4dd9c80a770dec45fa6bd22883ab&lt;/p&gt;</comment>
                            <comment id="233264" author="gerrit" created="Mon, 10 Sep 2018 16:53:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32590/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32590/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; tests: exercise &apos;network&apos; client mount option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 76af9f62481b1ac910cd6a0f7237fe32b0657c29&lt;/p&gt;</comment>
                            <comment id="233283" author="pjones" created="Mon, 10 Sep 2018 17:43:56 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                            <comment id="233335" author="gerrit" created="Tue, 11 Sep 2018 16:52:29 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33139&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; tests: exercise &apos;network&apos; client mount option&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 55ebb1ce7c419ee358ced64a5daeba9afa31afed&lt;/p&gt;</comment>
                            <comment id="233338" author="gerrit" created="Tue, 11 Sep 2018 17:06:14 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33139/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33139/&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; tests: exercise &apos;network&apos; client mount option&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3d05ffdca87fb96f7971b612e8ed7455500a8826&lt;/p&gt;</comment>
                            <comment id="233673" author="gerrit" created="Tue, 18 Sep 2018 10:30:15 +0000"  >&lt;p&gt;Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33189&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33189&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; tests: exercise &apos;network&apos; client mount option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 33329534df9b6996d82d2f1d29c7d2f0947f6ec2&lt;/p&gt;</comment>
                            <comment id="234848" author="gerrit" created="Fri, 12 Oct 2018 18:24:39 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33189/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33189/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11057&quot; title=&quot;Client mount option &amp;quot;-o network=net&amp;quot; does not work with LNet dynamic peer discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11057&quot;&gt;&lt;del&gt;LU-11057&lt;/del&gt;&lt;/a&gt; tests: exercise &apos;network&apos; client mount option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 4e429959cb9943a98daee9aedb0bfa1853d8d625&lt;/p&gt;</comment>
                            <comment id="234849" author="pjones" created="Fri, 12 Oct 2018 18:25:40 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="74686">LU-16557</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53274">LU-11363</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61491">LU-14108</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzxtr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>