<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:18:16 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-8519] build is broken on sles12</title>
                <link>https://jira.whamcloud.com/browse/LU-8519</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I don&apos;t know when it broke, but currently server builds on sles12 generate .rpm packages that can&apos;t install without --nodeps or --force.  The problem appears to be with the Provides and Requires strings in the various &lt;b&gt;kmp&lt;/b&gt; packages.  They don&apos;t match.&lt;/p&gt;

&lt;p&gt;I&apos;m guessing it&apos;s been broken for a while and just hasn&apos;t been noticed.  Maybe not noticed because we seldom test with sles12 server builds or maybe our test framework installs with --force options or something.&lt;/p&gt;

&lt;p&gt;Here is what I see in packages from a recent sles12 server build in lustre-reviews:&lt;/p&gt;

&lt;p&gt;rpm -q --provides -p lustre-kmp-default-2.8.56_34_gf7472b3_k3.12.60_52.54-1.x86_64.rpm | grep lustre-kmp&lt;br/&gt;
lustre-kmp = 2.8.56_34_gf7472b3&lt;br/&gt;
lustre-kmp = 2.8.56_34_gf7472b3_k3.12.60_52.54&lt;/p&gt;

&lt;p&gt;rpm -q --requires -p lustre-osd-ldiskfs-kmp-default-2.8.56_34_gf7472b3_k3.12.60_52.54-1.x86_64.rpm | grep lustre-kmp&lt;br/&gt;
lustre-kmp = 2.8.56_34_gf7472b3_k3.12.59_60.41_lustre&lt;/p&gt;

&lt;p&gt;Note the Requires string has &apos;41_lustre&apos; on the end and the Provides string has  &apos;_52.54&apos;.   They don&apos;t match at all.&lt;/p&gt;

&lt;p&gt;I&apos;m guessing this has something to do with one of the many recent changes in the lustre.spec.in file.&lt;/p&gt;</description>
                <environment></environment>
        <key id="38988">LU-8519</key>
            <summary>build is broken on sles12</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="mdiep">Minh Diep</assignee>
                                    <reporter username="bogl">Bob Glossman</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Aug 2016 19:48:05 +0000</created>
                <updated>Sat, 8 Oct 2016 19:08:13 +0000</updated>
                            <resolved>Sat, 8 Oct 2016 19:08:13 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="162571" author="bogl" created="Fri, 19 Aug 2016 20:01:45 +0000"  >&lt;p&gt;the current kernel version of sles12 is supposed to be 3.12.59-60.41&lt;/p&gt;

&lt;p&gt;looks like rpm names are kind of mashed up too.&lt;/p&gt;
</comment>
                            <comment id="162573" author="bogl" created="Fri, 19 Aug 2016 20:23:46 +0000"  >&lt;p&gt;I&apos;m guessing the &apos;k3.12.60_52.54&apos; showing up in some strings and package names is coming from the kernel version of the kernel running on the sles builder, not the kernel version of the kernel in lustre&apos;s &apos;--with-linux=&apos; configure option.&lt;/p&gt;

&lt;p&gt;I note that I can see quite varying package names even in client builds.  for example lustre-client-kmp-default-2.8.56_42_g7ac162e_k3.12.57_60.35-1.x86_64.rpm in &lt;br/&gt;
&lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-reviews/41080/arch=x86_64,build_type=client,distro=sles12,ib_stack=inkernel&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-reviews/41080/arch=x86_64,build_type=client,distro=sles12,ib_stack=inkernel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That has &apos;3.12.57&apos; in the name, even farther from what I think should be there.&lt;/p&gt;</comment>
                            <comment id="162594" author="morrone" created="Sat, 20 Aug 2016 00:08:57 +0000"  >&lt;p&gt;The lustre source code and the %kernel_module_package macro used by the lustre.spec file determine which kernel to compile against using different methods.  For RHEL-like systems we override a variable that used internally in RHEL&apos;s kernel_module_package macro:&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;    26  # We set this because kernel_module_package has its own method of identifying
    27  # which kernel to build against, and it is unlikely that its decision will
    28  # match with Lustre&apos;s method of selecting which kernel to build against.
    29  # By setting this variable, we override kernel_module_package&apos;s kernel
    30  # selection with our selection.
    31  %{!?kernel_version: %global kernel_version %kversion}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We get away with this kludge because the RHEL kernel_module_package does this:&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;%{!?kernel_version:%{expand:%%global kernel_version %{latest_kernel}}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That allows kernel_version to be predefined elsewhere (by us in this case), overriding the function&apos;s own logic.&lt;/p&gt;

&lt;p&gt;This is also probably a problem largely created by lbuild.  Because lbuild doesn&apos;t install Lustre prerequisites like the kernel packages in their proper location, none of the standard system rpm packaging tools will be able to find it.&lt;/p&gt;

&lt;p&gt;SLES&apos;s kernel_module_package does not seem to have the same easy kernel_version override like RHEL&apos;s kernel_module_package.  It is probably going to be tricky to fix this in lbuild.&lt;/p&gt;</comment>
                            <comment id="165956" author="gerrit" created="Tue, 13 Sep 2016 22:44:08 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22484&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22484&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8519&quot; title=&quot;build is broken on sles12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8519&quot;&gt;&lt;del&gt;LU-8519&lt;/del&gt;&lt;/a&gt; build: debug sles build&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 21527295621e42dc61e95623976902cb337e4e4e&lt;/p&gt;</comment>
                            <comment id="168805" author="gerrit" created="Sat, 8 Oct 2016 16:38:19 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/22484/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22484/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8519&quot; title=&quot;build is broken on sles12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8519&quot;&gt;&lt;del&gt;LU-8519&lt;/del&gt;&lt;/a&gt; build: make SLES use lbuild kernel-devel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0f9c4747281679d90497d8128239379daa5a1bc8&lt;/p&gt;</comment>
                            <comment id="168823" author="pjones" created="Sat, 8 Oct 2016 19:08:13 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="26509">LU-5614</issuekey>
        </issuelink>
                            </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|hzylf3:</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>