<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:01:37 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-6601] deactivated OSTs do not appear to be inactive according to &apos;lctl dl&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-6601</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Following the instructions in Section 19.1.2 of the ops manual I deactivated an OST.&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;t:~# lctl dl
...
 21 UP osp lustre-OST0000-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
 22 UP osp lustre-OST0001-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
t:lustre# lctl --device 21 deactivate
t:lustre# lctl dl
...
 21 UP osp lustre-OST0000-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
 22 UP osp lustre-OST0001-osc-MDT0000 lustre-MDT0000-mdtlov_UUID 5
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Device 21 should be IN instead of UP. This is controlled by the obd_inactive field of struct obd_device which is only modified in the lov layer.&lt;/p&gt;

&lt;p&gt;The active proc files do work correctly:&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;t:lustre# cat /proc/fs/lustre/osp/lustre-OST0000-osc-MDT0000/active 
0
t:lustre# cat /proc/fs/lustre/osp/lustre-OST0001-osc-MDT0000/active 
1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Also note that the examples in the manual need to be updated to reflect the osc to osp switchover.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30075">LU-6601</key>
            <summary>deactivated OSTs do not appear to be inactive according to &apos;lctl dl&apos;</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="ys">Yang Sheng</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>easy</label>
                            <label>lod</label>
                            <label>osp</label>
                    </labels>
                <created>Thu, 14 May 2015 15:18:37 +0000</created>
                <updated>Fri, 1 Dec 2017 02:17:38 +0000</updated>
                            <resolved>Fri, 22 Apr 2016 17:57:12 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="116085" author="uvaze" created="Thu, 21 May 2015 08:29:25 +0000"  >&lt;p&gt;Hi John,&lt;/p&gt;

&lt;p&gt;What is GBOL ? Can you give me link?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
-Ulka&lt;/p&gt;</comment>
                            <comment id="116096" author="pjones" created="Thu, 21 May 2015 12:49:08 +0000"  >&lt;p&gt;Hi Ulka&lt;/p&gt;

&lt;p&gt;It is an joke reference to a comment at a past LUG. He means the Lustre manual.&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="116100" author="uvaze" created="Thu, 21 May 2015 13:19:50 +0000"  >&lt;p&gt;Thanks for clarification &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="116334" author="uvaze" created="Mon, 25 May 2015 15:20:28 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
I have analyzed this issue; here is prospective solution -&lt;br/&gt;
1. lctl dl call reads /proc/fs/lustre/devices file&lt;br/&gt;
2. This proc code looks for obd-&amp;gt;obd_inactive flag and accordingly sets the status.&lt;br/&gt;
3. Whenever we deactivate OST device it is ultimately received by osp &lt;br/&gt;
4. At OSP osp_import_event  function handles the activation or deactivation of OST&lt;br/&gt;
5. However we are not notifying obd to set upcall for state change.&lt;br/&gt;
6 We need to  register osp_notify function and call obd_notify.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
-Ulka&lt;/p&gt;</comment>
                            <comment id="148207" author="gerrit" created="Fri, 8 Apr 2016 04:43:38 +0000"  >&lt;p&gt;Yang Sheng (yang.sheng@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19402&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19402&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6601&quot; title=&quot;deactivated OSTs do not appear to be inactive according to &amp;#39;lctl dl&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6601&quot;&gt;&lt;del&gt;LU-6601&lt;/del&gt;&lt;/a&gt; osp: update obd status while osp status changed&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 34c353ffb385f50d5088b7cc5b11ccad8eb2ff80&lt;/p&gt;</comment>
                            <comment id="148621" author="gerrit" created="Tue, 12 Apr 2016 18:00:08 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19402/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19402/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6601&quot; title=&quot;deactivated OSTs do not appear to be inactive according to &amp;#39;lctl dl&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6601&quot;&gt;&lt;del&gt;LU-6601&lt;/del&gt;&lt;/a&gt; osp: update obd status while osp status changed&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ba2ac3502026fcf7399ac102d24bbb7f3d7a8c87&lt;/p&gt;</comment>
                            <comment id="149319" author="gerrit" created="Mon, 18 Apr 2016 18:47:21 +0000"  >&lt;p&gt;Yang Sheng (yang.sheng@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19637&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19637&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6601&quot; title=&quot;deactivated OSTs do not appear to be inactive according to &amp;#39;lctl dl&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6601&quot;&gt;&lt;del&gt;LU-6601&lt;/del&gt;&lt;/a&gt; tests: test case validate OSP status op&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2c793405e86d21dadce17e65d348c45ee226e0d3&lt;/p&gt;</comment>
                            <comment id="149856" author="gerrit" created="Fri, 22 Apr 2016 15:48:48 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19637/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19637/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6601&quot; title=&quot;deactivated OSTs do not appear to be inactive according to &amp;#39;lctl dl&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6601&quot;&gt;&lt;del&gt;LU-6601&lt;/del&gt;&lt;/a&gt; tests: test case validate OSP status op&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f5f62250886e8c68e7f0dee9c2842c3075a69654&lt;/p&gt;</comment>
                            <comment id="149877" author="ys" created="Fri, 22 Apr 2016 17:57:12 +0000"  >&lt;p&gt;Patch landed, So close this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="34435">LU-7731</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="34119">LU-7668</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|hzxdaf:</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>