<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07:30 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-14178] conf-sanity test_5d: mount.lustre: mount at /mnt/lustre failed: Cannot allocate memory</title>
                <link>https://jira.whamcloud.com/browse/LU-14178</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There are essentially two problems here:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the first issue is that the LDLM namespace is not being cleaned up properly for some reason, which is causing sysfs to report an error trying to re-register a parameter file&lt;/li&gt;
	&lt;li&gt;the secondary issue is that &lt;tt&gt;ldlm_namespace_sysfs_register()&lt;/tt&gt; is returning an &lt;tt&gt;-EEXIST = -17&lt;/tt&gt; error to &lt;tt&gt;ldlm_namespace_new()&lt;/tt&gt;, but &lt;tt&gt;ldlm_namespace_new()&lt;/tt&gt; returns &lt;tt&gt;NULL&lt;/tt&gt; on any failure, and the caller interprets this &lt;tt&gt;NULL&lt;/tt&gt; as &lt;tt&gt;-ENOMEM = -12&lt;/tt&gt; which generates a misleading &quot;&lt;tt&gt;Cannot allocate memory&lt;/tt&gt;&quot; error higher up the stack and returns this to userspace
&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;sysfs: cannot create duplicate filename &apos;/fs/lustre/ldlm/namespaces/lustre-OST0002-osc-ffff89f33be70000&apos;
Call Trace:
 dump_stack+0x19/0x1b
 __warn+0xd8/0x100
 sysfs_warn_dup+0x64/0x80
 sysfs_create_dir_ns+0x8e/0xa0
 kobject_add_internal+0xaa/0x330
 kobject_init_and_add+0x70/0xb0
 ldlm_namespace_sysfs_register+0x68/0xc0 [ptlrpc]
 ldlm_namespace_new+0x335/0xac0 [ptlrpc]
 client_obd_setup+0xd77/0x1430 [ptlrpc]
 osc_setup_common+0x63/0x320 [osc]
 osc_setup+0x33/0x240 [osc]
 osc_device_alloc+0xa5/0x240 [osc]
 obd_setup+0x129/0x2f0 [obdclass]
 class_setup+0x2a8/0x840 [obdclass]
 class_process_config+0x1569/0x27c0 [obdclass]
 class_config_llog_handler+0x7f9/0x1370 [obdclass]
 llog_process_thread+0x85f/0x1a20 [obdclass]
 llog_process_thread_daemonize+0xa4/0xe0 [obdclass]
 kthread+0xd1/0xe0

mount.lustre: mount trevis-12vm4@tcp:/lustre at /mnt/lustre failed: Cannot allocate memory
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;A few such errors were reported on 2020-11-26 and 2020-11-27:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/96c7542c-7d1f-4f4f-824b-cd2b5102f2b4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/96c7542c-7d1f-4f4f-824b-cd2b5102f2b4&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/e7d9ec4f-2403-404f-b1a3-293a067ba0fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/e7d9ec4f-2403-404f-b1a3-293a067ba0fa&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/7fbb7803-bc75-41a9-a3e9-af6ea524ff38&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/7fbb7803-bc75-41a9-a3e9-af6ea524ff38&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;but a large number of such messages are reported after conf-sanity.sh test_4 fails and this is reported for every subsequent mount attempt n that session, starting with test_5a, such as on 2020-09-02 (the first incidence reported in Kibana, for a &quot;&lt;tt&gt;full&lt;/tt&gt;&quot; test run, so not associated with a specific patch), 2020-09-11, 2020-10-29, and 2020-11-30:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.whamcloud.com/test_sets/9614c939-ed8a-42e2-bbc1-a7122778a554&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/9614c939-ed8a-42e2-bbc1-a7122778a554&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/3c636685-44c2-499a-93ed-4667b74c9257&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/3c636685-44c2-499a-93ed-4667b74c9257&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/4d65b612-3a33-4515-9f8c-e22aaebdee4c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/4d65b612-3a33-4515-9f8c-e22aaebdee4c&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/5773671a-303c-4f7d-b6b0-e37be7d34e7a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/5773671a-303c-4f7d-b6b0-e37be7d34e7a&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="61848">LU-14178</key>
            <summary>conf-sanity test_5d: mount.lustre: mount at /mnt/lustre failed: Cannot allocate memory</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="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="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Dec 2020 09:09:38 +0000</created>
                <updated>Fri, 3 Sep 2021 00:15:16 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="286585" author="gerrit" created="Thu, 3 Dec 2020 10:05:47 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40851&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40851&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14178&quot; title=&quot;conf-sanity test_5d: mount.lustre: mount at /mnt/lustre failed: Cannot allocate memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14178&quot;&gt;LU-14178&lt;/a&gt; ldlm: return error from ldlm_namespace_new()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e15514f0d6f788c1c4fb9c95b15981af81b79fed&lt;/p&gt;</comment>
                            <comment id="286587" author="adilger" created="Thu, 3 Dec 2020 10:10:28 +0000"  >&lt;p&gt;Note that this patch is only fixing the error reporting, it doesn&apos;t do anything to fix the root cause of the problem.&lt;/p&gt;</comment>
                            <comment id="293258" author="gerrit" created="Fri, 26 Feb 2021 21:06:12 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40851/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40851/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14178&quot; title=&quot;conf-sanity test_5d: mount.lustre: mount at /mnt/lustre failed: Cannot allocate memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14178&quot;&gt;LU-14178&lt;/a&gt; ldlm: return error from ldlm_namespace_new()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e9c3b89bdacdb90332e386ae5ddff03cd8e977df&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|i01g9z:</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>