<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:21:06 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-8851] nodemap: add flags to limit mapping to UID or GID only</title>
                <link>https://jira.whamcloud.com/browse/LU-8851</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There could be cases where different systems have the same UIDs but different GIDs, or vice versa, and therefore need mapping only for UIDs or GIDs. There should be a way to enable only UID mapping or only GID mapping. &lt;/p&gt;</description>
                <environment></environment>
        <key id="41674">LU-8851</key>
            <summary>nodemap: add flags to limit mapping to UID or GID only</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="kit.westneat">Kit Westneat</assignee>
                                    <reporter username="kit.westneat">Kit Westneat</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Nov 2016 15:34:42 +0000</created>
                <updated>Wed, 15 Dec 2021 02:36:45 +0000</updated>
                            <resolved>Mon, 1 May 2017 18:45:16 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="174242" author="gerrit" created="Fri, 18 Nov 2016 15:37:47 +0000"  >&lt;p&gt;Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23853&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23853&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8851&quot; title=&quot;nodemap: add flags to limit mapping to UID or GID only&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8851&quot;&gt;&lt;del&gt;LU-8851&lt;/del&gt;&lt;/a&gt; nodemap: add uid/gid only flags to control mapping&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0ae6cd826a556c30d5d5ae4f68b933e398ed6935&lt;/p&gt;</comment>
                            <comment id="182829" author="sthiell" created="Tue, 31 Jan 2017 19:39:49 +0000"  >&lt;p&gt;So far this patch works fine with the 2.9 community release.&lt;/p&gt;

&lt;p&gt;I have used it quite a lot and only a single time I noticed an error message when using nodemap_add_idmap but it did work as expected in the end:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;3785311.191429&amp;#93;&lt;/span&gt; LustreError: 117363:0:(mgs_handler.c:779:mgs_iocontrol_nodemap()) MGS: OBD_IOC_NODEMAP command CE046 for xstream: rc = -2&lt;/p&gt;

&lt;p&gt;Don&apos;t worry, I will report any other suspicious behavior. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;I guess the patch has several green lights from reviewers. Would Intel be ok to provide this patch in 2.9 FE?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="189010" author="sthiell" created="Mon, 20 Mar 2017 18:33:08 +0000"  >&lt;p&gt;Hi Kit,&lt;/p&gt;

&lt;p&gt;We have been using this patch for some time now, it is a critical patch to us and we&apos;re very happy to have it. We have noticed that lfs quota is broken from the GID-only clients with nodemap enabled. &lt;/p&gt;

&lt;p&gt;Example canonical GID 3199 on Oak mapped to 2709 on XStream:&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;[root@oak-rbh01 ~]# lfs quota -gh oak_ruthm /oak
Disk quotas &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; group oak_ruthm (gid 3199):
     Filesystem    used   quota   limit   grace   files   quota   limit   grace
           /oak  4.028T  9.313T     10T       -  115749  1450000 1500000       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;[sthiell@xstream-ln01 ~]$ lfs quota -hg srcc /oak
Disk quotas &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; group srcc (gid 2709):
     Filesystem    used   quota   limit   grace   files   quota   limit   grace
           /oak  4.028T      0k      0k       -       0       0       0       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We have both group disk and inodes quota enabled but only the disk usage is reported, weird heh?&lt;/p&gt;

&lt;p&gt;We&apos;re seeing the same behaviour on both Lustre 2.5 (Cray C3) and IEEL 3.0 (Lustre 2.7 based) clients. Intel, this is also tracked in DELL-291.&lt;/p&gt;

&lt;p&gt;I also see that a quota test failed. I checked your patch, but I didn&apos;t find anything related to quota. Kit, do you have an idea of what could be wrong here?&lt;/p&gt;

&lt;p&gt;Thanks much!&lt;br/&gt;
Stephane&lt;/p&gt;</comment>
                            <comment id="189765" author="kit.westneat" created="Mon, 27 Mar 2017 16:37:01 +0000"  >&lt;p&gt;Hi Stephane,&lt;/p&gt;

&lt;p&gt;I&apos;m glad the patch is working out! While I was digging into this, I found a typo in the nodemap quota code where if you check group quota, it actually maps the UID. I created &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9258&quot; title=&quot;nodemap: group quota ID not properly mapped &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9258&quot;&gt;&lt;del&gt;LU-9258&lt;/del&gt;&lt;/a&gt; and uploaded:&lt;br/&gt;
&lt;a href=&quot;https://review.whamcloud.com/26209&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26209&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Can you check out this patch and see if it fixes your issues?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Kit&lt;/p&gt;</comment>
                            <comment id="189774" author="sthiell" created="Mon, 27 Mar 2017 17:37:15 +0000"  >&lt;p&gt;Hi Kit,&lt;/p&gt;

&lt;p&gt;Good catch!!! Will do ASAP and let you know how it goes. Thanks so much!&lt;/p&gt;

&lt;p&gt;All the best,&lt;br/&gt;
Stephane&lt;/p&gt;</comment>
                            <comment id="194032" author="gerrit" created="Mon, 1 May 2017 17:47:59 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/23853/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/23853/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8851&quot; title=&quot;nodemap: add flags to limit mapping to UID or GID only&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8851&quot;&gt;&lt;del&gt;LU-8851&lt;/del&gt;&lt;/a&gt; nodemap: add uid/gid only flags to control mapping&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f7815c80d95b20c97317fbd7010013dca009121e&lt;/p&gt;</comment>
                            <comment id="194062" author="pjones" created="Mon, 1 May 2017 18:45:16 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="57891">LU-13172</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="18740">LU-3291</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="46732">LU-9671</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hzyw2v:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>