<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:46:32 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-11743] lctl pool operations cannot be run on separate MGS system</title>
                <link>https://jira.whamcloud.com/browse/LU-11743</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The &quot;&lt;tt&gt;lctl pool_new&lt;/tt&gt;&quot;, &quot;&lt;tt&gt;lctl pool_add&lt;/tt&gt;&quot;, and related commands cannot properly be run on a system where the the MGS is separate from the MDS.  The pool commands must be run on the MGS in order to modify the configuration, but the pool configuration is not instantiated on the MGS so it does not have corresponding &lt;tt&gt;/proc/fs/lustre/lov/&amp;#42;/pool/&lt;/tt&gt; files that &lt;tt&gt;lctl&lt;/tt&gt; uses to verify whether the pool and OSTs exist or not.&lt;/p&gt;

&lt;p&gt;Rather than using the &lt;tt&gt;/proc&lt;/tt&gt; or &lt;tt&gt;/sys&lt;/tt&gt; file existence to verify the pool commands on the MGS, it would be possible to instead parse the filesystem configuration directly from the YAML filesystem configuration output of &quot;&lt;tt&gt;lctl llog_print &amp;lt;fsname&amp;gt;-client&lt;/tt&gt;&quot;.  This would also avoid the need for &lt;tt&gt;lctl&lt;/tt&gt; to wait for the pool files to appear in &lt;tt&gt;/proc&lt;/tt&gt; after the command is run, which can often take a few seconds.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54229">LU-11743</key>
            <summary>lctl pool operations cannot be run on separate MGS system</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 Dec 2018 19:21:39 +0000</created>
                <updated>Thu, 24 Mar 2022 21:31:10 +0000</updated>
                            <resolved>Sat, 28 Sep 2019 04:15:03 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.10.5</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                    <fixVersion>Lustre 2.12.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="238333" author="adilger" created="Mon, 10 Dec 2018 20:00:56 +0000"  >&lt;p&gt;As a workaround until &lt;tt&gt;lctl&lt;/tt&gt; is fixed, it is possible to mount a client on the MGS node temporarily while the &quot;&lt;tt&gt;lctl pool_&amp;#42;&lt;/tt&gt;&quot; commands are run, so that it can verify the filesystem-specific configuration.  The client should be unmounted when it is no longer needed.&lt;/p&gt;</comment>
                            <comment id="240694" author="gerrit" created="Fri, 25 Jan 2019 08:10:34 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34110&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34110&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool commands on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d4d87e190595041fabf0919900d1e379dd2af524&lt;/p&gt;</comment>
                            <comment id="251347" author="adilger" created="Sat, 13 Jul 2019 20:49:09 +0000"  >&lt;p&gt;The second patch needs to register a callback to iterate over the records in the client configuration llog to find the pool or OSTs being added or removed. This should be wrapped in a common function that can be used with either the local llog operator or with the client /proc traversal so that it works consistently with either interface. &lt;/p&gt;</comment>
                            <comment id="251644" author="emoly.liu" created="Thu, 18 Jul 2019 15:17:44 +0000"  >&lt;p&gt;The code is almost done. Once it passes my local ost-pool.sh test, I will upload it to the Gerrit.&lt;/p&gt;

&lt;p&gt;My implementation is to read the llog records from the last index, match the pool command keywords in the callback function to see if the pool and OSTs exist, and keep the return value consistent with lapi_search_ost() interface.&lt;/p&gt;</comment>
                            <comment id="253049" author="gerrit" created="Thu, 15 Aug 2019 07:51:33 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34110/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34110/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool commands on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 4a003a1f554602265630637080f65d9b4474f822&lt;/p&gt;</comment>
                            <comment id="253094" author="pjones" created="Thu, 15 Aug 2019 13:26:26 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="253172" author="gerrit" created="Thu, 15 Aug 2019 23:56:41 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35804&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35804&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool commands on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a091f4da87a80cce9ff4144270d3aef7eb2437c0&lt;/p&gt;</comment>
                            <comment id="253488" author="gerrit" created="Fri, 23 Aug 2019 08:30:05 +0000"  >&lt;p&gt;Emoly Liu (emoly@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35895&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35895&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool_list on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1f3157d4df3e11f17e4630b55093296a98c4c3e1&lt;/p&gt;</comment>
                            <comment id="254393" author="adilger" created="Mon, 9 Sep 2019 16:47:06 +0000"  >&lt;p&gt;Still one patch to land. &lt;/p&gt;</comment>
                            <comment id="255518" author="gerrit" created="Fri, 27 Sep 2019 23:12:53 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35895/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35895/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool_list on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d908fe9686bc1e583da7434856d9c06e6cbbc4fd&lt;/p&gt;</comment>
                            <comment id="255534" author="pjones" created="Sat, 28 Sep 2019 04:15:03 +0000"  >&lt;p&gt;Everything landed now&lt;/p&gt;</comment>
                            <comment id="255550" author="gerrit" created="Sat, 28 Sep 2019 21:18:49 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36314&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36314&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool_list on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1bcc27c39066363afbe52a8d5f3ad3cb074ef533&lt;/p&gt;</comment>
                            <comment id="255933" author="gerrit" created="Fri, 4 Oct 2019 20:30:15 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35804/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35804/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool commands on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ef1a94ee7fd859ea5c3af6b3028df78e6acea8c7&lt;/p&gt;</comment>
                            <comment id="258606" author="gerrit" created="Thu, 21 Nov 2019 07:33:37 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36314/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36314/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11743&quot; title=&quot;lctl pool operations cannot be run on separate MGS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11743&quot;&gt;&lt;del&gt;LU-11743&lt;/del&gt;&lt;/a&gt; utils: allow lctl pool_list on separate MGS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2b659e3a5c693943c147f713d832fc82d5a254fe&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="47897">LU-9899</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56854">LU-12733</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i007mf:</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>