<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:06:04 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-7110] sanity-hsm.sh can erase all files on filesystem</title>
                <link>https://jira.whamcloud.com/browse/LU-7110</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;copytool_setup() {
        local facet=${1:-$SINGLEAGT}
        local lustre_mntpnt=${2:-$MOUNT}
        local arc_id=$3
        local hsm_root=${4:-$(copytool_device $facet)}
        local agent=$(facet_active_host $facet)

        if [[ -z &quot;$arc_id&quot; ]] &amp;amp;&amp;amp;
                do_facet $facet &quot;pkill -CONT -x $HSMTOOL_BASE&quot;; then
                        echo &quot;Wakeup copytool $facet on $agent&quot;
                        return 0
        fi

        if $HSM_ARCHIVE_PURGE; then
                echo &quot;Purging archive on $agent&quot;
                do_facet $facet &quot;rm -rf $hsm_root/*&quot;
        fi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If the $hsm_root variable is not defined, &lt;b&gt;rm -rf /&lt;/b&gt;* command will be executed.&lt;/p&gt;

&lt;p&gt;Easy way to reproduce (&lt;b&gt;please, be careful!!!  files on mounted shares will be deleted as well as on cluster node!&lt;/b&gt;)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;SINGLEAGT=client sh sanity-hsm.sh&lt;/b&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="31973">LU-7110</key>
            <summary>sanity-hsm.sh can erase all files on filesystem</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="wc-triage">WC Triage</assignee>
                                    <reporter username="parinay">parinay v kondekar</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 7 Sep 2015 10:33:32 +0000</created>
                <updated>Thu, 21 Apr 2016 20:38:19 +0000</updated>
                            <resolved>Thu, 21 Apr 2016 20:38:19 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="126578" author="gerrit" created="Mon, 7 Sep 2015 10:38:28 +0000"  >&lt;p&gt;Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16291&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7110&quot; title=&quot;sanity-hsm.sh can erase all files on filesystem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7110&quot;&gt;&lt;del&gt;LU-7110&lt;/del&gt;&lt;/a&gt; sanity-hsm.sh can erase all files on filesystem&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 817c648fceb4903904d64e0751602eae4ee1f94d&lt;/p&gt;</comment>
                            <comment id="126579" author="parinay" created="Mon, 7 Sep 2015 10:39:00 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/16291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16291&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="149620" author="gerrit" created="Thu, 21 Apr 2016 02:26:30 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16291/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16291/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7110&quot; title=&quot;sanity-hsm.sh can erase all files on filesystem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7110&quot;&gt;&lt;del&gt;LU-7110&lt;/del&gt;&lt;/a&gt; tests: sanity-hsm.sh can erase all files on filesystem&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5764a8ce591e7f62cad2ee95b7041c115a1cd0f6&lt;/p&gt;</comment>
                            <comment id="149748" author="jgmitter" created="Thu, 21 Apr 2016 20:38:19 +0000"  >&lt;p&gt;landed to master for 2.9.0&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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>test</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxmrz:</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>