<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:26:15 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-2563] Failure on test suite lustre-initialization-1: Invalid filesystem name</title>
                <link>https://jira.whamcloud.com/browse/LU-2563</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for sarah &amp;lt;sarah@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/2b7215e4-551b-11e2-8753-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/2b7215e4-551b-11e2-8753-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test lustre-initialization_1 failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Test system failed to start single suite, so abandoning all hope and giving up&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This error blocks ZFS testing&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;11:26:52:CMD: client-32vm3 mkfs.lustre --mgs --param=sys.timeout=20 --backfstype=zfs --device-size=2097152 --reformat /dev/lvm-MDS/P1 /dev/lvm-MDS/P1
11:26:52:client-32vm3: 
11:26:52:client-32vm3: mkfs.lustre FATAL: Invalid filesystem name /dev/lvm-MDS/P1
11:26:52:client-32vm3: 
11:26:52:client-32vm3: mkfs.lustre FATAL: unable to prepare backend (22)
11:26:52:client-32vm3: mkfs.lustre: exiting with 22 (Invalid argument)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17070">LU-2563</key>
            <summary>Failure on test suite lustre-initialization-1: Invalid filesystem name</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="chris">Chris Gearing</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>HB</label>
                            <label>zfs</label>
                    </labels>
                <created>Thu, 3 Jan 2013 13:34:32 +0000</created>
                <updated>Thu, 7 Feb 2013 10:30:34 +0000</updated>
                            <resolved>Thu, 7 Feb 2013 10:30:34 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="49903" author="di.wang" created="Thu, 3 Jan 2013 15:40:45 +0000"  >&lt;p&gt;Ah, t-f.sh has been changed for this part.&lt;/p&gt;

&lt;p&gt;11:26:34:export MGSDEV=/dev/lvm-MDS/P1&lt;br/&gt;
11:26:34:export MDSDEV=/dev/lvm-MDS/P1&lt;/p&gt;


&lt;p&gt;MGSDEV definition should be removed for combined mds/mgs test in the config of maloon test.&lt;/p&gt;</comment>
                            <comment id="49920" author="liwei" created="Thu, 3 Jan 2013 21:10:19 +0000"  >&lt;p&gt;The TF change looks suspicious to me...  The MGSDEV assignment, although unnecessary, should work.&lt;/p&gt;</comment>
                            <comment id="49932" author="liwei" created="Fri, 4 Jan 2013 00:04:22 +0000"  >&lt;p&gt;Autotest was actually using a combined-MDT-MGT configuration.  I think the combined_mds_mgs() call in formatall() returned false because mgsdevname() printed &quot;/dev/lvm-MDS/P1&quot; while mdsdevname() printed &quot;lustre-mdt1/mdt1&quot;.  mgsdevname() should print dataset names for ZFS-based MGTs.&lt;/p&gt;</comment>
                            <comment id="49933" author="liwei" created="Fri, 4 Jan 2013 00:04:50 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/4950&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4950&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51053" author="adilger" created="Wed, 23 Jan 2013 15:02:20 +0000"  >&lt;p&gt;Patch landed to master, closing bug.&lt;/p&gt;

&lt;p&gt;Li Wei, in the future please submit patches that affect ZFS with:&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;Test-Parameters: mdtfilesystemtype=zfs ostfilesystemtype=zfs
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;so that we are able to verify that this is working correctly with ZFS.&lt;/p&gt;</comment>
                            <comment id="51066" author="liwei" created="Wed, 23 Jan 2013 20:44:10 +0000"  >&lt;p&gt;Sure.  I thought Autotest would start a ZFS job automatically.  On the other hand, ZFS testing was already broken.  Landing this fix won&apos;t make things any worse.&lt;/p&gt;</comment>
                            <comment id="51359" author="adilger" created="Mon, 28 Jan 2013 16:58:10 +0000"  >&lt;p&gt;Looks like the patch that was landed is still broken, per messages in the autotest logs:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/04d030c6-6734-11e2-95b6-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/04d030c6-6734-11e2-95b6-52540035b04c&lt;/a&gt;&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;12:09:44:/usr/lib64/lustre/tests/test-framework.sh: line 2690: [: /dev/lvm-MDS/P1: unary operator expected
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which corresponds to the modified code:&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;99baa1523 2688)   zfs )
99baa1523 2689)        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ $(facet_host mgs) = $(facet_host mds1) ] &amp;amp;&amp;amp;
99baa1523 2690)              ( [ -z &lt;span class=&quot;code-quote&quot;&gt;&quot;$MGSDEV&quot;&lt;/span&gt; ] || [ $MGSDEV = $(mdsvdevname 1) ] ); then
99baa1523 2691)                   DEVPTR=$(mdsdevname 1)

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is causing all ZFS testing to fail.&lt;/p&gt;


