<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:42:09 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-4374] lctl set_param -d -P mdt.&lt;FSname&gt;-MDT0000.hsm_control, returns a false error when default already set</title>
                <link>https://jira.whamcloud.com/browse/LU-4374</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;On a 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;[root@mds ~]# dmesg -c &amp;gt; /dev/null
[root@mds ~]# lctl set_param -P mdt.lustre-MDT0000.hsm_control=enabled
[root@mds ~]# dmesg
Lustre: Setting parameter general.mdt.lustre-MDT0000.hsm_control in log params
Lustre: MGS: non-config logname received: params
Lustre: Skipped 13 previous similar messages
LustreError: 3043:0:(mdt_coordinator.c:950:mdt_hsm_cdt_start()) lustre-MDT0000: Coordinator already started
[root@mds ~]# lctl set_param -d -P mdt.lustre-MDT0000.hsm_control
[root@mds ~]# dmesg
Lustre: Setting parameter general.mdt.lustre-MDT0000.hsm_control in log params
Lustre: MGS: non-config logname received: params
Lustre: Skipped 13 previous similar messages
LustreError: 3043:0:(mdt_coordinator.c:950:mdt_hsm_cdt_start()) lustre-MDT0000: Coordinator already started
Lustre: Disabling parameter general.mdt.lustre-MDT0000.hsm_control in log params
[root@mds ~]# lctl set_param -d -P mdt.lustre-MDT0000.hsm_control
error: executing set_param: Success
[root@mds ~]# dmesg
Lustre: Setting parameter general.mdt.lustre-MDT0000.hsm_control in log params
Lustre: MGS: non-config logname received: params
Lustre: Skipped 13 previous similar messages
LustreError: 3043:0:(mdt_coordinator.c:950:mdt_hsm_cdt_start()) lustre-MDT0000: Coordinator already started
Lustre: Disabling parameter general.mdt.lustre-MDT0000.hsm_control in log params
Lustre: Disabling parameter general.mdt.lustre-MDT0000.hsm_control in log params
LustreError: 3051:0:(mgs_handler.c:744:mgs_iocontrol()) MGS: setparam err: rc = 1
[root@mds ~]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This seem to come from the wrong interpretation of rc=1 being returned from mgs_modify() when no config-llog record modification occured (!rc &amp;amp;&amp;amp; !mml-&amp;gt;mml_modified) in llog_process().&lt;/p&gt;

&lt;p&gt;Will provide a patch soon.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22415">LU-4374</key>
            <summary>lctl set_param -d -P mdt.&lt;FSname&gt;-MDT0000.hsm_control, returns a false error when default already set</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="bfaccini">Bruno Faccini</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Dec 2013 14:39:23 +0000</created>
                <updated>Thu, 24 Apr 2014 17:35:50 +0000</updated>
                            <resolved>Thu, 24 Apr 2014 17:35:50 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="73608" author="bfaccini" created="Mon, 16 Dec 2013 18:43:15 +0000"  >&lt;p&gt;Issue has been discovered during &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4065&quot; title=&quot;sanity-hsm test_300 failure: &amp;#39;cdt state is not stopped&amp;#39; &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4065&quot;&gt;&lt;del&gt;LU-4065&lt;/del&gt;&lt;/a&gt; analysis.&lt;br/&gt;
Patch is at &lt;a href=&quot;http://review.whamcloud.com/8567&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8567&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="73661" author="bfaccini" created="Tue, 17 Dec 2013 08:53:57 +0000"  >&lt;p&gt;Patch local testing does not show any more false error/msg when no config-llog update occurs because default/value is already set.&lt;/p&gt;</comment>
                            <comment id="75677" author="bfaccini" created="Mon, 27 Jan 2014 15:11:58 +0000"  >&lt;p&gt;New patch-set #2 submitted to fix issue but also address comments from J-C.&lt;/p&gt;
</comment>
                            <comment id="79032" author="bfaccini" created="Tue, 11 Mar 2014 19:44:30 +0000"  >&lt;p&gt;Reviewers ok, waiting for patch to land now.&lt;/p&gt;</comment>
                            <comment id="79980" author="bfaccini" created="Fri, 21 Mar 2014 12:06:45 +0000"  >&lt;p&gt;Patch re-based and latest comments addressed in patch-set 6 of &lt;a href=&quot;http://review.whamcloud.com/8567&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8567&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="82416" author="jlevi" created="Thu, 24 Apr 2014 17:35:50 +0000"  >&lt;p&gt;Patch landed to Master.&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|hzwb3j:</customfieldvalue>

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