<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:28:03 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-16557] don&apos;t skip add_conn with -o network mount option</title>
                <link>https://jira.whamcloud.com/browse/LU-16557</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Mount option -o network is used to restrict client network to access servers. It filters networks during &apos;setup&apos;&#160; configure command and skips all &apos;add_conn&apos; commands if connection UUID has no correct network mention. Meawhile that UUID in add_conn is just a name, and real NIDs attached to it may be on correct network. Skipping such add_conn skips also possible failover NIDs and leave client without knowledge about failover nodes.&lt;/p&gt;

&lt;p&gt;E.g. in configuration below:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt; - { index: 68, event: add_uuid, nid: 10.160.44.6@tcp(0x200000aa02c06), node: 10.160.44.6@tcp }
- { index: 69, event: add_uuid, nid: 10.160.44.38@tcp1(0x200010aa02c26), node: 10.160.44.6@tcp }
- { index: 85, event: attach, device: lustre-MDT0002-mdc, type: mdc, UUID: lus27-clilmv_UUID }
- { index: 86, event: setup, device: lustre-MDT0002-mdc, UUID: lustre-MDT0002_UUID, node: 10.160.44.6@tcp }

### here after setup both @tcp and @tcp1 NIDs are filtered and the latter is kept, note that connection UUID used in &apos;setup&apos; has &quot;@tcp&quot; network and that is not taken into account properly

### here below result of --servicenode option, first there are nids and finally add_conn with then:

- { index: 87, event: add_uuid, nid: 10.160.44.6@tcp(0x200000aa02c06), node: 10.160.44.6@tcp }
- { index: 88, event: add_uuid, nid: 10.160.44.38@tcp1(0x200010aa02c26), node: 10.160.44.6@tcp }
- { index: 103, event: add_conn, device: lustre-MDT0002-mdc, node: 10.160.44.6@tcp }

### second node
- { index: 104, event: add_uuid, nid: 10.160.44.7@tcp(0x200000aa02c07), node: 10.160.44.7@tcp }
- { index: 105, event: add_uuid, nid: 10.160.44.39@tcp1(0x200010aa02c27), node: 10.160.44.7@tcp }
- { index: 120, event: add_conn, device: lustre-MDT0002-mdc, node: 10.160.44.7@tcp }

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Each &apos;add_conn&apos; was configured with NID on restricted network &quot;@tcp1&quot; but &apos;add_conn&apos; is skipped because it has no mention of &quot;tcp1&quot; in own name. Therefore client mounted without second node at address &lt;tt&gt;10.160.44.39@tcp1&lt;/tt&gt; and can&apos;t connect to server during failover.&lt;/p&gt;</description>
                <environment></environment>
        <key id="74686">LU-16557</key>
            <summary>don&apos;t skip add_conn with -o network mount option</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Feb 2023 09:25:16 +0000</created>
                <updated>Tue, 11 Apr 2023 02:05:13 +0000</updated>
                            <resolved>Wed, 1 Mar 2023 13:32:21 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="362859" author="tappro" created="Wed, 15 Feb 2023 09:54:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/fs/lustre-release/+/49986/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/fs/lustre-release/+/49986/&lt;/a&gt; - proposed patch saves restricted network info in import during &apos;setup&apos; command processing, so it is possible to apply restriction each time when &lt;tt&gt;import_set_conn()&lt;/tt&gt; is called. Therefore it is applied on &apos;add_conn&apos; in the same manner and I assume that will allow to mount with -o network and Dynamic Discovery LNet enabled, since it is using the same code to add connections&lt;/p&gt;</comment>
                            <comment id="364475" author="gerrit" created="Wed, 1 Mar 2023 06:19:36 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49986/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49986/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16557&quot; title=&quot;don&amp;#39;t skip add_conn with -o network mount option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16557&quot;&gt;&lt;del&gt;LU-16557&lt;/del&gt;&lt;/a&gt; client: -o network needs add_conn processing&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c508c9426838f16256223ab0bbd648bfbec25e46&lt;/p&gt;</comment>
                            <comment id="364508" author="pjones" created="Wed, 1 Mar 2023 13:32:21 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="364738" author="gerrit" created="Thu, 2 Mar 2023 18:14:19 +0000"  >&lt;p&gt;&quot;Mikhail Pershin &amp;lt;mpershin@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50187&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50187&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16557&quot; title=&quot;don&amp;#39;t skip add_conn with -o network mount option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16557&quot;&gt;&lt;del&gt;LU-16557&lt;/del&gt;&lt;/a&gt; client: -o network needs add_conn processing&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1f3f62eb8b74e6c29c8b9b62bcfc1884855a15a8&lt;/p&gt;</comment>
                            <comment id="368981" author="gerrit" created="Tue, 11 Apr 2023 00:06:39 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50187/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50187/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16557&quot; title=&quot;don&amp;#39;t skip add_conn with -o network mount option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16557&quot;&gt;&lt;del&gt;LU-16557&lt;/del&gt;&lt;/a&gt; client: -o network needs add_conn processing&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0543381b2f0ea6e2980315765ad34ae37411d36a&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="52400">LU-11057</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="35157">LU-7845</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i03e5j:</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>