<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:11:28 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-7735] No way to revert the &quot;no_primnode&quot; flag on targets</title>
                <link>https://jira.whamcloud.com/browse/LU-7735</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When formatting a target or modifying an existing one with the parameter &quot;--servicenode&quot;, the flag no_primnode is set on the target, modifying the way the target is then registered on the MGS to avoid adding the NID of the node actually registering and let only the nids given with --servicenode parameters.&lt;/p&gt;

&lt;p&gt;However, if someone wants to revert to the older behavior with the &quot;--failnode&quot; parameter, the no_primnode flag is never unset, and the primary node NID is never added to the mountdata.&lt;/p&gt;


&lt;p&gt;A trivial fix is to unset the flag when using the &quot;--failnode&quot; parameter.&lt;/p&gt;

&lt;p&gt;I am currently unable to sign in to gerrit, so here is the patch inline:&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;diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c
index 8bf063a..f2f6f53 100644
--- a/lustre/utils/mkfs_lustre.c
+++ b/lustre/utils/mkfs_lustre.c
@@ -394,6 +394,7 @@ int parse_opts(int argc, char *const argv[], struct mkfs_opts *mop,
                         /* Must update the mgs logs */
                         mop-&amp;gt;mo_ldd.ldd_flags |= LDD_F_UPDATE;
                         if (opt == &apos;f&apos;) {
+                               mop-&amp;gt;mo_ldd.ldd_flags &amp;amp;= ~LDD_F_NO_PRIMNODE;
                                 failnode_set = 1;
                         } else {
                                 mop-&amp;gt;mo_ldd.ldd_flags |= LDD_F_NO_PRIMNODE;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="34454">LU-7735</key>
            <summary>No way to revert the &quot;no_primnode&quot; flag on targets</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.whamcloud.com/images/icons/priorities/trivial.svg">Trivial</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="spiechurski">Sebastien Piechurski</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 3 Feb 2016 13:20:12 +0000</created>
                <updated>Sat, 17 Dec 2016 15:23:30 +0000</updated>
                            <resolved>Sat, 17 Dec 2016 15:23:30 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.7.0</version>
                    <version>Lustre 2.5.3</version>
                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="140973" author="pjones" created="Wed, 3 Feb 2016 14:03:19 +0000"  >&lt;p&gt;Sebastien&lt;/p&gt;

&lt;p&gt;Is your intention to make this a Sev 1 - which indicates a production site out of service? Reading the description it does not sound that way, but, if so, which site is affected?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="140977" author="spiechurski" created="Wed, 3 Feb 2016 15:04:47 +0000"  >&lt;p&gt;Oops, sorry Peter, I inverted the meaning of severity.&lt;br/&gt;
Of course this can be set to the lowest severity.&lt;/p&gt;</comment>
                            <comment id="141020" author="pjones" created="Wed, 3 Feb 2016 17:56:26 +0000"  >&lt;p&gt;&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="141056" author="pjones" created="Wed, 3 Feb 2016 19:49:14 +0000"  >&lt;p&gt;Nathaniel&lt;/p&gt;

&lt;p&gt;Could you please look into this proposed change and see why this was changed in the first place?&lt;/p&gt;

&lt;p&gt;THanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="141195" author="gerrit" created="Thu, 4 Feb 2016 16:46:39 +0000"  >&lt;p&gt;Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/18304&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18304&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7735&quot; title=&quot;No way to revert the &amp;quot;no_primnode&amp;quot; flag on targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7735&quot;&gt;&lt;del&gt;LU-7735&lt;/del&gt;&lt;/a&gt; utils: Allow revert of NO_PRIMNODE&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ade3ef7cbfbf6a2cf0aa85a3b63ee4e6bdaeb7a4&lt;/p&gt;</comment>
                            <comment id="141196" author="utopiabound" created="Thu, 4 Feb 2016 16:46:45 +0000"  >&lt;p&gt;Going back to the old behaviour seems to have been overlooked when servicenode was added.  I&apos;ll add this as a patch.&lt;/p&gt;</comment>
                            <comment id="178233" author="gerrit" created="Sat, 17 Dec 2016 05:49:49 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/18304/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/18304/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7735&quot; title=&quot;No way to revert the &amp;quot;no_primnode&amp;quot; flag on targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7735&quot;&gt;&lt;del&gt;LU-7735&lt;/del&gt;&lt;/a&gt; utils: Allow revert of NO_PRIMNODE&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9cb507c6061d4d676de27d0b1b1cb471c1f1982d&lt;/p&gt;</comment>
                            <comment id="178288" author="pjones" created="Sat, 17 Dec 2016 15:23:30 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                    <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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 4 Feb 2016 13:20:12 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzy03z:</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="10023"><![CDATA[4]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 3 Feb 2016 13:20:12 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>