<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:38 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-5917] DNE II Testing: lctl set_param -P not working for some parameters?</title>
                <link>https://jira.whamcloud.com/browse/LU-5917</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In relation to our DNE II testing, I tried to set enable_remote_dir_gid on a test file system.  I was able to do so with lctl conf_param, but set_param -P does not appear to work.  (I believe conf_param is being phased out, though?  I hope so - The error messages it gives are inconsistent and unhelpful.)&lt;/p&gt;

&lt;p&gt;This node is the MGS and an MDS - I had previously set the value to -1 with conf_param:&lt;br/&gt;
cat /proc/fs/lustre/mdt/centssm2-MDT0000/enable_remote_dir_gid &lt;br/&gt;
-1&lt;/p&gt;

&lt;p&gt;I then did:&lt;br/&gt;
lctl set_param -P centssm2-MDT*.mdt.enable_remote_dir_gid=0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Using the same syntax as for set_param&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Even after waiting a minute or two, this didn&apos;t change the value on the live file system:&lt;br/&gt;
cat /proc/fs/lustre/mdt/centssm2-MDT0000/enable_remote_dir_gid &lt;br/&gt;
-1&lt;/p&gt;

&lt;p&gt;I then stopped the file system - unmounting all targets - then started it again.&lt;/p&gt;

&lt;p&gt;Unfortunately, the value is still -1:&lt;br/&gt;
cat /proc/fs/lustre/mdt/centssm2-MDT0000/enable_remote_dir_gid &lt;br/&gt;
-1&lt;/p&gt;

&lt;p&gt;I tried without the *, with no improvement:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centss02 ~&amp;#93;&lt;/span&gt;# lctl set_param -P centssm2-MDT0000.mdt.enable_remote_dir_gid=0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centss02 ~&amp;#93;&lt;/span&gt;# cat /proc/fs/lustre/mdt/centssm2-MDT0000/enable_remote_dir_gid &lt;br/&gt;
-1&lt;/p&gt;

&lt;p&gt;So the command appears to be failing silently.  I&apos;m not sure if this is similar to conf_param, which seemed to sometimes fail silently when the argument was incorrect, or if the argument is correct and set_param is simply not working for this parameter.&lt;/p&gt;

&lt;p&gt;It does appear to work for max_rpcs_in_flight.&lt;/p&gt;

&lt;p&gt;I note also that get_param is not working for this parameter:&lt;br/&gt;
lctl get_param centssm2-MDT*.mdt.enable_remote_dir_gid&lt;br/&gt;
error: get_param: /proc/&lt;/p&gt;
{fs,sys}
&lt;p&gt;/&lt;/p&gt;
{lnet,lustre}
&lt;p&gt;/centssm2-MDT*/mdt/enable_remote_dir_gid: Found no match&lt;/p&gt;

&lt;p&gt;So I see two problems here:  It seems something is wrong with enable_remote_dir_gid, and lctl set_param -P is failing silently.&lt;/p&gt;</description>
                <environment>Recent master, CentOS clients and servers, DNE.</environment>
        <key id="27580">LU-5917</key>
            <summary>DNE II Testing: lctl set_param -P not working for some parameters?</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="di.wang">Di Wang</assignee>
                                    <reporter username="paf">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Nov 2014 17:18:47 +0000</created>
                <updated>Thu, 13 Nov 2014 18:06:19 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="99048" author="jlevi" created="Thu, 13 Nov 2014 18:06:19 +0000"  >&lt;p&gt;Di,&lt;br/&gt;
Can you please comment on this one?&lt;br/&gt;
Thank you!&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|hzx0vb:</customfieldvalue>

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