<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:17:39 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-1552] opening lost+found: triggers (mdt_open.c:784:mdt_finish_open()) ASSERTION( ma-&gt;ma_valid &amp; MA_INODE ) failed:</title>
                <link>https://jira.whamcloud.com/browse/LU-1552</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Opening .lustre/fid/&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000001:0xd:0x0&amp;#93;&lt;/span&gt;/lost+found triggers an unchecked error in mdt_reint_open() which causes a failed assertion in mdt_finish_open().&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;[root]# sys_stat .lustre/fid/[0xb:0x0:0x0]
cannot stat `.lustre/fid/[0xb:0x0:0x0]&apos;: No such file or directory
[root]# sys_open .lustre/fid/[0xb:0x0:0x0] r
cannot open `.lustre/fid/[0xb:0x0:0x0]&apos; with flags 0, mode 0666: No such file or directory
[root]# sys_stat .lustre/fid/[0x200000001:0xd:0x0]/lost+found
cannot stat `.lustre/fid/[0x200000001:0xd:0x0]/lost+found&apos;: No such file or directory
[root]# sys_open .lustre/fid/[0x200000001:0xd:0x0]/lost+found r
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In mdt_reint_open(), the call to mdo_lookup() is succeeding, but mo_attr_get() is failing with -ENOENT.  (The return of mdd_la_get() becomes the return of mo_attr_get() here.)  However the return of mo_attr_get() is only tested against -EREMOTE.  Since mo_attr_get() failed, it did not set MA_INODE in ma_valid.&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;LustreError: 30584:0:(mdd_object.c:83:mdd_la_get()) (null): object [0xb:0x0:0x0] not found: rc = -2
LustreError: 30584:0:(mdt_open.c:784:mdt_finish_open()) ASSERTION( ma-&amp;gt;ma_valid &amp;amp; MA_INODE ) failed: 
LustreError: 30584:0:(mdt_open.c:784:mdt_finish_open()) LBUG
Pid: 30584, comm: mdt_01

Call Trace:
 [&amp;lt;ffffffffa0308905&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
 [&amp;lt;ffffffffa0308f17&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
 [&amp;lt;ffffffffa0a64b15&amp;gt;] mdt_finish_open+0x12f5/0x1790 [mdt]
 [&amp;lt;ffffffffa0a6701b&amp;gt;] mdt_reint_open+0xc0b/0x1950 [mdt]
 [&amp;lt;ffffffffa0a351a5&amp;gt;] ? mdt_ucred+0x15/0x20 [mdt]
 [&amp;lt;ffffffffa0a50b51&amp;gt;] mdt_reint_rec+0x41/0xe0 [mdt]
 [&amp;lt;ffffffffa0a4a3aa&amp;gt;] mdt_reint_internal+0x50a/0x810 [mdt]
 [&amp;lt;ffffffffa0a4a97d&amp;gt;] mdt_intent_reint+0x1ed/0x500 [mdt]
 [&amp;lt;ffffffffa0a46cc1&amp;gt;] mdt_intent_policy+0x371/0x6a0 [mdt]
 [&amp;lt;ffffffffa05bc841&amp;gt;] ldlm_lock_enqueue+0x361/0x8f0 [ptlrpc]
 [&amp;lt;ffffffffa05e420a&amp;gt;] ldlm_handle_enqueue0+0x48a/0xf40 [ptlrpc]
 [&amp;lt;ffffffffa0a46866&amp;gt;] mdt_enqueue+0x46/0x130 [mdt]
 [&amp;lt;ffffffffa0a3c2a2&amp;gt;] mdt_handle_common+0x922/0x1740 [mdt]
 [&amp;lt;ffffffffa0a3d195&amp;gt;] mdt_regular_handle+0x15/0x20 [mdt]
 [&amp;lt;ffffffffa06128a2&amp;gt;] ptlrpc_server_handle_request+0x412/0xeb0 [ptlrpc]
 [&amp;lt;ffffffffa030965e&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
 [&amp;lt;ffffffffa0319daf&amp;gt;] ? lc_watchdog_touch+0x6f/0x180 [libcfs]
 [&amp;lt;ffffffffa060b6d2&amp;gt;] ? ptlrpc_wait_event+0xb2/0x2c0 [ptlrpc]
 [&amp;lt;ffffffff81051ba3&amp;gt;] ? __wake_up+0x53/0x70
 [&amp;lt;ffffffffa0613b17&amp;gt;] ptlrpc_main+0x7d7/0x1610 [ptlrpc]
 [&amp;lt;ffffffffa0613340&amp;gt;] ? ptlrpc_main+0x0/0x1610 [ptlrpc]
 [&amp;lt;ffffffff8100c14a&amp;gt;] child_rip+0xa/0x20
 [&amp;lt;ffffffffa0613340&amp;gt;] ? ptlrpc_main+0x0/0x1610 [ptlrpc]
 [&amp;lt;ffffffffa0613340&amp;gt;] ? ptlrpc_main+0x0/0x1610 [ptlrpc]
 [&amp;lt;ffffffff8100c140&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>[root]# cat /proc/fs/lustre/version&lt;br/&gt;
lustre: 2.2.57&lt;br/&gt;
kernel: patchless_client&lt;br/&gt;
build:  2.2.57-ge827449-CHANGED-2.6.32-220.23.1.el6.l2.2.55</environment>
        <key id="15000">LU-1552</key>
            <summary>opening lost+found: triggers (mdt_open.c:784:mdt_finish_open()) ASSERTION( ma-&gt;ma_valid &amp; MA_INODE ) failed:</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="14949">LU-1532</parent>
                                    <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="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>fid</label>
                    </labels>
                <created>Thu, 21 Jun 2012 16:21:04 +0000</created>
                <updated>Thu, 18 Apr 2013 18:46:46 +0000</updated>
                            <resolved>Thu, 18 Apr 2013 18:46:46 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="41016" author="adilger" created="Thu, 21 Jun 2012 22:30:18 +0000"  >&lt;p&gt;John,&lt;br/&gt;
all of the &quot;FID_SEQ_LOCAL_FILE&quot; files should be denied access from any external node.  They are all intended to be used internally by the MDS or OSS when accessing objects in the OSD filesystem.  This should be fixed along with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1532&quot; title=&quot;only allow FID_SEQ_NORMAL from clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1532&quot;&gt;&lt;del&gt;LU-1532&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;These bugs are definitely an interesting class of problems, but it makes sense to step back for a bit and get the first ones fixed before seeing what other new issues can be produced.&lt;/p&gt;</comment>
                            <comment id="41518" author="adilger" created="Thu, 5 Jul 2012 15:34:03 +0000"  >&lt;p&gt;These bugs are symptoms that internal files should not be accessible through .lustre.&lt;/p&gt;</comment>
                            <comment id="47687" author="rhenwood" created="Mon, 12 Nov 2012 12:12:07 +0000"  >&lt;p&gt;Following the reproducer on current Master does not produce the failure:&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;[root@lmaster-124 sys]# cd /mnt/lustre/
[root@lmaster-124 lustre]# /root/hammond/sys/sys_stat .lustre/fid/[0xb:0x0:0x0]
cannot stat `.lustre/fid/[0xb:0x0:0x0]&apos;: Invalid argument
[root@lmaster-124 lustre]# /root/hammond/sys/sys_open .lustre/fid/[0xb:0x0:0x0] r
cannot open `.lustre/fid/[0xb:0x0:0x0]&apos; with flags 0, mode 0666: Invalid argument
[root@lmaster-124 lustre]# /root/hammond/sys/sys_stat .lustre/fid/[0x200000001:0xd:0x0]/lost+found
cannot stat `.lustre/fid/[0x200000001:0xd:0x0]/lost+found&apos;: Invalid argument
[root@lmaster-124 lustre]# /root/hammond/sys/sys_open .lustre/fid/[0x200000001:0xd:0x0]/lost+found r
cannot open `.lustre/fid/[0x200000001:0xd:0x0]/lost+found&apos; with flags 0, mode 0666: Invalid argument
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;m assuming this has been fixed by the closing of issue &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1532&quot; title=&quot;only allow FID_SEQ_NORMAL from clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1532&quot;&gt;&lt;del&gt;LU-1532&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="14908">LU-1518</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzvoiv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7794</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>