<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:10:11 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-7586] sanity-hsm test_406: &quot;cannot complete migration after HSM remove&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-7586</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for liuying &amp;lt;emoly.liu@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/f5397500-a709-11e5-8a33-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/f5397500-a709-11e5-8a33-5254006e85c2&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_406 failed with the following error:&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;cannot complete migration after HSM remove
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Please provide additional information about the failure here.&lt;/p&gt;

&lt;p&gt;Info required for matching: sanity-hsm 406&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;/mnt/lustre/d406.sanity-hsm/f406.sanity-hsm migrate failed: Function not implemented (-38)
mv: cannot migrate &apos;/mnt/lustre/d406.sanity-hsm/f406.sanity-hsm&apos; to MDT0001: Function not implemented
 sanity-hsm test_406: @@@@@@ FAIL: cannot complete migration after HSM remove 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This test case was added by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6866&quot; title=&quot;MDT file migration is incompatible with HSM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6866&quot;&gt;&lt;del&gt;LU-6866&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;http://review.whamcloud.com/#/c/17511/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/17511/&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="33791">LU-7586</key>
            <summary>sanity-hsm test_406: &quot;cannot complete migration after HSM remove&quot;</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="1">Fixed</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Dec 2015 02:32:20 +0000</created>
                <updated>Thu, 12 May 2016 03:45:24 +0000</updated>
                            <resolved>Wed, 16 Mar 2016 03:53:08 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="137988" author="adilger" created="Tue, 5 Jan 2016 19:34:52 +0000"  >&lt;p&gt;The relevant part of the test 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;        # Should migrate $tdir but not $tfile.
        $LFS mv -M1 $DIR/$tdir &amp;amp;&amp;amp;
                error &quot;migrating HSM an archived file should fail&quot;

        $LFS hsm_restore $DIR/$tdir/$tfile
        wait_request_state &quot;$fid&quot; RESTORE SUCCEED

        $LFS hsm_remove $DIR/$tdir/$tfile ||
                error &quot;cannot remove $DIR/$tdir/$tfile from archive&quot;

        cat $DIR/$tdir/$tfile &amp;gt; /dev/null ||
                error &quot;cannot read $DIR/$tdir/$tfile&quot;

        $LFS mv -M1 $DIR/$tdir/$tfile ||
                error &quot;cannot complete migration after HSM remove&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It seems there is some kind of race between removing the HSM attributes from the file and the second migration attempt?  Alternately, is it incorrect to call &quot;lfs mv -M1&quot; on a file instead of a directory?  I recall Di saying a few times that migration is for directories and not individual files.&lt;/p&gt;</comment>
                            <comment id="137989" author="gerrit" created="Tue, 5 Jan 2016 20:30:01 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17828&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17828&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7586&quot; title=&quot;sanity-hsm test_406: &amp;quot;cannot complete migration after HSM remove&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7586&quot;&gt;&lt;del&gt;LU-7586&lt;/del&gt;&lt;/a&gt; test: wait for remove in sanity-hsm test_406()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 22e0876184f71a946197ece4a49324b869febab8&lt;/p&gt;</comment>
                            <comment id="138675" author="jamesanunez" created="Tue, 12 Jan 2016 15:52:36 +0000"  >&lt;p&gt;A recent sanity-hsm run on master fails with a different error message that the one reported in the description  &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;Updated after 2s: wanted &apos;SUCCEED&apos; got &apos;SUCCEED&apos;
cb_migrate_mdt_init: Failed to open &apos;/mnt/lustre/d406.sanity-hsm/f406.sanity-hsm&apos;: Not a directory (20)
mv: cannot migrate &apos;/mnt/lustre/d406.sanity-hsm/f406.sanity-hsm&apos; to MDT0001: Not a directory
 sanity-hsm test_406: @@@@@@ FAIL: cannot complete migration after HSM remove 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is fixed with your proposed patch &lt;a href=&quot;http://review.whamcloud.com/#/c/17828/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/17828/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Logs at&lt;br/&gt;
2016-01-11 13:42:44 - &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/40779ea0-b88c-11e5-b10a-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/40779ea0-b88c-11e5-b10a-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="138882" author="gerrit" created="Thu, 14 Jan 2016 03:59:38 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17828/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17828/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7586&quot; title=&quot;sanity-hsm test_406: &amp;quot;cannot complete migration after HSM remove&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7586&quot;&gt;&lt;del&gt;LU-7586&lt;/del&gt;&lt;/a&gt; test: wait for remove in sanity-hsm test_406()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 31e53250276a405b4a9c6aa689e1a9c3f09fc7b1&lt;/p&gt;</comment>
                            <comment id="145695" author="jgmitter" created="Wed, 16 Mar 2016 03:53:09 +0000"  >&lt;p&gt;Ticket cleanup:  The patch had landed to master for the 2.8.0 release in January.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31126">LU-6866</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|hzxwfj:</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>