<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:19:55 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-15625] set_param -P must not be used for root squash</title>
                <link>https://jira.whamcloud.com/browse/LU-15625</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Only &lt;tt&gt;lctl conf_param&lt;/tt&gt; must be used to set root squash parameters. If &lt;tt&gt;lctl set_param -P&lt;/tt&gt; is used, the value is set only on server side permanently, and any other value set via conf_param is ignored. Plus this value is not forwarded to client side.&lt;/p&gt;</description>
                <environment></environment>
        <key id="68989">LU-15625</key>
            <summary>set_param -P must not be used for root squash</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="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="sebastien">Sebastien Buisson</reporter>
                        <labels>
                            <label>sec</label>
                    </labels>
                <created>Mon, 7 Mar 2022 17:36:20 +0000</created>
                <updated>Sun, 21 Aug 2022 13:39:04 +0000</updated>
                            <resolved>Mon, 27 Jun 2022 15:55:45 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="328302" author="gerrit" created="Mon, 7 Mar 2022 17:39:36 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46728&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46728&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15625&quot; title=&quot;set_param -P must not be used for root squash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15625&quot;&gt;&lt;del&gt;LU-15625&lt;/del&gt;&lt;/a&gt; sec: set_param -P must not be used for root squash&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fa37f40d246748937f8f0bf459c34b7c72e75c44&lt;/p&gt;</comment>
                            <comment id="328305" author="adilger" created="Mon, 7 Mar 2022 18:07:12 +0000"  >&lt;p&gt;It isn&apos;t really clear why &quot;&lt;tt&gt;set_param -P&lt;/tt&gt;&quot; is not working in this case?  Is there a different path or parameter name in use on the client compared to the server?&lt;/p&gt;

&lt;p&gt;It looks like that is the root of the problem:&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;# lctl list_param -R &quot;*&quot; | grep squash
llite.myth-ffff90f574676000.nosquash_nids
llite.myth-ffff90f574676000.root_squash
mdt.myth-MDT0000.nosquash_nids
mdt.myth-MDT0000.root_squash
nodemap.default.squash_gid
nodemap.default.squash_uid
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It looks like the squash parameter needs to be set 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;# lctl set_param -P *.myth*.root_squash=x:y
# lctl set_param -P *.myth*.nodquash_nids=xxx 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So that it includes the fsname but not the device name, so that it applies on both the client and server. &lt;/p&gt;

&lt;p&gt;It would really be better for usability if &quot;&lt;tt&gt;set_param -P&lt;/tt&gt;&quot; just worked properly in this case, since users are very unlikely to read the manual. One option would be for the config llog parsing to detect the case of &lt;tt&gt;mdt.&amp;#42;.root_squash&lt;/tt&gt; and replaced it with &lt;tt&gt;llite.&amp;#42;&lt;/tt&gt; so that it &quot;just worked&quot;.&lt;/p&gt;</comment>
                            <comment id="328382" author="sebastien" created="Tue, 8 Mar 2022 09:33:06 +0000"  >&lt;p&gt;OK, after discussion with Andreas, approach taken in &lt;a href=&quot;https://review.whamcloud.com/46728&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46728&lt;/a&gt; is not the best way to go.&lt;/p&gt;

&lt;p&gt;The patch for this problem should consist in fixing &lt;tt&gt;set_param -P&lt;/tt&gt; for &lt;tt&gt;root_squash&lt;/tt&gt; and &lt;tt&gt;nosquash_nids&lt;/tt&gt; parameters, so that this setting is correctly propagated to clients, and we do not end up with clients with inconsistent or no values at all for these parameters.&lt;/p&gt;</comment>
                            <comment id="328392" author="gerrit" created="Tue, 8 Mar 2022 13:29:52 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46739&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46739&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15625&quot; title=&quot;set_param -P must not be used for root squash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15625&quot;&gt;&lt;del&gt;LU-15625&lt;/del&gt;&lt;/a&gt; sec: fix set_param -P for root squash&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9dcb2e477ad58f35b9d63e689350e0fb927a0168&lt;/p&gt;</comment>
                            <comment id="338854" author="gerrit" created="Mon, 27 Jun 2022 04:57:06 +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/46739/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46739/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15625&quot; title=&quot;set_param -P must not be used for root squash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15625&quot;&gt;&lt;del&gt;LU-15625&lt;/del&gt;&lt;/a&gt; sec: fix set_param -P for root squash&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7b8449e8f9ed310376a191ec8dfa2f1cb6233377&lt;/p&gt;</comment>
                            <comment id="338884" author="gerrit" created="Mon, 27 Jun 2022 09:53:05 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47792&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47792&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15625&quot; title=&quot;set_param -P must not be used for root squash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15625&quot;&gt;&lt;del&gt;LU-15625&lt;/del&gt;&lt;/a&gt; sec: fix set_param -P for root squash&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6db1730e59e574bd5e6cb5537248eaf9e760322c&lt;/p&gt;</comment>
                            <comment id="338913" author="pjones" created="Mon, 27 Jun 2022 15:55:45 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="344184" author="gerrit" created="Sat, 20 Aug 2022 16:14:34 +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/47792/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47792/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15625&quot; title=&quot;set_param -P must not be used for root squash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15625&quot;&gt;&lt;del&gt;LU-15625&lt;/del&gt;&lt;/a&gt; sec: fix set_param -P for root squash&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8ea47747c9fcf3ba1d0bca8456f2ad978f8dd2d5&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|i02k4f:</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>