<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:33:21 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-17185] After deactivating OSTs, some clients see them as active</title>
                <link>https://jira.whamcloud.com/browse/LU-17185</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After running lctl conf_param lustrefc-OST0018.osc.active=0 on the MGS for multiple OSTs, some clients see the OSTs as inactive and work just fine.  Some clients see the OSTs as active and hang.  The software stack is the same on working and non-working clients.&lt;/p&gt;

&lt;p&gt;Here is some sample output from a working client:&lt;br/&gt;
  4 IN osc lustrefc-OST0007-osc-ffff9d035c824000 c75633d5-3afe-6370-7e49-dcad475a6bc2 4&lt;br/&gt;
  5 IN osc lustrefc-OST000e-osc-ffff9d035c824000 c75633d5-3afe-6370-7e49-dcad475a6bc2 4&lt;br/&gt;
  6 IN osc lustrefc-OST000f-osc-ffff9d035c824000 c75633d5-3afe-6370-7e49-dcad475a6bc2 4&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Note disabled OSTs not listed&lt;/li&gt;
	&lt;li&gt;lfs df -h partial ouput&lt;br/&gt;
lustrefc-MDT0000_UUID      229.3G       61.3G      131.4G  32% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustrefc-OST0012_UUID       64.9T       20.3T       44.6T  32% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:18&amp;#93;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Output from a non-working client&lt;br/&gt;
  4 UP osc lustrefc-OST0007-osc-ffff958c1995b800 4910e4fd-accd-1685-c6d2-3418a29afbd1 3&lt;br/&gt;
  5 UP osc lustrefc-OST000e-osc-ffff958c1995b800 4910e4fd-accd-1685-c6d2-3418a29afbd1 3&lt;br/&gt;
  6 UP osc lustrefc-OST000f-osc-ffff958c1995b800 4910e4fd-accd-1685-c6d2-3418a29afbd1 3&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;lfs df -h partial output&lt;br/&gt;
lustrefc-MDT0000_UUID      229.3G       61.3G      131.4G  32% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
OST0007             : Invalid argument&lt;br/&gt;
OST000e             : Invalid argument&lt;br/&gt;
OST000f             : Invalid argument&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;This has rendered our cluster unusable.  &lt;/p&gt;</description>
                <environment>Client:&lt;br/&gt;
CentOS Linux release 7.9.2009 (Core)&lt;br/&gt;
3.10.0-1160.49.1.el7.x86_64&lt;br/&gt;
lustre-client-2.12.9-1.el7.x86_64&lt;br/&gt;
lustre-client-dkms-2.12.9-1.el7.noarch&lt;br/&gt;
&lt;br/&gt;
Servers:&lt;br/&gt;
Servers:&lt;br/&gt;
CentOS Linux release 7.9.2009 (Core)&lt;br/&gt;
3.10.0-1160.49.1.el7_lustre.x86_64&lt;br/&gt;
Lustre 2.12.9 &lt;br/&gt;
&lt;br/&gt;
</environment>
        <key id="78354">LU-17185</key>
            <summary>After deactivating OSTs, some clients see them as active</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="rs1">Roger  Sersted</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Oct 2023 20:05:27 +0000</created>
                <updated>Fri, 13 Oct 2023 18:48:46 +0000</updated>
                                            <version>Lustre 2.12.9</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="388957" author="rs1" created="Wed, 11 Oct 2023 20:10:25 +0000"  >&lt;p&gt;I should add, I tried rebooting one of the problem nodes and that did not resolve this issue.&lt;/p&gt;</comment>
                            <comment id="389003" author="adilger" created="Wed, 11 Oct 2023 23:46:32 +0000"  >&lt;p&gt;I can&apos;t say for sure why this setting is not being applied to some of the clients.  As a workaround, you could manually deactivate these OSTs on the affected clients 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;client# lctl set_param osc.*OST{0007,000e,000f}*.active=0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;possibly using &lt;tt&gt;pdsh&lt;/tt&gt; or other tool to execute it on multiple clients at once.  It shouldn&apos;t be harmful if this is run on clients that already have the OSTs deactivated.&lt;/p&gt;</comment>
                            <comment id="389004" author="adilger" created="Wed, 11 Oct 2023 23:50:28 +0000"  >&lt;p&gt;It would be worthwhile to check that the conf_param command is present in the client config log:&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;mgs# lctl --device MGS llog_print lustrefc-client | grep OST0007
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;There would be initial commands to add the OST and then the last one should be the one to mark it inactive. In newer releases there is an &quot;&lt;tt&gt;lctl del_ost&lt;/tt&gt;&quot; command that will remove the OST setup commands from the configuration log completely. &lt;/p&gt;</comment>
                            <comment id="389080" author="rs1" created="Thu, 12 Oct 2023 13:51:46 +0000"  >&lt;p&gt;Thank you.  The lctl ...active=0 command on the clients fixed the hang problem.  I&apos;ll run the llog_print command later and attach the results.&lt;/p&gt;</comment>
                            <comment id="389287" author="rs1" created="Fri, 13 Oct 2023 18:48:46 +0000"  >&lt;p&gt;I thought it fixed the problem.  On the problem clients, I&apos;m seeing this:&lt;/p&gt;

