<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:33:00 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-3332] sanity-scrub and sanity-lfsck need to support DNE</title>
                <link>https://jira.whamcloud.com/browse/LU-3332</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Currently, sanity-scrub.sh still use SINGLEMDS in the script, which make it unable to run with DNE configuration.&lt;/p&gt;

</description>
                <environment></environment>
        <key id="18991">LU-3332</key>
            <summary>sanity-scrub and sanity-lfsck need to support DNE</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="liwei">Li Wei</assignee>
                                    <reporter username="di.wang">Di Wang</reporter>
                        <labels>
                            <label>MB</label>
                    </labels>
                <created>Tue, 14 May 2013 07:21:22 +0000</created>
                <updated>Tue, 3 Sep 2013 15:22:36 +0000</updated>
                            <resolved>Tue, 3 Sep 2013 15:22:36 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="58429" author="di.wang" created="Tue, 14 May 2013 07:27:11 +0000"  >&lt;p&gt; &lt;a href=&quot;http://review.whamcloud.com/6333&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6333&lt;/a&gt;  Unfortunately, it might need many changes, and I do not have time to finish all of them. I only fix 0 and 1a. Maybe someone else can help to fix all of the script problem. So sanity-scrub can be run with DNE. Thanks.&lt;/p&gt;</comment>
                            <comment id="59716" author="keith" created="Fri, 31 May 2013 01:55:55 +0000"  >&lt;p&gt;Di Wang is correct a great many changes are needed.  Not quite every line will have to be touched touched but pretty close.  &lt;/p&gt;

&lt;p&gt;I am a bit of a ways into a rewrite for sanity-scrub and so far a few spots in test-framework have also be identified. &lt;/p&gt;

&lt;p&gt;There seems to be some loose timing built into this test in general.  Spots where you expect a given transition state, I am not sure if these time checks will work as well with DNE. I am not going to focus on Logic changes to the test at this point just a conversion to DNE safe calls for v1. &lt;/p&gt;

&lt;p&gt;I think an incremental approach to these changes keep the reviewing of all of this sane, the removal of SINGLEMDS is no small task even just in this one test. I will work on getting some form of a reviewable patch into the system tomorrow that is not a totally a for_test_only sort of patch and setup a proper expect always to allow DNE to run a few tests. &lt;/p&gt;

&lt;p&gt;My approach is slightly different that Di Wangs so I will open a new patch or two.  I like use of helper functions to make the test more readable and radically decrease the amount of code.&lt;/p&gt;

&lt;p&gt;for instance my test_0 presently looks like: &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_0() {
        local num

        scrub_prep 0
        echo &quot;start $SINGLEMDS without disabling OI scrub&quot;

        start_all_mds($MOUNT_OPTS_SCRUB)

        check_status(&quot;init&quot;)
        check_flags()

        mount_client $MOUNT || error &quot;Failed to start client!&quot;
        check_diff()
}
run_test 0 &quot;Do not auto trigger OI scrub for non-backup/restore case&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="59779" author="di.wang" created="Fri, 31 May 2013 18:14:23 +0000"  >&lt;p&gt;Hmm, I thought Li wei worked on this ticket already. &lt;a href=&quot;http://review.whamcloud.com/#change,6333&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,6333&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59810" author="keith" created="Fri, 31 May 2013 21:25:41 +0000"  >&lt;p&gt;Thanks for the link to that patch.  Peter had asked me to look at this LU earlier this week. &lt;/p&gt;

&lt;p&gt;That is exactly the style of patch I was working on and will give it a good review.  &lt;/p&gt;
</comment>
                            <comment id="59833" author="liwei" created="Sat, 1 Jun 2013 01:46:49 +0000"  >&lt;p&gt;I can&apos;t imagine how happy I&apos;d be if I knew you were to on this.  Too bad neither of us had left any obvious messages here earlier.&lt;/p&gt;</comment>
                            <comment id="65610" author="jlevi" created="Tue, 3 Sep 2013 15:22:36 +0000"  >&lt;p&gt;Patch has landed to Master. Please let me know if more work is needed in this ticket and I will reopen.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="18324">LU-3150</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="19226">LU-3420</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17774">LU-2915</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|hzvqtr:</customfieldvalue>

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