<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:24:56 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-16204] Connections from MGC to a Combined MGS/MDT on failover node not working </title>
                <link>https://jira.whamcloud.com/browse/LU-16204</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After migrating the MGS/MDT0000 resources from node 1 to node 2.  MGC still on node 1 is unable to connect to the combined MGS/MDT on node 2.&lt;/p&gt;

&lt;p&gt;The issue here is that the combined MGS/MDT ignore failover nids for the MGS. When this target is mounted first, it creates a mgc without failover nids.&lt;br/&gt;
The others targets will reuse this mgc device (same name), without adding new failover nodes.&lt;br/&gt;
So, when the MDT/MGS target is mounted on node2, mgc on node 1 is not able to connect because of the missing failover nid.&lt;/p&gt;

&lt;p&gt;e.g:&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;[root@mds1 ~]# tunefs.lustre --dryrun /dev/mapper/mds1_flakey
checking for existing Lustre data: found

   Read previous values:
Target:     lustrefs-MDT0000
Index:      0
Lustre FS:  lustrefs
Mount type: ldiskfs
Flags:      0x5
              (MDT MGS )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters: mgsnode=10.0.2.4@tcp:10.0.2.7@tcp

[root@mds1 ~]# tunefs.lustre --dryrun /dev/mapper/mds2_flakey       
checking for existing Lustre data: found

   Read previous values:
Target:     lustrefs-MDT0001
Index:      1
Lustre FS:  lustrefs
Mount type: ldiskfs
Flags:      0x1
              (MDT )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters: mgsnode=10.0.2.4@tcp:10.0.2.7@tcp
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Mount mds1_flakey and then mds2_flakey:&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;[root@mds1 ~]# mount -tlustre /dev/mapper/mds1_flakey /media/lustrefs/mds1
[root@mds1 ~]# mount -tlustre /dev/mapper/mds2_flakey /media/lustrefs/mds2
[root@mds1 ~]# lctl dl
  0 UP osd-ldiskfs lustrefs-MDT0000-osd lustrefs-MDT0000-osd_UUID 8
  1 UP mgs MGS MGS 4
  2 UP mgc MGC10.0.2.4@tcp 9b8dda76-560c-449d-ad56-a81a673cd1aa 4
  3 UP mds MDS MDS_uuid 2
...
[root@mds1 ~]# lctl get_param mgc.MGC10.0.2.4@tcp.import
mgc.MGC10.0.2.4@tcp.import=
import:
    name: MGC10.0.2.4@tcp
    target: MGS
    state: FULL
    connect_flags: [ version, barrier, adaptive_timeouts, full20, imp_recov, bulk_mbits, second_flags, reply_mbits ]
    connect_data:
       flags: 0xa000011001002020
       instance: 0
       target_version: 2.15.51.0
    import_flags: [ pingable, connect_tried ]
    connection:
       failover_nids: [ 0@lo ]                                        &amp;lt;----------------
       current_connection: 0@lo
       connection_attempts: 1
       generation: 1
       in-progress_invalidations: 0
       idle: 78545 sec
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Mount mds2_flakey and then mds1_flakey:&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;[root@mds1 ~]# lctl get_param mgc.MGC10.0.2.4@tcp.import                                                           
mgc.MGC10.0.2.4@tcp.import=
import:
    name: MGC10.0.2.4@tcp
    target: MGS
    state: FULL
    connect_flags: [ version, barrier, adaptive_timeouts, full20, imp_recov, bulk_mbits, second_flags, reply_mbits ]
    connect_data:
       flags: 0xa000011001002020
       instance: 0
       target_version: 2.15.51.0
    import_flags: [ pingable, connect_tried ]
    connection:
       failover_nids: [ 0@lo, 10.0.2.7@tcp ]              &amp;lt;----------------
       current_connection: 0@lo
       connection_attempts: 10
       generation: 1
       in-progress_invalidations: 0
       idle: 60 sec
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>master branch + VMs&lt;br/&gt;
2.12.9 + patches on a production cluster&lt;br/&gt;
(more than 1 MDT per node)</environment>
        <key id="72644">LU-16204</key>
            <summary>Connections from MGC to a Combined MGS/MDT on failover node not working </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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="eaujames">Etienne Aujames</assignee>
                                    <reporter username="eaujames">Etienne Aujames</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Oct 2022 14:39:37 +0000</created>
                <updated>Tue, 4 Oct 2022 15:09:28 +0000</updated>
                                            <version>Lustre 2.12.9</version>
                    <version>Lustre 2.15.0</version>
                    <version>Lustre 2.15.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                    <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|i031yf:</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>