<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:22:55 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-15976] 2.15.0 - zfs-dkms packages cannot be installed under rhel8.5</title>
                <link>https://jira.whamcloud.com/browse/LU-15976</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The Lustre-ZFS packages from the official Whamcloud repo do not install&#160;&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;
dnf install lustre &#160;lustre-osd-zfs-mount lustre-zfs-dkms&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;because package &lt;em&gt;lustre-osd-zfs-mount&lt;/em&gt; depends invariably on package &lt;em&gt;kmod-lustre-osd-zfs&lt;/em&gt;.&lt;br/&gt;
kmod-packages were built for kernel ...345.2.1.. and thus do not fit (&lt;em&gt;nothing provides ksym...&lt;/em&gt;)&lt;br/&gt;
That&apos;s what dkms is for?&lt;/p&gt;</description>
                <environment>Alma Linux 8.5, kernel 4.18.0-348.23.1.el8_5.x86_64</environment>
        <key id="70918">LU-15976</key>
            <summary>2.15.0 - zfs-dkms packages cannot be installed under rhel8.5</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="wc-triage">WC Triage</assignee>
                                    <reporter username="thomasr">Thomas Roth</reporter>
                        <labels>
                            <label>DKMS</label>
                    </labels>
                <created>Tue, 28 Jun 2022 06:39:42 +0000</created>
                <updated>Mon, 22 Aug 2022 17:18:04 +0000</updated>
                            <resolved>Mon, 22 Aug 2022 17:18:04 +0000</resolved>
                                    <version>Lustre 2.15.0</version>
                                                        <due></due>
                            <votes>1</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="339006" author="thomasr" created="Tue, 28 Jun 2022 13:25:09 +0000"  >&lt;p&gt;Actually, this might be due to some issue with the supplied zfs packages:&lt;br/&gt;
I installed (from downloads.whamcloud.com/public/lustre/lustre-2.15.0/el8.5.2111)&lt;/p&gt;

&lt;p&gt;zfs.x86_64&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;2.0.7-1.el8&#160; &#160; &#160;&#160;&lt;br/&gt;
zfs-dkms.noarch&#160; &#160; &#160; &#160; &#160;2.0.7-1.el8&lt;br/&gt;
libzpool4.x86_64 &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 2.0.7-1.el8 &#160; &#160;&lt;br/&gt;
libzfs4.x86_64 2.0.7-1.el8&lt;br/&gt;
libzfs4-devel.x86_64 2.0.7-1.el8&lt;/p&gt;

&lt;p&gt;Then tried the above installation of the Lustre packages, which failed, then got the git repo, configure&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;
./configure --prefix=/usr --enable-modules --disable-iokit --disable-snmp --disable-doc --disable-tests --disable-maintainer-mode --with-linux=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --with-linux-obj=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --with-o2ib=/usr/src/kernels/4.18.0-348.23.1.el8_5.x86_64 --disable-gss --enable-server --disable-ldiskfs --with-linux=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --with-linux-obj=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --disable-manpages --disable-mpitests&#160;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;, &lt;em&gt;make rpms&lt;/em&gt;, resulting in the expected &lt;em&gt;kmod-lustre-2.15.0-1, kmod-lustre-osd-zfs-2.15.0-1, ... lustre-osd-zfs-mount-2.15.0-1&#160; -&lt;/em&gt; rpms, but&lt;/p&gt;

&lt;p&gt;&#160;&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 -i ./kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64.rpm
error: Failed dependencies:
&#160; &#160; ksym(__cv_broadcast) = 0x03cebd8a is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
&#160; &#160; ksym(arc_add_prune_callback) = 0x1363912f is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
&#160; &#160; ksym(arc_buf_size) = 0xa2990474 is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
&#160; &#160; ksym(arc_remove_prune_callback) = 0x1ab2d851 is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;ZFS by itself seems ok.&lt;br/&gt;
&#160;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;2022-06-29 Update&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;These self-compiled packages can be installed by&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 -i --nodeps ...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Imho this points to the rpm-creating part of the code.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="339014" author="mdiep" created="Tue, 28 Jun 2022 14:24:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=thomasr&quot; class=&quot;user-hover&quot; rel=&quot;thomasr&quot;&gt;thomasr&lt;/a&gt;, to use ZFS, you can&apos;t really use any of lustre&apos;s binaries directly since they were built against lustre&apos;s patched kernel.&lt;/p&gt;

&lt;p&gt;I assume you use on non-patches kernel, so you might need to install zfs-dkms and lustre-zfs-dkms + lustre user tools.&lt;/p&gt;</comment>
                            <comment id="339015" author="thomasr" created="Tue, 28 Jun 2022 14:25:07 +0000"  >&lt;p&gt;Next iteration: Boot the kernel supplied by Whamcloud,&lt;/p&gt;

&lt;p&gt;&#160;&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;
uname -r
4.18.0-348.2.1.el8_lustre.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Reinstall zfs, zfs-dkms -&amp;gt; works&lt;br/&gt;
Try Lustre:&lt;/p&gt;

