<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:53:22 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-5655] lhsmtool_posix (copy tool agent) does not provide facility to un register</title>
                <link>https://jira.whamcloud.com/browse/LU-5655</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;steps :&lt;br/&gt;
1. Mounted lustre&lt;br/&gt;
2. enabled hsm&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;    # lctl set_param mdt.lustre-MDT0000.hsm_control=enabled
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;3. Started copy tool daemon (only one copy tool agent can run on a client )&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;    #lhsmtool_posix --daemon --hsm-root /tmp/HSM --archive=1 /mnt/lustre/
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;4. Only way to stop agent is to send TERM signal to agent as per lustre manual. So I killed it (as I wanted to run modified copy tool agent)&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;    # ps -ef | grep lhs
       root      4017     1  0 16:54 ?        00:00:00 lhsmtool_posix --daemon --hsm-root /tmp/HSM --archive=1 /mnt/lustre/
       root      4045  2110  0 16:55 pts/1    00:00:00 grep lhs
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;5. Now I tried to start new copy tool agent&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;     #lhsmtool_posix --daemon --hsm-root /tmp/HSM --archive=1 /mnt/lustre/ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    But got below message from kernel &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;    Sep 11 16:55:34 localhost kernel: Lustre: HSM agent b150c068-22f2-83cd-21b0-2b4e76a3082a already registered.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>centos 6.5</environment>
        <key id="26703">LU-5655</key>
            <summary>lhsmtool_posix (copy tool agent) does not provide facility to un register</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="5">Cannot Reproduce</resolution>
                                        <assignee username="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="vinayak_clogeny">Vinayak Hariharmath</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Wed, 24 Sep 2014 12:24:25 +0000</created>
                <updated>Wed, 25 Feb 2015 09:52:44 +0000</updated>
                            <resolved>Wed, 25 Feb 2015 09:52:44 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="94818" author="vinayak_clogeny" created="Wed, 24 Sep 2014 12:26:27 +0000"  >&lt;p&gt;I feel once the daemon is killed , it should get unregistered. &lt;/p&gt;</comment>
                            <comment id="95061" author="adilger" created="Fri, 26 Sep 2014 17:24:54 +0000"  >&lt;p&gt;Is this a new problem in 2.6.0 or does the same problem exist in 2.5?&lt;/p&gt;</comment>
                            <comment id="95215" author="rread" created="Mon, 29 Sep 2014 17:38:31 +0000"  >&lt;p&gt;I&apos;m not able to reproduce this on 2.5.3. Whenever I kill the daemon, it stops running and the is no longer registered.  &lt;/p&gt;

&lt;p&gt;It&apos;s not clear in the description that the &lt;tt&gt;ps&lt;/tt&gt; in step 4 was run before or after you killed the copytool. If it is after, then clearly the daemon is still running for some reason and so it is still registered.  &lt;/p&gt;</comment>
                            <comment id="96289" author="vinayak_clogeny" created="Tue, 14 Oct 2014 12:26:11 +0000"  >&lt;p&gt;ps in step 4 was run before I killed copy tool  after that I killed it. Later  I tried to start copy tool again but I got below message. Using b2_6 branch.&lt;/p&gt;

&lt;p&gt;Oct 14 17:53:59 localhost kernel: Lustre: HSM agent 0f4d5578-4a43-df67-a8b1-ce31a2c2cd3a already registered&lt;/p&gt;</comment>
                            <comment id="97977" author="rread" created="Thu, 30 Oct 2014 19:00:22 +0000"  >&lt;p&gt;I&apos;m seeing this on b2_6  as well, so this appears to be new in 2.6.0.&lt;/p&gt;</comment>
                            <comment id="100438" author="jlevi" created="Tue, 2 Dec 2014 18:13:54 +0000"  >&lt;p&gt;Bruno,&lt;br/&gt;
Can you please have a look at this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="100544" author="bfaccini" created="Wed, 3 Dec 2014 09:49:46 +0000"  >&lt;p&gt;Ok. I just wonder if copytool death and unregister could not take longer than before in b2_6 and then if this ticket could be related to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5622&quot; title=&quot;copytool_cleanup function should check/wait for copytool death&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5622&quot;&gt;&lt;del&gt;LU-5622&lt;/del&gt;&lt;/a&gt; ? But then, I also wonder why this does not currently affect auto-tests sanity-hsm results ?&lt;/p&gt;</comment>
                            <comment id="100928" author="bfaccini" created="Mon, 8 Dec 2014 11:46:55 +0000"  >&lt;p&gt;BTW I am unable to reproduce it with master/b2_6 builds.&lt;br/&gt;
