<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:52:19 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-12406] conf-sanity test 111 fails with &#8216;add mds1 failed with new params&#8217;</title>
                <link>https://jira.whamcloud.com/browse/LU-12406</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;conf-sanity test_111 fails with &#8216;add mds1 failed with new params&#8217;. Looking at the client test_log, we see that the problem is with the --mkfsoptions flag in the mkfs command&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;CMD: trevis-18vm11 mkfs.lustre --mgs --fsname=lustre --mdt --index=0 --param=sys.timeout=20 --param=mdt.identity_upcall=/usr/sbin/l_getidentity --backfstype=ldiskfs --device-size=2400000 --mkfsoptions=\&quot;-O large_dir -i 1048576 -O ea_inode -E lazy_itable_init\&quot; --reformat /dev/mapper/mds1_flakey
trevis-18vm11: mkfs.lustre: don&apos;t specify multiple -O options
trevis-18vm11: 
trevis-18vm11: mkfs.lustre FATAL: mkfs failed 22
trevis-18vm11: mkfs.lustre: exiting with 22 (Invalid argument)

   Permanent disk data:
Target:     lustre:MDT0000
Index:      0
Lustre FS:  lustre
Mount type: ldiskfs
Flags:      0x65
              (MDT MGS first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters: sys.timeout=20 mdt.identity_upcall=/usr/sbin/l_getidentity

device size = 2048MB
 conf-sanity test_111: @@@@@@ FAIL: add mds1 failed with new params
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like Lustre does not like having multiple &#8216;-O&#8217; flags in the --mkfsoptions. This may be an issue with the test and forming the --mkfsoptions list. &lt;/p&gt;

&lt;p&gt;Looking in the client test_log, we also see that test_115 suffers from this same issue, but the test is skipped due to this issue&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;== conf-sanity test 115: Access large xattr with inodes number over 2TB ============================== 02:17:13 (1559787433)
Stopping clients: trevis-18vm4.trevis.whamcloud.com,trevis-18vm5 /mnt/lustre (opts:)
CMD: trevis-18vm4.trevis.whamcloud.com,trevis-18vm5 running=\$(grep -c /mnt/lustre&apos; &apos; /proc/mounts);
if [ \$running -ne 0 ] ; then
echo Stopping client \$(hostname) /mnt/lustre opts:;
&#8230;
CMD: trevis-18vm11 mkfs.lustre --mgsnode=trevis-18vm11@tcp --fsname=lustre --mdt --index=0 --param=sys.timeout=20 --param=mdt.identity_upcall=/usr/sbin/l_getidentity --backfstype=ldiskfs --device-size=200000 --mkfsoptions=\&quot;-O ea_inode -E lazy_itable_init\&quot; --device-size=3298534883328 --mkfsoptions=&apos;-O lazy_itable_init,ea_inode,^resize_inode,meta_bg -i 1024&apos; --mgs --reformat /dev/loop0
trevis-18vm11: 
trevis-18vm11: mkfs.lustre FATAL: Unable to build fs /dev/loop0 (256)
trevis-18vm11: 
trevis-18vm11: mkfs.lustre FATAL: mkfs failed 256

   Permanent disk data:
Target:     lustre:MDT0000
Index:      0
Lustre FS:  lustre
Mount type: ldiskfs
Flags:      0x65
              (MDT MGS first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters: mgsnode=10.9.4.221@tcp sys.timeout=20 mdt.identity_upcall=/usr/sbin/l_getidentity

device size = 3145728MB
formatting backing filesystem ldiskfs on /dev/loop0
	target name   lustre:MDT0000
	kilobytes     3221225472
	options        -i 1024 -J size=4096 -I 1024 -q -O lazy_itable_init,ea_inode,^resize_inode,meta_bg,dirdata,uninit_bg,^extents,dir_nlink,quota,huge_file,flex_bg -E lazy_journal_init -F
mkfs_cmd = mke2fs -j -b 4096 -L lustre:MDT0000  -i 1024 -J size=4096 -I 1024 -q -O lazy_itable_init,ea_inode,^resize_inode,meta_bg,dirdata,uninit_bg,^extents,dir_nlink,quota,huge_file,flex_bg -E lazy_journal_init -F /dev/loop0 3221225472k
   Invalid filesystem option set: lazy_itable_init,ea_inode,^resize_inode,meta_bg,dirdata,uninit_bg,^extents,dir_nlink,quota,huge_   file,flex_bg

 SKIP: conf-sanity test_115 format large MDT failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like this started failing on 2019-06-03 with Lustre 2.12.53.104. Logs for failed test sessions with this test failure are at&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/6b65b0f4-8695-11e9-869c-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/6b65b0f4-8695-11e9-869c-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/34c0a1a0-8698-11e9-af1f-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/34c0a1a0-8698-11e9-af1f-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/efc1357e-8895-11e9-8c65-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/efc1357e-8895-11e9-8c65-52540065bddc&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="55890">LU-12406</key>
            <summary>conf-sanity test 111 fails with &#8216;add mds1 failed with new params&#8217;</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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Jun 2019 19:30:32 +0000</created>
                <updated>Mon, 5 Dec 2022 18:38:48 +0000</updated>
                            <resolved>Mon, 5 Dec 2022 18:38:48 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="253145" author="yujian" created="Thu, 15 Aug 2019 17:15:50 +0000"  >&lt;p&gt;+1 on master branch: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/496cea80-bf2a-11e9-a2b6-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/496cea80-bf2a-11e9-a2b6-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="253910" author="adilger" created="Fri, 30 Aug 2019 07:18:07 +0000"  >&lt;p&gt;This seems very similar to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12540&quot; title=&quot;overstripe landing broke a MKFS options handling&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12540&quot;&gt;&lt;del&gt;LU-12540&lt;/del&gt;&lt;/a&gt;, which recently landed patch &lt;a href=&quot;https://review.whamcloud.com/35482&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35482&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12540&quot; title=&quot;overstripe landing broke a MKFS options handling&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12540&quot;&gt;&lt;del&gt;LU-12540&lt;/del&gt;&lt;/a&gt; tests: squash multiply -O -E options&lt;/tt&gt;&quot;. &lt;/p&gt;

&lt;p&gt;I&apos;m not totally satisfied with that solution, since it only fixes the test-framework to merge multiple options and not mkfs.lustre itself. That said, maybe a similar fix is needed for this test as well?  I see this test failing &lt;b&gt;a lot&lt;/b&gt; on Oleg&apos;s test hardware, so it would be nice to clear that up, even if the solution is sub-optimal. &lt;/p&gt;</comment>
                            <comment id="253960" author="adilger" created="Fri, 30 Aug 2019 18:54:38 +0000"  >&lt;p&gt;It looks like this problem is at least avoided by patch &lt;a href=&quot;https://review.whamcloud.com/35358&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35358&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; tests: enable large_dir support for tests&lt;/tt&gt;&quot;, since that adds the &quot;&lt;tt&gt;large_dir&lt;/tt&gt;&quot; option into the standard mkfs_opts(), so it isn&apos;t explicitly added to the end of the other options in &lt;tt&gt;test_111()&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;While that doesn&apos;t completely solve the problem (it would still be an error if &lt;tt&gt;large_dir&lt;/tt&gt; was removed from &lt;tt&gt;fs_mkfs_opts&lt;/tt&gt;, it would essentially never be hit again and this ticket could be closed as &quot;&lt;tt&gt;Won&apos;t fix&lt;/tt&gt;&quot;.&lt;/p&gt;</comment>
                            <comment id="253961" author="adilger" created="Fri, 30 Aug 2019 18:55:49 +0000"  >&lt;p&gt;Note that the 35482 patch doesn&apos;t fix this because it is removing duplicates inside &lt;tt&gt;mkfs_opts()&lt;/tt&gt;, while &lt;tt&gt;test_111()&lt;/tt&gt; is adding them afterward.&lt;/p&gt;</comment>
                            <comment id="355134" author="adilger" created="Mon, 5 Dec 2022 18:38:48 +0000"  >&lt;p&gt;conf-sanity test_111  passing regularly on master, when not skipped because of SLOW=no&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="56394">LU-12540</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53659">LU-11546</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="62419">LU-14345</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|i00hu7:</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>