<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:25:52 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-9400] conf-sanity test 103 hangs with separate MGS and MDS</title>
                <link>https://jira.whamcloud.com/browse/LU-9400</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;conf-sanity test_103 hangs when the MGS and MDS are on separate nodes. &lt;/p&gt;

&lt;p&gt;Looking at the test_renamfs() routine in conf-sanity.sh, the first thing it does is check if we have a combined MDS and MGS. If we do, then rename the MGS. After that, we rename 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;7197 test_renamefs() {
7198         local newname=$1
7199 
7200         echo &lt;span class=&quot;code-quote&quot;&gt;&quot;rename $FSNAME to $newname&quot;&lt;/span&gt;
7201 
7202         &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ ! combined_mgs_mds ]; then
7203                 local facet=$(mgsdevname)
7204 
7205                 do_facet mgs \
7206                         &lt;span class=&quot;code-quote&quot;&gt;&quot;$TUNEFS --fsname=$newname --rename=$FSNAME -v $facet&quot;&lt;/span&gt;||
7207                         error &lt;span class=&quot;code-quote&quot;&gt;&quot;(7) Fail to rename MGS&quot;&lt;/span&gt;
7208                 &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ &lt;span class=&quot;code-quote&quot;&gt;&quot;$(facet_fstype $facet)&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;zfs&quot;&lt;/span&gt; ]; then
7209                         reimport_zpool mgs $newname-mgs
7210                 fi
7211         fi
7212 
7213         &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; num in $(seq $MDSCOUNT); &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
7214                 local facet=$(mdsdevname $num)
7215 
7216                 do_facet mds${num} \
7217                         &lt;span class=&quot;code-quote&quot;&gt;&quot;$TUNEFS --fsname=$newname --rename=$FSNAME -v $facet&quot;&lt;/span&gt;||
7218                         error &lt;span class=&quot;code-quote&quot;&gt;&quot;(8) Fail to rename MDT $num&quot;&lt;/span&gt;
7219                 &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ &lt;span class=&quot;code-quote&quot;&gt;&quot;$(facet_fstype $facet)&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;zfs&quot;&lt;/span&gt; ]; then
7220                         reimport_zpool mds${num} $newname-mdt${num}
7221                 fi
7222         done
&#8230;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Yet, looking at the console output, we see that we enter the test_renamefs() routine and, with a separate MDS/MGS, we just skip over renaming the MGS and rename the MDS:&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;rename scratch to mylustre
checking for existing Lustre data: found
Reading CONFIGS/mountdata

   Read previous values:
Target:     scratch-MDT0000
Index:      0
Lustre FS:  scratch
Mount type: ldiskfs
Flags:      0x1
              (MDT )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters: mgsnode=10.100.4.154@tcp sys.timeout=20 lov.stripesize=1048576 lov.stripecount=0 mdt.identity_upcall=/usr/sbin/l_getidentity
&#8230;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem is that the test_renamefs() routine checks for a combined MDS/MGS (calls combined_mgs_mds) in the &#8220;test&#8221; brackets and test doesn&#8217;t execute the combined_mgs_mds routine.&lt;/p&gt;

&lt;p&gt;The fix is to remove the &#8220;&lt;span class=&quot;error&quot;&gt;&amp;#91;&#8220; &#8220;&amp;#93;&lt;/span&gt;&#8221; from line 7202 of conf-sanity.sh.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="45733">LU-9400</key>
            <summary>conf-sanity test 103 hangs with separate MGS and MDS</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="jamesanunez">James Nunez</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>easy</label>
                            <label>test</label>
                    </labels>
                <created>Wed, 26 Apr 2017 15:53:05 +0000</created>
                <updated>Mon, 17 Jun 2019 15:57:38 +0000</updated>
                            <resolved>Mon, 17 Jun 2019 15:57:38 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="193611" author="gerrit" created="Wed, 26 Apr 2017 16:03:57 +0000"  >&lt;p&gt;James Nunez (james.a.nunez@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26840&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26840&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9400&quot; title=&quot;conf-sanity test 103 hangs with separate MGS and MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9400&quot;&gt;&lt;del&gt;LU-9400&lt;/del&gt;&lt;/a&gt; test: conf-sanity 103 remove brackets from routine&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d9e0b166e8aa8ec9c02d11dd4bc714216da31d83&lt;/p&gt;</comment>
                            <comment id="217517" author="jamesanunez" created="Thu, 4 Jan 2018 18:46:34 +0000"  >&lt;p&gt;Patch 26840 was abandoned. The fix for this issue is at &lt;a href=&quot;https://review.whamcloud.com/#/c/28846/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/28846/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="40392">LU-8688</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|hzzb93:</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>