<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:26:47 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-9505] lfs changelog fails for MDT index containing numerals [A-F]</title>
                <link>https://jira.whamcloud.com/browse/LU-9505</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;lfs changelog &amp;lt;mdtname&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;parses the index of &lt;em&gt;mdtname&lt;/em&gt; incorrectly, causing it to fetch the wrong changelog entries if the index contains letters &lt;span class=&quot;error&quot;&gt;&amp;#91;A-F&amp;#93;&lt;/span&gt; (e.g. lquake-MDT000A).&lt;/p&gt;

&lt;p&gt;The error appears to be here:&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;diff --git a/lustre/utils/liblustreapi.c b/lustre/utils/liblustreapi.c
index 9301383..38e2085 100644
--- a/lustre/utils/liblustreapi.c
+++ b/lustre/utils/liblustreapi.c
@@ -3985,7 +3985,7 @@ int root_ioctl(const char *mdtname, int opc, void *data, int *mdtidxp,
                         return -EINVAL;
                 ptr = fsname + strlen(fsname) - 8;
                 *ptr = &apos;\0&apos;;
-                index = strtol(ptr + 4, NULL, 10);
+                index = strtol(ptr + 4, NULL, 16);
                 rc = get_root_path(WANT_FD | want_error, fsname, &amp;amp;fd, NULL, -1);
         }
         if (rc &amp;lt; 0) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like this error is present in Lustre 2.9 as well.  Master exposes changelogs using the MDT name itself, not just the index, and may not have this issue.&lt;/p&gt;</description>
                <environment>lustre-2.8.0_8.chaos</environment>
        <key id="46097">LU-9505</key>
            <summary>lfs changelog fails for MDT index containing numerals [A-F]</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="ofaaland">Olaf Faaland</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Mon, 15 May 2017 21:23:47 +0000</created>
                <updated>Thu, 3 Aug 2017 23:09:06 +0000</updated>
                            <resolved>Wed, 19 Jul 2017 03:39:41 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.10.1</fixVersion>
                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="196045" author="pjones" created="Tue, 16 May 2017 17:17:49 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please assist with this issue. Even though this function is not called in master it would be a good idea to either correct or remove the function there to prevent someone getting hit by this problem again (as well as providing a suitable fix for LLNL on 2.8 FE)&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="196140" author="gerrit" created="Wed, 17 May 2017 09:17:43 +0000"  >&lt;p&gt;Emoly Liu (emoly.liu@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27156&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27156&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9505&quot; title=&quot;lfs changelog fails for MDT index containing numerals [A-F]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9505&quot;&gt;&lt;del&gt;LU-9505&lt;/del&gt;&lt;/a&gt; llapi: treat MDT index as a hex number&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6aa457bd3f8557812e7b6b67d20709075e7f3beb&lt;/p&gt;</comment>
                            <comment id="202576" author="gerrit" created="Wed, 19 Jul 2017 03:28:47 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27156/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27156/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9505&quot; title=&quot;lfs changelog fails for MDT index containing numerals [A-F]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9505&quot;&gt;&lt;del&gt;LU-9505&lt;/del&gt;&lt;/a&gt; llapi: treat MDT index as a hex number&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 26b710a536dc58c9fa0320cdbf5f6b7ce4dc1a68&lt;/p&gt;</comment>
                            <comment id="202637" author="pjones" created="Wed, 19 Jul 2017 03:39:41 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="203612" author="gerrit" created="Wed, 26 Jul 2017 18:08:57 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28225&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28225&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9505&quot; title=&quot;lfs changelog fails for MDT index containing numerals [A-F]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9505&quot;&gt;&lt;del&gt;LU-9505&lt;/del&gt;&lt;/a&gt; llapi: treat MDT index as a hex number&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7a96bf2b64166a2050fa0d3d2a52ee517b712f44&lt;/p&gt;</comment>
                            <comment id="204385" author="gerrit" created="Thu, 3 Aug 2017 21:41:16 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28225/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28225/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9505&quot; title=&quot;lfs changelog fails for MDT index containing numerals [A-F]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9505&quot;&gt;&lt;del&gt;LU-9505&lt;/del&gt;&lt;/a&gt; llapi: treat MDT index as a hex number&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f75574c5f6d88eb697dfafce11469b4e3f2b8e95&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|hzzcsv:</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>