<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:01 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-3450] lustre-ldiskfs upgrades don&apos;t get installed when upgrading from yum</title>
                <link>https://jira.whamcloud.com/browse/LU-3450</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>
&lt;p&gt;To reproduce:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Install Lustre 2.1.x on server A&lt;/li&gt;
	&lt;li&gt;Create a yum repository serving Lustre 2.3.x packages on server B&lt;/li&gt;
	&lt;li&gt;Edit yum configuration on server A to point to new repo on server B&lt;/li&gt;
	&lt;li&gt;Run &quot;yum update lustre&quot; on server A&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Expected outcome:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;All the Lustre packages on Server A upgraded to the 2.3.x versions&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Actual outcome:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;All the Lustre packages except lustre-ldiskfs are upgraded &amp;#8211; lustre-ldiskfs remains at the 2.1.x version, causing subsequent filesystem mounts to fail due to the old version of ldiskfs.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Background:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;lustre-modules depends on lustre-backing-fs, which is provided by lustre-ldiskfs.  However, there are no versions specified in this dependency chain, so when a 2.1.x lustre-ldiskfs is already installed, that satisfies the dependency of the lustre 2.3.x lustre-modules.  As a result, yum sees no need to install the updated ldiskfs package.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Suggested fix:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Make lustre-modules depend on a specific version of lustre-backend-fs or lustre-ldiskfs&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="19363">LU-3450</key>
            <summary>lustre-ldiskfs upgrades don&apos;t get installed when upgrading from yum</summary>
                <type id="6" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11315&amp;avatarType=issuetype">Story</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="mdiep">Minh Diep</assignee>
                                    <reporter username="john">John Spray</reporter>
                        <labels>
                            <label>mq213</label>
                    </labels>
                <created>Tue, 11 Jun 2013 10:43:10 +0000</created>
                <updated>Fri, 28 Jun 2013 21:41:33 +0000</updated>
                                            <version>Lustre 2.3.0</version>
                    <version>Lustre 2.1.6</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="60335" author="brian" created="Tue, 11 Jun 2013 11:50:49 +0000"  >&lt;p&gt;Just so that reproducing this doesn&apos;t get hung up in trying to create yum repos, etc. an equally valid reproducer is to simply upgrade a Lustre 2.1.x system to Lustre 2.3.0 but DO NOT include the lustre-ldiskfs RPM in your rpm upgrade operation.  So, i.e.:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# rpm -Uvh lustre-2.3.0-2.6.32_279.5.1.el6_lustre.gb16fe80.x86_64.x86_64.rpm lustre-modules-2.3.0-2.6.32_279.5.1.el6_lustre.gb16fe80.x86_64.x86_64.rpm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That command should happily work without error.  The problem is however, that as John says, the lustre-ldiskfs that got left back from the 2.1.5 installation simply doesn&apos;t work with Lustre 2.3.0 and so the packaging needs to ensure that a compatible ldiskfs is pulled in (i.e. required).&lt;/p&gt;

&lt;p&gt;This is probably as simple as adding versioning to the &quot;Provides: lustre-backing-fs&quot; in the ldiskfs specfile and a corresponding versioning to the &quot;Requires: lustre-backing-fs&quot; thats in the lustre specfile.  If you want to maintain some amount of flexibility in matching ldiskfs to Lustre, you can use &amp;gt;= operators in your Requires:.&lt;/p&gt;</comment>
                            <comment id="60340" author="pjones" created="Tue, 11 Jun 2013 12:49:06 +0000"  >&lt;p&gt;Minh&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="60756" author="adilger" created="Mon, 17 Jun 2013 15:22:51 +0000"  >&lt;p&gt;This problem is unfortunately caused by the ldiskfs RPM not changing its version for some time, and also the Lustre code not depending on a particular ldiskfs RPM version (though increasing the version wouldn&apos;t have helped in itself).&lt;/p&gt;

&lt;p&gt;For IEEL and 2.1.6 the ldiskfs build version needs to be modified (to 3.3.6 for 2.1.6, and 3.4.1 for IEEL), and then add a &lt;tt&gt;Requires: lustre-ldiskfs =&lt;/tt&gt; for those versions in the lustre.spec.in file.  See &lt;a href=&quot;http://review.whamcloud.com/5938&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5938&lt;/a&gt; for how this was done for 2.4.0.&lt;/p&gt;</comment>
                            <comment id="61522" author="mdiep" created="Fri, 28 Jun 2013 21:41:33 +0000"  >&lt;p&gt;patch for b2_1 &lt;a href=&quot;http://review.whamcloud.com/#/c/6754/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6754/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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|hzvt0v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8630</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>