<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:49:13 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-12048] nrs_policies not being set after reboot. </title>
                <link>https://jira.whamcloud.com/browse/LU-12048</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Setting nrs_policies on the MGS does not apply them when a server is rebooted. It seems to work only on the MGS node.&lt;/p&gt;

&lt;p&gt;&#160;&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 set_param -P ost.OSS.ost_io.nrs_policies=&lt;span class=&quot;code-quote&quot;&gt;&quot;tbf&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I check the params log file and it has the setting&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;
 # llog_reader /tmp/params 
rec #1 type=10620000 len=224 offset 8192
rec #2 type=10620000 len=104 offset 8416
rec #3 type=10620000 len=224 offset 8520
rec #4 type=10620000 len=224 offset 8744
rec #5 type=10620000 len=104 offset 8968
rec #6 type=10620000 len=224 offset 9072
rec #7 type=10620000 len=224 offset 9296
rec #8 type=10620000 len=120 offset 9520
rec #9 type=10620000 len=224 offset 9640
rec #10 type=10620000 len=224 offset 9864
rec #11 type=10620000 len=128 offset 10088
rec #12 type=10620000 len=224 offset 10216
rec #13 type=10620000 len=224 offset 10440
rec #14 type=10620000 len=120 offset 10664
rec #15 type=10620000 len=224 offset 10784
Header size : 8192
Time : Wed Mar  6 11:05:31 2019
&lt;span class=&quot;code-object&quot;&gt;Number&lt;/span&gt; of records: 15
Target uuid : 
-----------------------
#01 (224)SKIP START marker   2 (flags=0x05, v2.12.0.0) general         &lt;span class=&quot;code-quote&quot;&gt;&apos;at_min&apos;&lt;/span&gt; Tue Feb 26 12:28:57 2019-Tue Feb 26 12:29:08 2019
#02 (104)SKIP set_param 0:general  1:at_min=200  2:lctl  
#03 (224)SKIP END   marker   2 (flags=0x06, v2.12.0.0) general         &lt;span class=&quot;code-quote&quot;&gt;&apos;at_min&apos;&lt;/span&gt; Tue Feb 26 12:28:57 2019-Tue Feb 26 12:29:08 2019
#04 (224)marker   3 (flags=0x01, v2.12.0.0) general         &lt;span class=&quot;code-quote&quot;&gt;&apos;at_min&apos;&lt;/span&gt; Tue Feb 26 12:29:08 2019-
#05 (104)set_param 0:general  1:at_min=200  2:lctl  
#06 (224)END   marker   3 (flags=0x02, v2.12.0.0) general         &lt;span class=&quot;code-quote&quot;&gt;&apos;at_min&apos;&lt;/span&gt; Tue Feb 26 12:29:08 2019-
#07 (224)SKIP START marker   2 (flags=0x05, v2.12.0.0) OSS             &lt;span class=&quot;code-quote&quot;&gt;&apos;ost.OSS.ost_io.nrs_policies&apos;&lt;/span&gt; Wed Mar  6 10:48:11 2019-Wed Mar  6 10:50:01 2019
#08 (120)SKIP set_param 0:OSS  1:ost.OSS.ost_io.nrs_policies=tbf  2:lctl  
#09 (224)SKIP END   marker   2 (flags=0x06, v2.12.0.0) OSS             &lt;span class=&quot;code-quote&quot;&gt;&apos;ost.OSS.ost_io.nrs_policies&apos;&lt;/span&gt; Wed Mar  6 10:48:11 2019-Wed Mar  6 10:50:01 2019
#10 (224)SKIP START marker   3 (flags=0x05, v2.12.0.0) OSS             &lt;span class=&quot;code-quote&quot;&gt;&apos;ost.OSS.ost_io.nrs_policies&apos;&lt;/span&gt; Wed Mar  6 10:50:01 2019-Wed Mar  6 10:50:50 2019
#11 (128)SKIP set_param 0:OSS  1:ost.OSS.ost_io.nrs_policies=fifio  2:lctl  
#12 (224)SKIP END   marker   3 (flags=0x06, v2.12.0.0) OSS             &lt;span class=&quot;code-quote&quot;&gt;&apos;ost.OSS.ost_io.nrs_policies&apos;&lt;/span&gt; Wed Mar  6 10:50:01 2019-Wed Mar  6 10:50:50 2019
#13 (224)marker   4 (flags=0x01, v2.12.0.0) OSS             &lt;span class=&quot;code-quote&quot;&gt;&apos;ost.OSS.ost_io.nrs_policies&apos;&lt;/span&gt; Wed Mar  6 10:50:50 2019-
#14 (120)set_param 0:OSS  1:ost.OSS.ost_io.nrs_policies=tbf  2:lctl  
#15 (224)END   marker   4 (flags=0x02, v2.12.0.0) OSS             &lt;span class=&quot;code-quote&quot;&gt;&apos;ost.OSS.ost_io.nrs_policies&apos;&lt;/span&gt; Wed Mar  6 10:50:50 2019-
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Also when running the following on the MGS this should push out the settings all servers.&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 set_param -P ost.OSS.ost_io.nrs_policies=&lt;span class=&quot;code-quote&quot;&gt;&quot;tbf&quot;&lt;/span&gt;
lctl set_param -P ost.OSS.ost_io.nrs_tbf_rule=&lt;span class=&quot;code-quote&quot;&gt;&quot;start css gid={1128} rate=10000&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="55081">LU-12048</key>
            <summary>nrs_policies not being set after reboot. </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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Mar 2019 19:33:21 +0000</created>
                <updated>Wed, 27 Mar 2019 01:22:25 +0000</updated>
                            <resolved>Wed, 27 Mar 2019 01:13:30 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="243427" author="simmonsja" created="Wed, 6 Mar 2019 20:18:46 +0000"  >&lt;p&gt;I just tried it manually, no reboot and it looks like it works. Is it only a reboot issue?&lt;/p&gt;</comment>
                            <comment id="243428" author="mhanafi" created="Wed, 6 Mar 2019 21:22:51 +0000"  >&lt;p&gt;What do you mean &quot;manually&quot;&lt;/p&gt;