&lt;p&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;root@puppy83 ~&amp;#93;&lt;/span&gt;# lfs df -h&lt;br/&gt;
UUID                       bytes        Used   Available Use% Mounted on&lt;br/&gt;
lustrefc-MDT0000_UUID      229.3G       61.3G      131.4G  32% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
OST0007             : Invalid argument&lt;br/&gt;
OST000e             : Invalid argument&lt;br/&gt;
OST000f             : Invalid argument&lt;br/&gt;
OST0010             : Invalid argument&lt;br/&gt;
OST0011             : Invalid argument&lt;br/&gt;
lustrefc-OST0012_UUID       64.9T       20.1T       44.8T  31% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:18&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustrefc-OST0013_UUID       64.9T       19.4T       45.6T  30% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:19&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustrefc-OST0014_UUID       64.9T       49.4T       15.5T  77% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:20&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustrefc-OST0015_UUID       64.9T       48.8T       16.1T  76% /data&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:21&amp;#93;&lt;/span&gt;&lt;br/&gt;
OST0016             : Invalid argument&lt;br/&gt;
OST0017             : Invalid argument&lt;br/&gt;
OST0018             : Invalid argument&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@puppy83 ~&amp;#93;&lt;/span&gt;#   lfs osts&lt;br/&gt;
OBDS:&lt;br/&gt;
7: lustrefc-OST0007_UUID INACTIVE&lt;br/&gt;
14: lustrefc-OST000e_UUID INACTIVE&lt;br/&gt;
15: lustrefc-OST000f_UUID INACTIVE&lt;br/&gt;
16: lustrefc-OST0010_UUID INACTIVE&lt;br/&gt;
17: lustrefc-OST0011_UUID INACTIVE&lt;br/&gt;
18: lustrefc-OST0012_UUID ACTIVE&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@puppy83 ~&amp;#93;&lt;/span&gt;#  lctl dl&lt;br/&gt;
  0 UP mgc MGC172.17.1.112@o2ib 8214fcc9-bf1d-148d-8c9e-8040314a4b34 4&lt;br/&gt;
  1 UP lov lustrefc-clilov-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 3&lt;br/&gt;
  2 UP lmv lustrefc-clilmv-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 4&lt;br/&gt;
  3 UP mdc lustrefc-MDT0000-mdc-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 4&lt;br/&gt;
  4 UP osc lustrefc-OST0007-osc-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 3&lt;br/&gt;
  5 UP osc lustrefc-OST000e-osc-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 3&lt;br/&gt;
  6 UP osc lustrefc-OST000f-osc-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 3&lt;br/&gt;
  7 UP osc lustrefc-OST0010-osc-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 3&lt;br/&gt;
  8 UP osc lustrefc-OST0011-osc-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 3&lt;br/&gt;
  9 UP osc lustrefc-OST0012-osc-ffff9cb9fd858000 9e88710e-fc2d-cda9-b054-cef11bc3aa18 4&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>client</label>
            <label>mgs</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>client</label>
            <label>mgs</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03y4v:</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>