<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:13:51 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-8011] Add HSM_EXEC action</title>
                <link>https://jira.whamcloud.com/browse/LU-8011</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While chatting at  LUG last week,  &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=hdoreau&quot; class=&quot;user-hover&quot; rel=&quot;hdoreau&quot;&gt;hdoreau&lt;/a&gt; mentioned an interesting idea of an having an HSM action that a policy engine could use to send a command (via the data field) directly to a data mover. We agreed that &quot;HSMA_EXEC&quot; seemed like a good name for this. &lt;/p&gt;

&lt;p&gt;Could it be that this is the use case that HSMA_NONE was intended for? If so, then perhaps we could rename in to appear less vestigial.&lt;/p&gt;</description>
                <environment></environment>
        <key id="36072">LU-8011</key>
            <summary>Add HSM_EXEC action</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="rread">Robert Read</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Apr 2016 01:49:41 +0000</created>
                <updated>Tue, 12 Apr 2016 16:08:24 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="148549" author="adilger" created="Tue, 12 Apr 2016 06:07:33 +0000"  >&lt;p&gt;There is a potential security risk from this, especially since we don&apos;t have any way to authenticate connections to the copytools.  Currently, there is relatively low risk of some rogue process copying files to the archive, but if we allow arbitrary commands from a remote system this could be a problem.&lt;/p&gt;

&lt;p&gt;The question is whether there is a limited set of operations that are needed and could be plumbed in?  What are the proposed use cases for this?&lt;/p&gt;

&lt;p&gt;Rather than repurpose HSMA_NONE, why not just add a new operation type?&lt;/p&gt;</comment>
                            <comment id="148599" author="rread" created="Tue, 12 Apr 2016 16:08:24 +0000"  >&lt;p&gt;I believe &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=hdoreau&quot; class=&quot;user-hover&quot; rel=&quot;hdoreau&quot;&gt;hdoreau&lt;/a&gt; had some use cases in mind, but we didn&apos;t go into details. I can imagine it would be useful for users to manage the archive storage pools and archive rules together in one tool.  I suppose it could also be used by the policy engine to tell the archive to pre-fetch a data set it needs to restore or flush the disk cache to make room for the large about of data it&apos;s about to send. &lt;/p&gt;

&lt;p&gt;Another possible use case I&apos;ve been thinking about creating a test mover that used parameters in do failure injection, such pause the request for XX seconds, drop request, fail with error, etc. When I heard about the exec idea, I thought it might also be useful for this as well.&lt;/p&gt;

&lt;p&gt;Submitting HSM actions requires root privilege, so a service that accepts HSM actions from the network should certainly be reasonable secured, agreed. The mover would be responsible for ensuring that only the commands it exposed could be executed, and not arbitrary commands. &lt;/p&gt;

&lt;p&gt;It seems whatever purpose HSMA_NONE has now could be achieved with HSMA_EXEC(&quot;&quot;). &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|hzy7mn:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>