&lt;p&gt;&#160;&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;
dnf install lustre kmod-lustre kmod-lustre-osd-zfs lustre-osd-zfs-mount
Error: 
Problem 1: conflicting requests

nothing provides ksym(dmu_tx_abort) = 0xa9691ccd needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64 nothing provides ksym(zio_buf_alloc) = 0x0c211976 needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
... &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And again, with dkms&lt;/p&gt;

&lt;p&gt;&#160;&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;
dnf install lustre lustre-zfs-dkms lustre-osd-zfs-mount
Error: 
Problem 1: &lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt; lustre-osd-zfs-mount-2.15.0-1.el8.x86_64 requires kmod-lustre-osd-zfs, but none of the providers can be installed

conflicting requests nothing provides ksym(dmu_tx_abort) = 0xa9691ccd needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
... &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="340593" author="knweiss" created="Fri, 15 Jul 2022 16:22:47 +0000"  >&lt;p&gt;Maybe I&apos;m misunderstanding something fundamental but AFAICS at least in the ZFS+DKMS (patchless kernel) case the rpm &quot;lustre-osd-zfs-mount&quot; shouldn&apos;t have a hard requirement (introduced in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13120&quot; title=&quot;lustre-osd-zfs-mount depends on zfs, kmod-lustre-osd-zfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13120&quot;&gt;&lt;del&gt;LU-13120&lt;/del&gt;&lt;/a&gt;) for the (kernel-specific!)&#160; &quot;kmod-lustre-osd-zfs&quot; rpm because the `lustre-zfs`DKMS module (rpm: lustre-zfs-dkms) does already compile and provide the kernel module osd_zfs.ko for the current kernel. And this is the only module the `kmod-lustre-osd-zfs` rpm contains.&lt;/p&gt;

&lt;p&gt;I.e. if we are using DKMS for lustre server there should not be a kmod requirement.&lt;/p&gt;</comment>
                            <comment id="341289" author="utopiabound" created="Fri, 22 Jul 2022 20:22:05 +0000"  >&lt;p&gt;If you install via zfs-dkms, you need to install lustre-all-dkms or lustre-zfs-dkms, not the kmod-lustre-* rpms.&lt;/p&gt;</comment>
                            <comment id="341311" author="thomasr" created="Sat, 23 Jul 2022 00:49:34 +0000"  >&lt;p&gt;To clarify, I did several different attempts:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;whamcloud-supplied kernel (348.2.1) plus kmod-packages -&amp;gt; errors&lt;/li&gt;
	&lt;li&gt;distribution-supplied kernel (348.23.1) plus dkms-packages -&amp;gt; errors&lt;/li&gt;
	&lt;li&gt;distribution-supplied kernel (348.23.1) plus self-compiled Lustre (from git) -&amp;gt; errors&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In the last step, I did &quot;&lt;em&gt;configure + make rpms&lt;/em&gt;&quot;, which yields new kmod-packages, obviously.&lt;/p&gt;

&lt;p&gt;These can be force-installed by supplying &lt;em&gt;--nodeps.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;(I did not try &quot;&lt;em&gt;configure; make; make install&lt;/em&gt;&quot;&#160; - if that exists. That might avoid the fatal dependencies check, which seems to be introduced by the package-bundling step ?)&lt;/p&gt;</comment>
                            <comment id="341407" author="knweiss" created="Mon, 25 Jul 2022 07:29:31 +0000"  >&lt;p&gt;Nathaniel, this is not a personal choice but a rpm dependency of the official rpms:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;$ rpm -q --requires -p lustre-all-dkms-2.15.0-1.el8.noarch.rpm |grep lustre-osd-zfs-mount&lt;br/&gt;
lustre-osd-zfs-mount&lt;br/&gt;
$ rpm -q --requires -p lustre-osd-zfs-mount-2.15.0-1.el8.x86_64.rpm|grep kmod&lt;br/&gt;
kmod-lustre-osd-zfs&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Please also see my comment above.&lt;/p&gt;</comment>
                            <comment id="341420" author="utopiabound" created="Mon, 25 Jul 2022 10:57:10 +0000"  >&lt;p&gt;This dependency was added by &lt;a href=&quot;https://review.whamcloud.com/37809&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37809&lt;/a&gt; (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13120&quot; title=&quot;lustre-osd-zfs-mount depends on zfs, kmod-lustre-osd-zfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13120&quot;&gt;&lt;del&gt;LU-13120&lt;/del&gt;&lt;/a&gt;) for 2.14.&#160; The solution is to either remove the kmod dependency from lustre-osd-zfs-mount, which may be the right answer because the dependencies have run kmod to utils packages prior to this, or add kmod to the &quot;Provides&quot; for dkms.&lt;/p&gt;</comment>
                            <comment id="344281" author="yujian" created="Mon, 22 Aug 2022 17:18:04 +0000"  >&lt;p&gt;The issue is being fixed in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16059&quot; title=&quot;Fix dkms server build installation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16059&quot;&gt;&lt;del&gt;LU-16059&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="71115">LU-16006</issuekey>
        </issuelink>
                            </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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>zfs</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02t6v:</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>