Robert, can you help me and detail the exact versions ad configuration you used to be able to reproduce ?&lt;/p&gt;</comment>
                            <comment id="100955" author="rread" created="Mon, 8 Dec 2014 16:53:22 +0000"  >&lt;p&gt;I just tried again on a recent master build and wasn&apos;t able to reproduce it, either.  I don&apos;t recall exact version of 2.6 I had been using, but the configuration would have been a single node setup using llmount.sh plus an additional mountpoint for the copytool. &lt;/p&gt;</comment>
                            <comment id="101308" author="bfaccini" created="Thu, 11 Dec 2014 11:02:43 +0000"  >&lt;p&gt;Vinayak, are you still able to reproduce the problem at your site?&lt;br/&gt;
If yes can you help and provide more infos, because I am unable to reproduce for the moment?&lt;br/&gt;
It would be nice if before running again your test/reproducer you can enable the full Lustre debug-log mask on both the CLient/Agent and MDS nodes, and then to provide them, can you do this ?&lt;/p&gt;</comment>
                            <comment id="101311" author="vinayak_clogeny" created="Thu, 11 Dec 2014 12:40:18 +0000"  >&lt;p&gt;Sure. I will verify it on my side and update the bug. Sorry I was stuck with other work and could not able update it. &lt;/p&gt;</comment>
                            <comment id="104069" author="bfaccini" created="Tue, 20 Jan 2015 20:15:51 +0000"  >&lt;p&gt;Vinayak, Any update ? Did you spend some time for more testing about this issue ? Could it be, as I suspected above, that the copytool unregister could take longer ?&lt;/p&gt;</comment>
                            <comment id="104153" author="vinayak_clogeny" created="Wed, 21 Jan 2015 09:22:34 +0000"  >&lt;p&gt;Hi &lt;/p&gt;

&lt;p&gt;Yes I have spent bit time on it to verify.&lt;br/&gt;
The issue is not observed on master but still dmesg gives&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;Lustre: HSM agent 277f9613-7a7d-1caa-5849-0b5ffe11fdbb already registered
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;but there is no problem with copy tool which works fine (Earlier with the above error message, copy tool was failing to start after killing it). I guess it only a grammar correction. Dmesg logs attached. &lt;/p&gt;</comment>
                            <comment id="107797" author="bfaccini" created="Tue, 24 Feb 2015 17:36:34 +0000"  >&lt;p&gt;Hello Vinayak,&lt;br/&gt;
Do you agree if close this ticket as &quot;Cannot reproduce&quot; ?&lt;/p&gt;</comment>
                            <comment id="107901" author="vinayak_clogeny" created="Wed, 25 Feb 2015 07:17:02 +0000"  >&lt;p&gt;Hi Bruno,&lt;/p&gt;

&lt;p&gt;We can close this as &quot;Cannot reproduce&quot;, but there is one more ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5216&quot; title=&quot;HSM: restore doesn&amp;#39;t restart for new copytool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5216&quot;&gt;LU-5216&lt;/a&gt; looks bit similar to this issue. I am trying to reproduce it and draw some relation with this.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="107907" author="bfaccini" created="Wed, 25 Feb 2015 09:52:44 +0000"  >&lt;p&gt;According to the description in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5216&quot; title=&quot;HSM: restore doesn&amp;#39;t restart for new copytool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5216&quot;&gt;LU-5216&lt;/a&gt;, then we may easily think that if both tickets are related, this one would only be a consequence of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5216&quot; title=&quot;HSM: restore doesn&amp;#39;t restart for new copytool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5216&quot;&gt;LU-5216&lt;/a&gt; due to some orphan copytool thread still present or related data structure deferred/missing cleanup.&lt;br/&gt;
So closing this one.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="16724" name="lhs_posix_messages" size="282995" author="vinayak_clogeny" created="Wed, 21 Jan 2015 09:19:02 +0000"/>
                    </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>client</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10070" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Project</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10040"><![CDATA[HSM]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwwzj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15853</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>