<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:28:47 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-16645] rmfid returns &quot;unrecognized FID: 1&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-16645</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This was seen multiple time while working on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16618&quot; title=&quot;rmfid miscellaneous fixes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16618&quot;&gt;LU-16618&lt;/a&gt;. Will add more debugging details soon.&lt;/p&gt;

&lt;p&gt;Given all inputs are correct. lfs rmfid returns unrecogized fid: 1.&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;$ lfs rmfid lustre [0x200000402:0x1:0x0]
unrecognized FID: 1&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Looks like the input itself is already mangled when sent to server. &lt;/p&gt;

&lt;p&gt;Ouput of strace&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;&amp;lt;snip&amp;gt;
&#160; 1 execve(&quot;/usr/bin/lfs&quot;, [&quot;lfs&quot;, &quot;rmfid&quot;, &quot;lustreT&quot;, &quot;1&quot;], 0x7ffe70d14d18 /* 53 vars */) = 0
&amp;lt;snip&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;client/server version&lt;/p&gt;

&lt;p&gt;&#160;&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;Client: 2.15.54.79
MDS: 2.15.54.79
OSS: 2.15.54.79
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Kernel version: 4.18.0-372.9.1.el8.x86_64&lt;/p&gt;</description>
                <environment></environment>
        <key id="75089">LU-16645</key>
            <summary>rmfid returns &quot;unrecognized FID: 1&quot;</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="6">Not a Bug</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Mar 2023 09:19:58 +0000</created>
                <updated>Tue, 21 Mar 2023 07:24:56 +0000</updated>
                            <resolved>Tue, 21 Mar 2023 07:24:56 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="366333" author="adilger" created="Sat, 18 Mar 2023 06:18:14 +0000"  >&lt;p&gt;Is this because of a file named &quot;1&quot; in the current directory?  Using &quot;&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000402:0x1:0x0&amp;#93;&lt;/span&gt;&lt;/tt&gt;&quot; around the FID will be resolved by bash equivalent to a regexp of &quot;&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0124:x&amp;#93;&lt;/span&gt;&lt;/tt&gt;&quot; so it would match a file named &quot;&lt;tt&gt;1&lt;/tt&gt;&quot; (eg. from a badly-directed stdout).&lt;/p&gt;

&lt;p&gt;Presumably the test would pass if the FID was given without &quot;&lt;tt&gt;[]&lt;/tt&gt;&quot; around it. &lt;/p&gt;</comment>
                            <comment id="366378" author="arshad512" created="Mon, 20 Mar 2023 03:49:06 +0000"  >&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;Is this because of a file named &quot;1&quot; in the current directory? Using &quot;[0x200000402:0x1:0x0]&quot; around the FID will be resolved by bash equivalent to a regexp of &quot;[0124:x]&quot; so it would match a file named &quot;1&quot; (eg. from a badly-directed stdout).&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160; Thanks for the inputs. There is no manual input and lustre is mounted fresh every time. (ran as standard ONLY=421aa lustre/tests/sanity.sh). I will check on this further.&lt;/p&gt;

&lt;p&gt;&#160;&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;Presumably the test would pass if the FID was given without &quot;[]&quot; around it.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Understood.&#160; Since I am using it within script. Just (lazily) passing the &apos;[ ]&apos; without removing it.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="366594" author="arshad512" created="Tue, 21 Mar 2023 07:20:58 +0000"  >&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;Is this because of a file named &quot;1&quot; in the current directory? &amp;lt;snip&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Andreas, I now get what you meant. Sorry for not getting it first time.&lt;/p&gt;</comment>
                            <comment id="366595" author="arshad512" created="Tue, 21 Mar 2023 07:24:56 +0000"  >&lt;p&gt;Not an lfs bug. (See Andreas&apos;s comments) within ticket.&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|i03ghr:</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>