&lt;p&gt;Minor style note - there is no reason to invoke multiple separate &quot;test&quot; (&quot;[&quot;) conditions here:&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;        zfs)
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [[ $(facet_host mgs) = $(facet_host mds1) &amp;amp;&amp;amp;
                     ( -z &lt;span class=&quot;code-quote&quot;&gt;&quot;$MGSDEV&quot;&lt;/span&gt; -p &lt;span class=&quot;code-quote&quot;&gt;&quot;$MGSDEV&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;$(mdsdevname1)&quot;&lt;/span&gt; ) ]]; then
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="51366" author="liwei" created="Mon, 28 Jan 2013 21:26:28 +0000"  >&lt;p&gt;I don&apos;t think it is because of the patch above.  (I had tested it locally with both combined and separate MGT/MDT as well as ldiskfs and ZFS.)  Judging from the error message, mdsvdevname() printed an empty string.&lt;/p&gt;</comment>
                            <comment id="51367" author="liwei" created="Mon, 28 Jan 2013 21:29:14 +0000"  >&lt;p&gt;Chris, it looks the inconsistency in Autotest configuration is back:&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;12:09:14:export mgs_HOST=client-30vm7
12:09:14:export mds_HOST=client-30vm7
12:09:14:export MGSDEV=/dev/lvm-MDS/P1
12:09:14:export MDSDEV=/dev/lvm-MDS/P1
[...]
12:09:15:export MDSFSTYPE=ldiskfs
12:09:15:export MGSFSTYPE=zfs
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The devices and hosts definitions suggest a combined MGT/MDT, but the fstypes contradict each other.  Could you please fix that?&lt;/p&gt;</comment>
                            <comment id="51368" author="liwei" created="Mon, 28 Jan 2013 21:35:46 +0000"  >&lt;p&gt;P.S., unless we intentionally want mixed-fstype configurations, Autotest could only set &quot;FSTYPE=zfs&quot;, leaving XXXFSTYPEs undefined.&lt;/p&gt;</comment>
                            <comment id="51384" author="chris" created="Tue, 29 Jan 2013 05:28:01 +0000"  >&lt;p&gt;I don&apos;t intend to move to FSTYPE, the definitions of the three separately should work.&lt;/p&gt;

&lt;p&gt;In the first example mds,met,oat filesystemtype are all zfs.&lt;/p&gt;

&lt;p&gt;In the second example that Li Wei refers to they are incorrect because they are incorrectly specified in the test parameters in the review message.&lt;/p&gt;

&lt;p&gt;mdtfilesystemtype=zfs ostfilesystemtype=zfs &lt;/p&gt;

&lt;p&gt;are specified but mdsfilesystemtype=zfs is not.&lt;/p&gt;

&lt;p&gt;I&apos;ve added a comment to the review, and resubmitted it with the additional definition.&lt;/p&gt;</comment>
                            <comment id="51388" author="liwei" created="Tue, 29 Jan 2013 08:58:03 +0000"  >&lt;p&gt;I didn&apos;t notice the &quot;Test-Parameters&quot; line in the session reported by Andreas and incorrectly assumed Autotest had all controls on the generated configuration.  Sorry about that.&lt;/p&gt;

&lt;p&gt;As to &quot;mdsfilesystemtype&quot;, I&apos;m not sure how it differs from &quot;mdtfilesystemtype&quot;.  Actually, I asked this on the wiki quite a while ago.  It looks like a typo of &quot;mgsfilesystemtype&quot;, but your comment makes me think it is not.  Could you clarify, please?&lt;/p&gt;</comment>
                            <comment id="51597" author="adilger" created="Fri, 1 Feb 2013 00:31:20 +0000"  >&lt;p&gt;Li Wei, I agree - the Test-Parameter should be named &quot;mgsfilesystemtype&quot;, NOT &quot;mdsfilesystemtype&quot;.&lt;/p&gt;

&lt;p&gt;I would also be happy if there was a shorthand, like &quot;filesystemtype=zfs&quot; so that the verbose (and potentially failure-inducing) separate parameters can be avoided for the time being.&lt;/p&gt;

&lt;p&gt;That there is unquestionably still a bug somewhere, unrelated to the Test-parameters, because in the following test the FSTYPE is specified correctly, but the MGS still fails during mkfs.lustre:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_logs/7762f79c-6bf6-11e2-b2a5-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_logs/7762f79c-6bf6-11e2-b2a5-52540035b04c&lt;/a&gt;&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;13:30:38:export MGSDEV=/dev/lvm-MDS/P1
13:30:38:export MDSDEV=/dev/lvm-MDS/P1
13:30:38:export MDSFSTYPE=zfs
13:30:38:export MGSFSTYPE=zfs
13:30:52:CMD: wtm-26vm7 mkfs.lustre --mgs --param=sys.timeout=20 --backfstype=zfs --device-size=2097152 --reformat /dev/lvm-MDS/P1 /dev/lvm-MDS/P1
13:30:52:wtm-26vm7: 
13:30:52:wtm-26vm7: mkfs.lustre FATAL: Invalid filesystem name /dev/lvm-MDS/P1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Nothing is on the MDS or client console or debug logs.&lt;/p&gt;</comment>
                            <comment id="51598" author="liwei" created="Fri, 1 Feb 2013 00:43:30 +0000"  >&lt;p&gt;Emoly&apos;s patch is based on a Jan 17 master, which does not include the fix above.  It looks like a result of the original issue.  I&apos;ll ask her to rebase if necessary.&lt;/p&gt;</comment>
                            <comment id="51969" author="adilger" created="Thu, 7 Feb 2013 10:30:34 +0000"  >&lt;p&gt;Test failure was run without the patch that should fix this.  Closing bug again.&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|hzveif:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5992</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>