<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:06:54 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-14108] Mounting targets created with mkfs &quot;network&quot; option should disable discovery</title>
                <link>https://jira.whamcloud.com/browse/LU-14108</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The&#160;&lt;tt&gt;--network=&lt;/tt&gt;&#160;option to mkfs.lustre allows restricting a target (OST/MDT) to a given LNet network. This&#160;makes it register to the MGS with the specified network only. However, dynamic discovery is unaware of this restriction and this can create problems.&lt;/p&gt;

&lt;p&gt;If this scenario is recognised, it is possible to deal with it in at least two ways:&lt;/p&gt;

&lt;p&gt;1)&#160; Prevent the mount with an error.&lt;/p&gt;

&lt;p&gt;2) Disable dynamic discovery with a warning, prevent from enabling discovery in the future.&lt;/p&gt;</description>
                <environment></environment>
        <key id="61491">LU-14108</key>
            <summary>Mounting targets created with mkfs &quot;network&quot; option should disable discovery</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="cbordage">Cyril Bordage</assignee>
                                    <reporter username="ssmirnov">Serguei Smirnov</reporter>
                        <labels>
                            <label>lnet</label>
                    </labels>
                <created>Mon, 2 Nov 2020 19:35:19 +0000</created>
                <updated>Tue, 30 May 2023 08:33:10 +0000</updated>
                            <resolved>Tue, 30 May 2023 08:33:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="284050" author="ssmirnov" created="Mon, 2 Nov 2020 23:14:15 +0000"  >&lt;p&gt;To reproduce, use --network option when formatting targets with mkfs.lustre. The following is an example from the customer setup:&lt;/p&gt;

&lt;p&gt;&quot;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The error is occurring between MDS (md1) and OSS (all OSS showing similar errors). For example, in the case of rcf2-OST000d, it is being mounted on os2, but md1 is trying to connect it to os1 repeatedly. Usually rcf2-OST000d is mounted on os2 (primary OSS for this OST) and error should not happen.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;tunefs.lustre shows network=o2ib1, and primary is os2 (172.20.2.26@o2ib1) and secondary is os1 (172.20.2.25@o2ib1)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&quot;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[root@os2 ~]# tunefs.lustre --dryrun /dev/mapper/OST0d
checking &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; existing Lustre data: found

   Read previous values:
Target:     rcf2-OST000d
Index:      13
Lustre FS:  rcf2
Mount type: ldiskfs
Flags:      0x2
              (OST )
Persistent mount opts: errors=remount-ro
Parameters:  mgsnode=172.20.2.11@o2ib:172.20.2.12@o2ib failover.node=172.20.2.25@o2ib1 network=o2ib1


   Permanent disk data:
Target:     rcf2-OST000d
Index:      13
Lustre FS:  rcf2
Mount type: ldiskfs
Flags:      0x2
              (OST )
Persistent mount opts: errors=remount-ro
Parameters:  mgsnode=172.20.2.11@o2ib:172.20.2.12@o2ib failover.node=172.20.2.25@o2ib1 network=o2ib1

exiting before disk write.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It should be possible to reproduce with a simpler setup.&#160;&lt;/p&gt;

&lt;p&gt;The symptom is the error message similar to the following:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Oct 22 11:58:27 os1-s kernel: Lustre: rcf2-OST0001: Received &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; MDS connection from 172.20.2.11@o2ib, removing former export from same NID
Oct 22 11:58:27 os1-s kernel: Lustre: Skipped 47 previous similar messages
 ...
Oct 22 12:02:13 os1-s kernel: LustreError: 137-5: rcf2-OST000d_UUID: not available &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; connect from 172.20.2.11@o2ib (no target). If you are running an HA pair check that the target is mounted on the other server.
Oct 22 12:02:13 os1-s kernel: LustreError: Skipped 47 previous similar messages&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;To see how the targets are registered to the MGS, run command similar to the following on the MGS:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
lctl --device MGS llog_print rcf2-MDT0000&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This should show that only NIDs on the network specified as the option with mkfs were used.&lt;/p&gt;</comment>
                            <comment id="327513" author="gerrit" created="Sat, 26 Feb 2022 00:04:02 +0000"  >&lt;p&gt;&quot;Cyril Bordage &amp;lt;cbordage@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46632&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46632&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14108&quot; title=&quot;Mounting targets created with mkfs &amp;quot;network&amp;quot; option should disable discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14108&quot;&gt;&lt;del&gt;LU-14108&lt;/del&gt;&lt;/a&gt; mount: prevent if --network and discovery&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f5f0dba9c253a25ba9b6d06a0b4e361aa48690d5&lt;/p&gt;</comment>
                            <comment id="332905" author="gerrit" created="Mon, 25 Apr 2022 21:42:35 +0000"  >&lt;p&gt;&quot;Cyril Bordage &amp;lt;cbordage@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47137&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47137&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14108&quot; title=&quot;Mounting targets created with mkfs &amp;quot;network&amp;quot; option should disable discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14108&quot;&gt;&lt;del&gt;LU-14108&lt;/del&gt;&lt;/a&gt; tests: mount with discovery and network&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 038db7e1872e6ef743921744fb09f0f0c201124a&lt;/p&gt;</comment>
                            <comment id="348690" author="gerrit" created="Tue, 4 Oct 2022 19:34:50 +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/+/46632/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/46632/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14108&quot; title=&quot;Mounting targets created with mkfs &amp;quot;network&amp;quot; option should disable discovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14108&quot;&gt;&lt;del&gt;LU-14108&lt;/del&gt;&lt;/a&gt; mount: prevent if --network and discovery&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e82836f56ee7a9337a86ad0a32f19751024c7ec6&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>
                            </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|i01e33:</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>