<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:43:04 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-4477] Changelogs not working anymore after upgrading from 2.1 to 2.4</title>
                <link>https://jira.whamcloud.com/browse/LU-4477</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;On a customer site we have a file system originally formatted with Lustre 2.1. On this file system several changelog users were registered, and changelogs were working fine.&lt;/p&gt;

&lt;p&gt;Then this file system was upgraded to 2.4. But it broke changelogs usage, as no changelog user is registered anymore. Moreover, former changelog records are unreachable.&lt;/p&gt;

&lt;p&gt;As noted by Aurelien Degremont in his email (&lt;a href=&quot;https://lists.01.org/pipermail/hpdd-discuss/2014-January/000713.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.01.org/pipermail/hpdd-discuss/2014-January/000713.html&lt;/a&gt;), it seems to be due to changes in the llog interface in 2.4 (changelog_catalog and changelog_users file are now in root MDT directory, changelog_catalogs do not point to other files in OBJECTS/ directory anymore, etc).&lt;/p&gt;

&lt;p&gt;We would need a method to migrate the &apos;changelogs configuration&apos; from 2.1 to 2.4.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Sebastien.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22720">LU-4477</key>
            <summary>Changelogs not working anymore after upgrading from 2.1 to 2.4</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="3">Duplicate</resolution>
                                        <assignee username="laisiyao">Lai Siyao</assignee>
                                    <reporter username="sebastien.buisson">Sebastien Buisson</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Jan 2014 15:40:24 +0000</created>
                <updated>Fri, 14 Feb 2014 10:27:35 +0000</updated>
                            <resolved>Thu, 13 Feb 2014 14:49:14 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="74886" author="pjones" created="Tue, 14 Jan 2014 02:05:17 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

&lt;p&gt;Could you please help with this one&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="75191" author="laisiyao" created="Fri, 17 Jan 2014 16:49:44 +0000"  >&lt;p&gt;Firstly I tried to add compatible code in 2.4 and master to keep back-compatible, but I realised that it complicated related code, and will be used only once. So a tool to migrate as you suggested should be better. And since this is seldom used, and to not complicate the utils, IMO we can just mount mdt device as ldiskfs and migrate changelogs directly, so the steps is as follows:&lt;br/&gt;
1. mount -t ldiskfs &amp;lt;mdt-device&amp;gt; /mnt/temp&lt;br/&gt;
2. cat /mnt/temp/CONFIGS/changelog_catalog &amp;gt; /mnt/temp/changelog_catalog&lt;br/&gt;
3. mv /mnt/temp/CONFIGS/changelog_catalog /tmp/changelog_catalog.backup&lt;br/&gt;
4. remount mdt device&lt;/p&gt;

&lt;p&gt;You can do the same for &apos;changelog_users&apos;, which doesn&apos;t look to be necessary, though it will be cleaner to move it out of CONFIGS directory.&lt;/p&gt;</comment>
                            <comment id="75196" author="adegremont" created="Fri, 17 Jan 2014 17:13:19 +0000"  >&lt;p&gt;I&apos;ve already tried this trick and it does not work. &lt;br/&gt;
It seems the llog structure has been changed too and it does not find the subcatalog. After restarting the MDT, it complains that it could not find some objects for the changelog_catalog.&lt;/p&gt;</comment>
                            <comment id="75254" author="laisiyao" created="Mon, 20 Jan 2014 02:47:23 +0000"  >&lt;p&gt;I tested 2.1 -&amp;gt; master, which works for me, I&apos;ll test 2.4 later.&lt;/p&gt;</comment>
                            <comment id="75259" author="laisiyao" created="Mon, 20 Jan 2014 07:14:55 +0000"  >&lt;p&gt;I just tested 2.1 -&amp;gt; 2.4, which works too. Could you upload your changelog_catalog file? I can do some test locally.&lt;/p&gt;</comment>
                            <comment id="75266" author="adegremont" created="Mon, 20 Jan 2014 14:24:09 +0000"  >&lt;p&gt;Unfortunately, I&apos;ve restarted a new Changelog flow for this filesystem as I really needed it. It is difficult for me to modify it now to check this.&lt;/p&gt;

&lt;p&gt;When I tried the same kind of tricks you are proposing, here the error log I got:&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;192:llog_cat_id2handle()) foo-MDD0000: error opening log id 0x0:123815571:fc5c411af: rc = -2
795:cat_cancel_cb()) foo-MDD0000: cannot find handle for llog 0x0:123815571: -2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But the OBJECT file is there!&lt;/p&gt;

&lt;p&gt;If I do&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;$ mount -t ldiskfs /dev/sdd /mnt/foo
$ cd /mnt/foo
$ printf &quot;%x\n&quot; 123815571
7614693
$ ls -l OBJECTS/7614693\:f5c411af
-rw-rw-rw 1 root root 6929088 Dec 16 16:52 OBJECTS/7614693:f5c411af
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So I do not understand why MDD layer is return rc = -2.&lt;br/&gt;
That&apos;s why I thought the OBJECTS file directory has changed too.&lt;/p&gt;</comment>
                            <comment id="75429" author="laisiyao" created="Wed, 22 Jan 2014 14:28:31 +0000"  >&lt;p&gt;I&apos;ll reproduce it tomorrow and see what happens.&lt;/p&gt;</comment>
                            <comment id="75500" author="laisiyao" created="Thu, 23 Jan 2014 13:27:15 +0000"  >&lt;p&gt;Latest 2.4 and master branch can support this trick, but 2.4.1 not, I&apos;ll see which patch is missing.&lt;/p&gt;</comment>
                            <comment id="76533" author="laisiyao" created="Sat, 8 Feb 2014 03:24:00 +0000"  >&lt;p&gt;Commit 8d306c0617a89476b24a44eb0267f33e2f971ef2 &lt;a href=&quot;http://review.whamcloud.com/7625&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7625&lt;/a&gt; can fix this issue, which has been landed to 2.4.2, could you try it on your system?&lt;/p&gt;</comment>
                            <comment id="76968" author="pjones" created="Thu, 13 Feb 2014 14:49:14 +0000"  >&lt;p&gt;duplicate of lu-3934&lt;/p&gt;</comment>
                            <comment id="77071" author="adegremont" created="Fri, 14 Feb 2014 10:27:35 +0000"  >&lt;p&gt;Lai, we should be able to try this in 4 weeks. Systems are currently in production and we cannot test this upgrade sooner.&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|hzwcpb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12261</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>