&lt;p&gt;Those setting should get set correctly on all servers after a reboot.&lt;/p&gt;</comment>
                            <comment id="243430" author="mhanafi" created="Wed, 6 Mar 2019 22:15:41 +0000"  >&lt;p&gt;Is this related?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10937&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.whamcloud.com/browse/LU-10937&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="243436" author="emoly.liu" created="Wed, 6 Mar 2019 23:41:51 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mhanafi&quot; class=&quot;user-hover&quot; rel=&quot;mhanafi&quot;&gt;mhanafi&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I tried this locally, after umount and mount my OST, it still works. Could you please try the following steps in your system?&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;run &quot; lctl set_param -P ost.OSS.ost_io.nrs_policies=&quot;tbf&quot; &quot; on the MGS&lt;/li&gt;
	&lt;li&gt;run &quot; lctl get_param ost.OSS.ost_io.nrs_policies &quot; to make sure &quot;tbf&quot; is enabled correctly. This may take a few seconds.&lt;/li&gt;
	&lt;li&gt;reboot or umount/mount your OST and see if &quot;tbf&quot; is still enabled.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please post the output here and upload MGS/OST logs if you still hit the issue.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="243438" author="mhanafi" created="Wed, 6 Mar 2019 23:53:09 +0000"  >&lt;p&gt;Ok Now I can&apos;t reproduce it. Is there way to I can clear out the params file on the MGS and re-test this.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="243507" author="emoly.liu" created="Thu, 7 Mar 2019 20:58:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mhanafi&quot; class=&quot;user-hover&quot; rel=&quot;mhanafi&quot;&gt;mhanafi&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;You can erase configuration logs by writeconf command.&#160;After that and&#160;the servers restart, the&#160;configuration logs are re-generated and stored on the MGS (as in a new file system). But in this way, you must umount all the clients/MDT/OSTs, run writeconf command on MGS/MDT/OSTs/ devices respectively, then mount them again. Please note that all the parameters will be cleared, so this is a dangerous operation.&lt;/p&gt;

&lt;p&gt;Are you sure you want to do this? Or just use &quot;lctl set_param&quot; to set nrs_policies to fifo back, and then redo tbf test again?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="244672" author="mhanafi" created="Tue, 26 Mar 2019 16:13:33 +0000"  >&lt;p&gt;We can close this case&lt;/p&gt;</comment>
                            <comment id="244702" author="emoly.liu" created="Wed, 27 Mar 2019 01:13:30 +0000"  >&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="244703" author="simmonsja" created="Wed, 27 Mar 2019 01:22:25 +0000"  >&lt;p&gt;lctl set_param&#160; -P -d &quot;cmd&quot; will delete parameters on the MGS server.&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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00cun:</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>