<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01: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-4200] Test failure on test suite conf-sanity test_66: replace nids failed </title>
                <link>https://jira.whamcloud.com/browse/LU-4200</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Nathaniel Clark &amp;lt;nathaniel.l.clark@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run:&lt;br/&gt;
&lt;a href=&quot;http://maloo.whamcloud.com/test_sets/d95b0f48-264f-11e3-8f1c-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/d95b0f48-264f-11e3-8f1c-52540035b04c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://maloo.whamcloud.com/test_sets/2d26cba2-266f-11e3-b741-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/2d26cba2-266f-11e3-b741-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The sub-test test_66 failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;replace nids failed&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: conf-sanity 66&lt;/p&gt;</description>
                <environment></environment>
        <key id="21827">LU-4200</key>
            <summary>Test failure on test suite conf-sanity test_66: replace nids failed </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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Nov 2013 14:07:59 +0000</created>
                <updated>Fri, 22 Sep 2023 22:26:33 +0000</updated>
                            <resolved>Mon, 24 Mar 2014 17:15:39 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="70747" author="bogl" created="Tue, 5 Nov 2013 17:04:14 +0000"  >&lt;p&gt;another&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/9612221a-462c-11e3-b5e8-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/9612221a-462c-11e3-b5e8-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="71955" author="bogl" created="Wed, 20 Nov 2013 14:37:57 +0000"  >&lt;p&gt;again:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/6d46bfb4-518d-11e3-9ca9-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/6d46bfb4-518d-11e3-9ca9-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="72435" author="adilger" created="Wed, 27 Nov 2013 20:20:33 +0000"  >&lt;p&gt;It looks like this is failing at least twice a day in recent weeks.&lt;/p&gt;</comment>
                            <comment id="73229" author="utopiabound" created="Tue, 10 Dec 2013 20:34:13 +0000"  >&lt;p&gt;MDT/MGS debug log:&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;20000000:00000001:1.0:1386348576.067947:0:21057:0:(mgs_llog.c:1214:mgs_replace_nids()) Process entered
20000000:00020000:1.0:1386348576.068074:0:21057:0:(mgs_llog.c:1224:mgs_replace_nids()) Only MGS is allowed to be started
20000000:00000001:1.0:1386348576.068947:0:21057:0:(mgs_llog.c:1225:mgs_replace_nids()) Process leaving via out (rc=18446744073709551501 : -115 : 0xffffffffffffff8d)
20000000:00000001:1.0:1386348576.068947:0:21057:0:(mgs_llog.c:1265:mgs_replace_nids()) Process leaving (rc=18446744073709551501 : -115 : ffffffffffffff8d)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="76328" author="yong.fan" created="Thu, 6 Feb 2014 02:16:12 +0000"  >&lt;p&gt;Another failure instance:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/5f4a3ae6-8e8f-11e3-8d06-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/5f4a3ae6-8e8f-11e3-8d06-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="76365" author="utopiabound" created="Thu, 6 Feb 2014 18:07:18 +0000"  >&lt;p&gt;Debugging patch:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/9160&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9160&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="78773" author="adilger" created="Fri, 7 Mar 2014 23:04:51 +0000"  >&lt;p&gt;I think this is caused by only_mgs_is_running() being confused by what it thinks the right value for obd_num_exports is.  I think that obd_num_exports is being incremented because of LWP connections from the OSTs.&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;&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; only_mgs_is_running(struct obd_device *mgs_obd)
{               
        &lt;span class=&quot;code-comment&quot;&gt;/* TDB: Is global variable with devices count exists? */&lt;/span&gt;
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; num_devices = get_devices_count();
        /* osd, MGS and MGC + self_export
           (wc -l /proc/fs/lustre/devices &amp;lt;= 2) &amp;amp;&amp;amp; (num_exports &amp;lt;= 2) */
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; (num_devices &amp;lt;= 3) &amp;amp;&amp;amp; (mgs_obd-&amp;gt;obd_num_exports &amp;lt;= 2);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;One option is to change only_mgs_is_running() to iterate over the MGS exports and return an error if any of them are not self or LWP connections.&lt;/p&gt;</comment>
                            <comment id="79281" author="utopiabound" created="Thu, 13 Mar 2014 19:33:02 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9650&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9650&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="80082" author="utopiabound" created="Mon, 24 Mar 2014 17:15:39 +0000"  >&lt;p&gt;Patch landed to master&lt;/p&gt;</comment>
                            <comment id="136678" author="artem_blagodarenko" created="Thu, 17 Dec 2015 06:53:58 +0000"  >&lt;p&gt;After this patch landed the test is failed in environment there mgs is dedicated to separate node. Connections from OSTs and MDSs are ignored because have OBD_CONNECT_MDS_MDS flag set. I am surprised why connection to MGS have this flag set, probably because actually OBD_CONNECT_MNE_SWAB is set and it have the same value.&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; #define OBD_CONNECT_MNE_SWAB OBD_CONNECT_MDS_MDS
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Probably we could exclude OBD_CONNECT_MDS_MDS from exceptions, because if LWP connections exists, the we can&apos;t assume &quot;MGS is alone&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;diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c
index e48f888..ef42e34 100644
--- a/lustre/mgs/mgs_llog.c
+++ b/lustre/mgs/mgs_llog.c
@@ -1165,8 +1165,6 @@ &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; only_mgs_is_running(struct obd_device *mgs_obd)
                &lt;span class=&quot;code-comment&quot;&gt;/* skip self export */&lt;/span&gt;
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (exp == mgs_obd-&amp;gt;obd_self_export)
                        &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;;
-               &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (exp_connect_flags(exp) &amp;amp; OBD_CONNECT_MDS_MDS)
-                       &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;;
 
                ++num_exports;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt; &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=utopiabound&quot; class=&quot;user-hover&quot; rel=&quot;utopiabound&quot;&gt;utopiabound&lt;/a&gt;, why have you ignore exports with  OBD_CONNECT_MDS_MDS flag set? &lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="54950">LU-11990</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|hzw7uv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11419</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>