<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:24:18 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-16134] lctl set_param -F translate all settings to mgs/params config</title>
                <link>https://jira.whamcloud.com/browse/LU-16134</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A YAML file with settings has event type conf_param and set_param.&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;- {device: testfs-MDT0001, event: conf_param, index: 76, parameter:
  lod.qos_threshold_rr=100}
- { index: 17, event: set_param, device: general,
  parameter: jobid_var, value: procname_uid }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The main difference for type is where setting is stored and how it is applied. A conf_param setting locates at a specific to service configuration file (lustre-MDT0000, fs-OST0020). A set_param setting locates at a params file. A params is applied to all nodes, and a conf_param to a specific service. &lt;br/&gt;
set_param -F yaml.file translates all setting to a set_param -P.&lt;br/&gt;
And this brings an errors like&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;Nov 16 11:35:52 kjlmo704 systemd-udevd[1738733]: Process &apos;/usr/sbin/lctl set_param &apos;osc.testfs-OST0000-osc-MDT0000.checksums=0&apos;&apos; failed with exit code 2.
Nov 16 11:35:52 kjlmo704 systemd-udevd[1738736]: Process &apos;/usr/sbin/lctl set_param &apos;ost.testfs-OST0001.sync_journal=0&apos;&apos; failed with exit code 2.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;becase params would be applied at all nodes and many nodes does not have such device or subsystem.&lt;/p&gt;

&lt;p&gt;The right solution is to adopt applying yaml file to  distinguish set_param and conf_param settings, and store it in a right way. This approach has a conflict in naming &lt;br/&gt;
lctl conf_param &lt;br/&gt;
lctl set_param &lt;br/&gt;
lctl set_param -F (for both)&lt;br/&gt;
so I introduced a new command lctl apply_yaml.&lt;/p&gt;</description>
                <environment></environment>
        <key id="72151">LU-16134</key>
            <summary>lctl set_param -F translate all settings to mgs/params config</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="aboyko">Alexander Boyko</assignee>
                                    <reporter username="aboyko">Alexander Boyko</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Fri, 2 Sep 2022 08:03:35 +0000</created>
                <updated>Thu, 28 Sep 2023 14:45:38 +0000</updated>
                            <resolved>Thu, 28 Sep 2023 14:45:38 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="345514" author="gerrit" created="Fri, 2 Sep 2022 09:00:09 +0000"  >&lt;p&gt;&quot;Alexander Boyko &amp;lt;alexander.boyko@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48419&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48419&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16134&quot; title=&quot;lctl set_param -F translate all settings to mgs/params config&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16134&quot;&gt;&lt;del&gt;LU-16134&lt;/del&gt;&lt;/a&gt; utils: adds lctl apply_yaml&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c7f52dd941fd9735088fd4f5cf164787298a0cc8&lt;/p&gt;</comment>
                            <comment id="387496" author="gerrit" created="Thu, 28 Sep 2023 07:59:53 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/48419/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48419/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16134&quot; title=&quot;lctl set_param -F translate all settings to mgs/params config&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16134&quot;&gt;&lt;del&gt;LU-16134&lt;/del&gt;&lt;/a&gt; utils: adds lctl apply_yaml&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 29cfdc2f1e7a17be7605338cd5d12abd0314fbe5&lt;/p&gt;</comment>
                            <comment id="387589" author="pjones" created="Thu, 28 Sep 2023 14:45:38 +0000"  >&lt;p&gt;Landed for 2.16&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|i02ywv:</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>