<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:28:54 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-16657] installing kmod-lustre-osd-zfs failed for RHEL 9.1 server</title>
                <link>https://jira.whamcloud.com/browse/LU-16657</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;RHEL 9.1 zfs test session failed:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sessions/1dd26fcc-a33f-498f-a2a9-8eb743911601&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sessions/1dd26fcc-a33f-498f-a2a9-8eb743911601&lt;/a&gt;&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;2023-02-14T06:43:02 onyx-70vm4 - zfs successfully installed
2023-02-14T06:43:02 onyx-70vm4 - Yum installing kmod-lustre-osd-zfs...
2023-02-14T06:43:02 onyx-70vm4 - Attempt 1
2023-02-14T06:43:04 onyx-70vm3 - yum install completed: out=[Updating Subscription Management repositories.
Last metadata expiration check: 0:12:27 ago on Tue 14 Feb 2023 06:30:36 AM UTC.
(try to add &apos;--skip-broken&apos; to skip uninstallable packages or &apos;--nobest&apos; to use not only best candidate packages)
] err=[Error: 
 Problem: package kmod-lustre-osd-zfs-2.15.53_154_g87af414-1.el9.x86_64 requires ksym(__cv_broadcast) = 0xc93ea281, but none of the providers can be installed
  - package kmod-lustre-osd-zfs-2.15.53_154_g87af414-1.el9.x86_64 requires ksym(arc_add_prune_callback) = 0x1363912f, but none of the providers can be installed
  - package kmod-lustre-osd-zfs-2.15.53_154_g87af414-1.el9.x86_64 requires ksym(arc_buf_size) = 0x4f87e6b0, but none of the providers can be installed
  - package kmod-lustre-osd-zfs-2.15.53_154_g87af414-1.el9.x86_64 requires ksym(arc_remove_prune_callback) = 0x1ab2d851, but none of the providers can be installed
--------8&amp;lt;--------
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="74680">LU-16657</key>
            <summary>installing kmod-lustre-osd-zfs failed for RHEL 9.1 server</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Feb 2023 20:47:25 +0000</created>
                <updated>Thu, 4 May 2023 23:11:39 +0000</updated>
                            <resolved>Mon, 1 May 2023 06:37:47 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="365180" author="mkvardakov" created="Wed, 8 Mar 2023 02:34:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=yujian&quot; class=&quot;user-hover&quot; rel=&quot;yujian&quot;&gt;yujian&lt;/a&gt; I could not reproduce the issue. Could restart the build, please?&lt;/p&gt;</comment>
                            <comment id="365288" author="yujian" created="Wed, 8 Mar 2023 19:11:29 +0000"  >&lt;p&gt;Sure, Michael. I just retriggered the failed test session in &lt;a href=&quot;https://review.whamcloud.com/49921&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/49921&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="366300" author="pjones" created="Fri, 17 Mar 2023 20:55:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mkvardakov&quot; class=&quot;user-hover&quot; rel=&quot;mkvardakov&quot;&gt;mkvardakov&lt;/a&gt; did the re-run test get you what you need to know?&lt;/p&gt;</comment>
                            <comment id="366387" author="mkvardakov" created="Mon, 20 Mar 2023 06:30:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=pjones&quot; class=&quot;user-hover&quot; rel=&quot;pjones&quot;&gt;pjones&lt;/a&gt; not much. The issue is duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16006&quot; title=&quot;can&amp;#39;t install kmod-lustre-osd-zfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16006&quot;&gt;LU-16006&lt;/a&gt; which is fixed, I guess. Jian rebased the code but that did not help.&lt;/p&gt;</comment>
                            <comment id="366424" author="mdiep" created="Mon, 20 Mar 2023 13:50:30 +0000"  >&lt;p&gt;has this ever worked before? this is new rhel9.1 server support&lt;/p&gt;</comment>
                            <comment id="366432" author="mdiep" created="Mon, 20 Mar 2023 14:12:26 +0000"  >&lt;p&gt;I took a quick look at the build log. I don&apos;t think this is DCO issue. it will require a large amount of time for me to dig into this&lt;/p&gt;</comment>
                            <comment id="366695" author="mdiep" created="Tue, 21 Mar 2023 16:06:18 +0000"  >&lt;p&gt;I update kernel-devel, kernel... on the builder el9.1 but still not helping. Unless this works in manual build, I&apos;d say this is not DCO issue. &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=yujian&quot; class=&quot;user-hover&quot; rel=&quot;yujian&quot;&gt;yujian&lt;/a&gt; please open LU ticket so &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=cfaber&quot; class=&quot;user-hover&quot; rel=&quot;cfaber&quot;&gt;cfaber&lt;/a&gt; can assign someone to look into this further.&lt;/p&gt;</comment>
                            <comment id="366698" author="yujian" created="Tue, 21 Mar 2023 16:45:30 +0000"  >&lt;p&gt;Thank you, Minh. Let me try to build and install manually.&lt;/p&gt;</comment>
                            <comment id="366848" author="yujian" created="Wed, 22 Mar 2023 08:51:12 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt;,&lt;br/&gt;
After building zfs, I got the following rpms:&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;# ls *.x86_64.rpm | grep -v debug
kmod-zfs-2.1.9-1.el9.x86_64.rpm
kmod-zfs-devel-2.1.9-1.el9.x86_64.rpm
libnvpair3-2.1.9-1.el9.x86_64.rpm
libuutil3-2.1.9-1.el9.x86_64.rpm
libzfs5-2.1.9-1.el9.x86_64.rpm
libzfs5-devel-2.1.9-1.el9.x86_64.rpm
libzpool5-2.1.9-1.el9.x86_64.rpm
zfs-2.1.9-1.el9.x86_64.rpm
zfs-test-2.1.9-1.el9.x86_64.rpm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And after installing them, I can successfully install kmod-lustre-osd-zfs. Could you please check if any zfs related rpms were not installed while provisioning the node?&lt;/p&gt;</comment>
                            <comment id="366882" author="mdiep" created="Wed, 22 Mar 2023 14:54:44 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=yujian&quot; class=&quot;user-hover&quot; rel=&quot;yujian&quot;&gt;yujian&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;Could you tell me the steps you did? I&apos;d like to compare with lbuild. there must be something new that we missed&lt;/p&gt;</comment>
                            <comment id="366902" author="yujian" created="Wed, 22 Mar 2023 17:23:29 +0000"  >&lt;p&gt;After building and installing the patched kernel, I built zfs as follows and installed the rpms listed in the previous comment:&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;# sh autogen.sh
# ./configure --with-spec=redhat --with-linux=/root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.12.1.el9_1/linux-5.14.0-162.12.1_lustre.el9.x86_64
# make rpms
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Then I built Lustre as follows and installed the rpms successfully:&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;# sh autogen.sh
# ./configure --with-linux=/root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.12.1.el9_1/linux-5.14.0-162.12.1_lustre.el9.x86_64 --with-zfs=/root/zfs --without-ldiskfs
# make rpms
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="366931" author="mdiep" created="Wed, 22 Mar 2023 19:51:30 +0000"  >&lt;p&gt;but this is not the same kernel as in the patch. could you try on&#160;&lt;/p&gt;

&lt;p&gt;5.14.0-162.18.1_lustre.el9.x86_64&lt;/p&gt;</comment>
                            <comment id="366937" author="yujian" created="Wed, 22 Mar 2023 20:30:55 +0000"  >&lt;p&gt;I already have a built kernel 5.14.0-162.12.1 on my local RHEL 9.1 vm node, so I didn&apos;t take another 4 hours to build kernel 5.14.0-162.18.1.&lt;br/&gt;
IMHO, there will be no problem for it.&lt;/p&gt;</comment>
                            <comment id="367000" author="yujian" created="Thu, 23 Mar 2023 05:41:01 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt;,&lt;br/&gt;
I ran the following command to provision an el9.1 server node:&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;ljb install -d el9.1 -a x86_64 -p test -j lustre-reviews -b 93153 -t server -i inkernel -v -n trevis-86vm6
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As per the node-provisioning log on Maloo, I ran &quot;yum install -y zfs&quot; on the node. Then I found &lt;b&gt;kmod-zfs&lt;/b&gt; rpm was not installed, which is the root cause of this ticket.&lt;/p&gt;</comment>
                            <comment id="367766" author="adilger" created="Wed, 29 Mar 2023 18:01:39 +0000"  >&lt;p&gt;Jian, can you please push a patch that adds &quot;&lt;tt&gt;Requires: kmod-zfs&lt;/tt&gt;&quot; (or possibly &quot;&lt;tt&gt;Requires: kmp-zfs&lt;/tt&gt;&quot; for SLES) to the &lt;tt&gt;kmod-lustre-osd-zfs&lt;/tt&gt; module.  That should force the installation of ZFS kernel modules, or report an error during &lt;tt&gt;kmod-lustre-osd-zfs&lt;/tt&gt; installation if they are not available.&lt;/p&gt;</comment>
                            <comment id="367826" author="yujian" created="Thu, 30 Mar 2023 01:47:28 +0000"  >&lt;p&gt;Hi Andreas,&lt;br/&gt;
On my local RHEL 9.1 vm node, I found installing &lt;tt&gt;zfs&lt;/tt&gt; required &lt;tt&gt;kmod-zfs&lt;/tt&gt;. So, since &quot;&lt;tt&gt;Requires: zfs&lt;/tt&gt;&quot; is already in lustre.spec.in, it seems we do not need to add &quot;&lt;tt&gt;Requires: kmod-zfs&lt;/tt&gt;&quot;.&lt;br/&gt;
I compared the node-provisioning logs on RHEL 8.7 zfs session and RHEL 9.1 zfs session on Maloo, and found:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;RHEL 8.7&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Yum installing zfs...

=========================================================================================================
 Package                                      Arch    Version                         Repository     Size
=========================================================================================================
Installing:
 zfs                                          x86_64  2.1.5-1.el8                     lustre-build  654 k
Installing dependencies:
 kmod-zfs-4.18.0-425.10.1.el8_lustre.x86_64   x86_64  2.1.5-1.el8                     lustre-build  1.5 M
 libnvpair3                                   x86_64  2.1.5-1.el8                     lustre-build   36 k
 libuutil3                                    x86_64  2.1.5-1.el8                     lustre-build   32 k
 libzfs5                                      x86_64  2.1.5-1.el8                     lustre-build  230 k
 libzpool5                                    x86_64  2.1.5-1.el8                     lustre-build  1.3 M
 lm_sensors-libs                              x86_64  3.4.0-23.20180522git70f7e08.el8 core-0         59 k
 sysstat                                      x86_64  11.7.3-7.el8                    core-1        425 k
&amp;lt;~snip~&amp;gt;
Installed:
  kmod-zfs-4.18.0-425.10.1.el8_lustre.x86_64-2.1.5-1.el8.x86_64                 
  libnvpair3-2.1.5-1.el8.x86_64                                                 
  libuutil3-2.1.5-1.el8.x86_64                                                  
  libzfs5-2.1.5-1.el8.x86_64                                                    
  libzpool5-2.1.5-1.el8.x86_64                                                  
  lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                        
  sysstat-11.7.3-7.el8.x86_64                                                   
  zfs-2.1.5-1.el8.x86_64                                                        

Complete!                               
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;RHEL 9.1&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Yum installing zfs...

================================================================================
 Package                Arch       Version               Repository        Size
================================================================================
Installing:
 zfs                    x86_64     2.1.5-1.el9           lustre-build     650 k
Installing dependencies:
 libuv                  x86_64     1:1.42.0-1.el9        core-1           153 k
 libzpool5              x86_64     2.1.5-1.el9           lustre-build     1.3 M
 lm_sensors-libs        x86_64     3.6.0-10.el9          core-1            44 k
 nss                    x86_64     3.79.0-14.el9_0       core-1           710 k
 nss-softokn            x86_64     3.79.0-14.el9_0       core-1           386 k
 nss-softokn-freebl     x86_64     3.79.0-14.el9_0       core-1           336 k
 nss-sysinit            x86_64     3.79.0-14.el9_0       core-1            24 k
 pcp-conf               x86_64     5.3.7-7.el9           core-1            34 k
 pcp-libs               x86_64     5.3.7-7.el9           core-1           607 k
 sysstat                x86_64     12.5.4-3.el9          core-1           484 k
&amp;lt;~snip~&amp;gt;
Package zfs-2.1.5-1.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I&apos;ve no idea why installing &lt;tt&gt;zfs&lt;/tt&gt; didn&apos;t depend on &lt;tt&gt;kmod-zfs&lt;/tt&gt; on the RHEL 9.1 node provisioned by &lt;tt&gt;ljb&lt;/tt&gt;, but it had such a dependency on RHEL 8.7 node and my local RHEL 9.1 vm node.&lt;/p&gt;</comment>
                            <comment id="367898" author="adilger" created="Thu, 30 Mar 2023 16:44:09 +0000"  >&lt;p&gt;You can run &quot;&lt;tt&gt;rpm --requires zfs&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;rpm --suggests zfs&lt;/tt&gt;&quot;.  Maybe the el9 package only suggests kmod-zfs? Or the zfs.spec file for that build is broken somehow?&lt;/p&gt;

&lt;p&gt;The spec in Git looks OK to me, and that line has been there for 10 years:&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;Requires:       %{name}-kmod = %{version}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Alternately, maybe the package was installed with &quot;&lt;tt&gt;&amp;#45;&amp;#45;nodeps&lt;/tt&gt;&quot;?&lt;/p&gt;</comment>
                            <comment id="367904" author="yujian" created="Thu, 30 Mar 2023 17:26:10 +0000"  >&lt;p&gt;On the el9.1 node provisioned by &quot;ljb&quot;:&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;# rpm -qa | grep zfs
# yum install -y zfs
Updating Subscription Management repositories.
Last metadata expiration check: 3:50:41 ago on Thu 30 Mar 2023 01:25:47 PM UTC.
Dependencies resolved.
===========================================================================================================================================================================================================================================
 Package                                                 Architecture                                         Version                                                     Repository                                                  Size
===========================================================================================================================================================================================================================================
Installing:
 zfs                                                     x86_64                                               2.1.9-1.el9                                                 lustre-build                                               652 k
Installing dependencies:
 libzfs5                                                 x86_64                                               2.1.9-1.el9                                                 lustre-build                                               231 k
 libzpool5                                               x86_64                                               2.1.9-1.el9                                                 lustre-build                                               1.3 M
 zfs-dkms                                                noarch                                               2.1.9-1.el9                                                 lustre-build                                                30 M

Transaction Summary
===========================================================================================================================================================================================================================================
Install  4 Packages
&amp;lt;~snip~&amp;gt;
Installed:
  libzfs5-2.1.9-1.el9.x86_64                                libzpool5-2.1.9-1.el9.x86_64                                zfs-2.1.9-1.el9.x86_64                                zfs-dkms-2.1.9-1.el9.noarch                               

Complete!
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;# rpm -qa | grep kmod-zfs
# rpm -q --requires zfs | grep kmod
zfs-kmod = 2.1.9
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="367909" author="adilger" created="Thu, 30 Mar 2023 18:06:44 +0000"  >&lt;p&gt;Jian, is it possible that &lt;tt&gt;kmod-zfs&lt;/tt&gt; is already installed on this node, but for a different kernel version?&lt;/p&gt;</comment>
                            <comment id="367959" author="yujian" created="Fri, 31 Mar 2023 06:03:23 +0000"  >&lt;p&gt;Hi Andreas,&lt;br/&gt;
Before running &quot;yum install -y zfs&quot;:&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;[root@trevis-86vm6 ~]# rpm -qa | grep zfs
[root@trevis-86vm6 ~]# rpm -qa | grep kmod
kmod-28-7.el9.x86_64
kmod-libs-28-7.el9.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;After running &quot;yum install -y zfs&quot;:&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;[root@trevis-86vm6 ~]# rpm -qa | grep zfs
libzfs5-2.1.9-1.el9.x86_64
zfs-dkms-2.1.9-1.el9.noarch
zfs-2.1.9-1.el9.x86_64
[root@trevis-86vm6 ~]# rpm -qa | grep kmod
kmod-28-7.el9.x86_64
kmod-libs-28-7.el9.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="368114" author="yujian" created="Sun, 2 Apr 2023 05:15:20 +0000"  >&lt;p&gt;I provisioned two test nodes for build &lt;a href=&quot;https://build.whamcloud.com/job/lustre-reviews/93453/:&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/job/lustre-reviews/93453/:&lt;/a&gt;&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;ljb install -d el8.7 -a x86_64 -p test -j lustre-reviews -b 93453 -t server -i inkernel -k vim -v -n trevis-87vm7
ljb install -d el9.1 -a x86_64 -p test -j lustre-reviews -b 93453 -t server -i inkernel -k vim -v -n trevis-86vm6
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On el8.7 node trevis-87vm7:&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;[root@trevis-87vm7 ~]# rpm -qa | grep zfs

[root@trevis-87vm7 ~]# rpm -qa | grep kmod
kmod-lustre-osd-ldiskfs-2.15.54_140_gd739512-1.el8.x86_64
kmod-25-19.el8.x86_64  
kmod-lustre-2.15.54_140_gd739512-1.el8.x86_64
kmod-lustre-tests-2.15.54_140_gd739512-1.el8.x86_64
kmod-libs-25-19.el8.x86_64

[root@trevis-87vm7 ~]# yum deplist zfs
Updating Subscription Management repositories.
Last metadata expiration check: 0:18:21 ago on Sun 02 Apr 2023 04:37:12 AM UTC.
package: zfs-2.1.5-1.el8.x86_64
&amp;lt;~snip~&amp;gt;
  dependency: zfs-kmod = 2.1.5
   provider: kmod-zfs-4.18.0-425.10.1.el8_lustre.x86_64-2.1.5-1.el8.x86_64
   provider: zfs-dkms-2.1.5-1.el8.noarch
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On el9.1 node trevis-86vm6:&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;[root@trevis-86vm6 ~]# rpm -qa | grep zfs

[root@trevis-86vm6 ~]# rpm -qa | grep kmod
kmod-28-7.el9.x86_64   
kmod-libs-28-7.el9.x86_64
kmod-lustre-2.15.54_140_gd739512-1.el9.x86_64
kmod-lustre-osd-ldiskfs-2.15.54_140_gd739512-1.el9.x86_64
kmod-lustre-tests-2.15.54_140_gd739512-1.el9.x86_64

[root@trevis-86vm6 ~]# yum deplist zfs
Updating Subscription Management repositories.
Last metadata expiration check: 0:19:53 ago on Sun 02 Apr 2023 04:35:23 AM UTC.
package: zfs-2.1.5-1.el9.x86_64
&amp;lt;~snip~&amp;gt;
  dependency: zfs-kmod = 2.1.5
   provider: kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
   provider: zfs-dkms-2.1.5-1.el9.noarch
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As we can see, on both nodes, zfs depends on zfs-kmod, which has two providers: &lt;b&gt;kmod-zfs&lt;/b&gt; and &lt;b&gt;zfs-dkms&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="368115" author="yujian" created="Sun, 2 Apr 2023 05:27:11 +0000"  >&lt;p&gt;However, while running &quot;yum install -y zfs&quot;, &lt;b&gt;kmod-zfs&lt;/b&gt; was installed on el8.7 node trevis-87vm7:&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;[root@trevis-87vm7 ~]# yum install -y zfs
Updating Subscription Management repositories.
Last metadata expiration check: 0:19:07 ago on Sun 02 Apr 2023 04:37:12 AM UTC.
Dependencies resolved.
========================================================================================================================================================================================================================================
 Package                                                                    Architecture                           Version                                                           Repository                                    Size
========================================================================================================================================================================================================================================
Installing:
 zfs                                                                        x86_64                                 2.1.5-1.el8                                                       lustre-build                                 654 k
Installing dependencies:
 kmod-zfs-4.18.0-425.10.1.el8_lustre.x86_64                                 x86_64                                 2.1.5-1.el8                                                       lustre-build                                 1.5 M
 libnvpair3                                                                 x86_64                                 2.1.5-1.el8                                                       lustre-build                                  36 k
 libuutil3                                                                  x86_64                                 2.1.5-1.el8                                                       lustre-build                                  32 k
 libzfs5                                                                    x86_64                                 2.1.5-1.el8                                                       lustre-build                                 230 k
 libzpool5                                                                  x86_64                                 2.1.5-1.el8                                                       lustre-build                                 1.3 M
 lm_sensors-libs                                                            x86_64                                 3.4.0-23.20180522git70f7e08.el8                                   core-0                                        59 k
 sysstat                                                                    x86_64                                 11.7.3-7.el8                                                      core-1                                       425 k

Transaction Summary
========================================================================================================================================================================================================================================
Install  8 Packages
&amp;lt;~snip~&amp;gt;
Installed:
  kmod-zfs-4.18.0-425.10.1.el8_lustre.x86_64-2.1.5-1.el8.x86_64           libnvpair3-2.1.5-1.el8.x86_64           libuutil3-2.1.5-1.el8.x86_64           libzfs5-2.1.5-1.el8.x86_64           libzpool5-2.1.5-1.el8.x86_64
  lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64                  sysstat-11.7.3-7.el8.x86_64             zfs-2.1.5-1.el8.x86_64

Complete!
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;but &lt;b&gt;zfs-dkms&lt;/b&gt; instead of kmod-zfs was installed on el9.1 node trevis-86vm6:&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;[root@trevis-86vm6 ~]# yum install -y zfs
Updating Subscription Management repositories.
Last metadata expiration check: 0:21:27 ago on Sun 02 Apr 2023 04:35:23 AM UTC.
Dependencies resolved.
========================================================================================================================================================================================================================================
 Package                                                    Architecture                                Version                                                           Repository                                               Size
========================================================================================================================================================================================================================================
Installing:
 zfs                                                        x86_64                                      2.1.5-1.el9                                                       lustre-build                                            650 k
Installing dependencies:
 bison                                                      x86_64                                      3.7.4-5.el9                                                       core-1                                                  947 k
 dkms                                                       noarch                                      3.0.10-1.el9                                                      addon-epel9-x86_64                                       84 k
 elfutils-libelf-devel                                      x86_64                                      0.187-5.el9                                                       core-1                                                   27 k
 flex                                                       x86_64                                      2.6.4-9.el9                                                       core-1                                                  318 k
 kernel-devel                                               x86_64                                      5.14.0-162.18.1_lustre.el9                                        lustre-build                                             23 M
 kernel-devel-matched                                       x86_64                                      5.14.0-162.18.1_lustre.el9                                        lustre-build                                            1.9 M
 libnvpair3                                                 x86_64                                      2.1.5-1.el9                                                       lustre-build                                             39 k
 libuutil3                                                  x86_64                                      2.1.5-1.el9                                                       lustre-build                                             33 k
 libuv                                                      x86_64                                      1:1.42.0-1.el9                                                    core-1                                                  153 k
 libzfs5                                                    x86_64                                      2.1.5-1.el9                                                       lustre-build                                            231 k
 libzpool5                                                  x86_64                                      2.1.5-1.el9                                                       lustre-build                                            1.3 M
 lm_sensors-libs                                            x86_64                                      3.6.0-10.el9                                                      core-1                                                   44 k
 m4                                                         x86_64                                      1.4.19-1.el9                                                      core-1                                                  304 k
 nspr                                                       x86_64                                      4.34.0-14.el9_0                                                   core-1                                                  140 k
 nss                                                        x86_64                                      3.79.0-14.el9_0                                                   core-1                                                  710 k
 nss-softokn                                                x86_64                                      3.79.0-14.el9_0                                                   core-1                                                  386 k
 nss-softokn-freebl                                         x86_64                                      3.79.0-14.el9_0                                                   core-1                                                  336 k
 nss-sysinit                                                x86_64                                      3.79.0-14.el9_0                                                   core-1                                                   24 k
 nss-util                                                   x86_64                                      3.79.0-14.el9_0                                                   core-1                                                   92 k
 pcp-conf                                                   x86_64                                      5.3.7-7.el9                                                       core-1                                                   34 k
 pcp-libs                                                   x86_64                                      5.3.7-7.el9                                                       core-1                                                  607 k
 sysstat                                                    x86_64                                      12.5.4-3.el9                                                      core-1                                                  484 k
 zfs-dkms                                                   noarch                                      2.1.5-1.el9                                                       lustre-build                                             29 M

Transaction Summary
========================================================================================================================================================================================================================================
Install  24 Packages   
&amp;lt;~snip~&amp;gt;
Installed:
  bison-3.7.4-5.el9.x86_64                                 dkms-3.0.10-1.el9.noarch                    elfutils-libelf-devel-0.187-5.el9.x86_64   flex-2.6.4-9.el9.x86_64           kernel-devel-5.14.0-162.18.1_lustre.el9.x86_64
  kernel-devel-matched-5.14.0-162.18.1_lustre.el9.x86_64   libnvpair3-2.1.5-1.el9.x86_64               libuutil3-2.1.5-1.el9.x86_64               libuv-1:1.42.0-1.el9.x86_64       libzfs5-2.1.5-1.el9.x86_64
  libzpool5-2.1.5-1.el9.x86_64                             lm_sensors-libs-3.6.0-10.el9.x86_64         m4-1.4.19-1.el9.x86_64                     nspr-4.34.0-14.el9_0.x86_64       nss-3.79.0-14.el9_0.x86_64
  nss-softokn-3.79.0-14.el9_0.x86_64                       nss-softokn-freebl-3.79.0-14.el9_0.x86_64   nss-sysinit-3.79.0-14.el9_0.x86_64         nss-util-3.79.0-14.el9_0.x86_64   pcp-conf-5.3.7-7.el9.x86_64
  pcp-libs-5.3.7-7.el9.x86_64                              sysstat-12.5.4-3.el9.x86_64                 zfs-2.1.5-1.el9.x86_64                     zfs-dkms-2.1.5-1.el9.noarch

Complete!
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="368116" author="yujian" created="Sun, 2 Apr 2023 05:39:27 +0000"  >&lt;p&gt;So, the issue now is why &lt;b&gt;zfs-dkms&lt;/b&gt; instead of &lt;b&gt;kmod-zfs&lt;/b&gt; was installed on el9.1 node.&lt;/p&gt;</comment>
                            <comment id="368118" author="yujian" created="Sun, 2 Apr 2023 06:09:46 +0000"  >&lt;p&gt;More info:&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;[root@trevis-87vm7 ~]# yum deplist /scratch/hudson/lustre-reviews/93453/arch-x86_64_build_type-server_distro-el8.7_ib_stack-inkernel/kmod-zfs-4.18.0-425.10.1.el8_lustre.x86_64-2.1.5-1.el8.x86_64.rpm | awk &apos;/provider:/ {print $2}&apos; | sort -u
Last metadata expiration check: 0:20:29 ago on Sun 02 Apr 2023 05:42:02 AM UTC.
bash-4.4.20-4.el8_6.x86_64
kernel-core-4.18.0-425.10.1.el8_lustre.x86_64
kernel-core-4.18.0-425.13.1.el8_7.x86_64
kernel-debug-core-4.18.0-425.13.1.el8_7.x86_64
kmod-25-19.el8.x86_64
zfs-2.1.5-1.el8.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;[root@trevis-86vm6 ~]# yum deplist /scratch/hudson/lustre-reviews/93453/arch-x86_64_build_type-server_distro-el9.1_ib_stack-inkernel/kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64.rpm
&amp;lt;~snip~&amp;gt;
  dependency: ksym(EdonRFinal) = 0xd345f388
   provider: kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
   provider: kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
  dependency: ksym(EdonRHash) = 0xe7e4950f
   provider: kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
   provider: kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
&amp;lt;~snip~&amp;gt;

[root@trevis-86vm6 ~]# yum deplist /scratch/hudson/lustre-reviews/93453/arch-x86_64_build_type-server_distro-el9.1_ib_stack-inkernel/kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64.rpm | awk &apos;/provider:/ {print $2}&apos; | sort -u
Last metadata expiration check: 0:53:54 ago on Sun 02 Apr 2023 05:02:55 AM UTC.
bash-5.1.8-6.el9_1.x86_64
kernel-core-5.14.0-162.18.1_lustre.el9.x86_64
kmod-28-7.el9.x86_64
kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
zfs-2.1.5-1.el9.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;On el9.1 node, installing kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64.rpm depends on the symbols provided by itself.&lt;/p&gt;</comment>
                            <comment id="368127" author="adilger" created="Sun, 2 Apr 2023 17:16:58 +0000"  >&lt;p&gt;I think in newer RPM there is a way to say that kmod-zfs is preferred over zfs-dkms, but this would probably be a change in the zfs.spec itself and would only work for ZFS that we build ourselves?  &lt;/p&gt;</comment>
                            <comment id="368257" author="yujian" created="Mon, 3 Apr 2023 21:32:53 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=adilger&quot; class=&quot;user-hover&quot; rel=&quot;adilger&quot;&gt;adilger&lt;/a&gt;,&lt;br/&gt;
I found even installing kmod-zfs first, it also failed on the el9.1 node provisioned by &quot;ljb&quot;:&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;[root@trevis-86vm6 ~]# yum install -y kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
Updating Subscription Management repositories.
Last metadata expiration check: 3:14:21 ago on Mon 03 Apr 2023 06:13:33 PM UTC.
Error:
 Problem: conflicting requests
  - nothing provides ksym(__SCT__cond_resched) = 0xc07351b3 needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
  - nothing provides ksym(__SCT__might_resched) = 0xe2c17b5d needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
  - nothing provides ksym(__SCT__preempt_schedule) = 0x48d88a2c needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
  - nothing provides ksym(__alloc_pages) = 0x26458776 needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
  - nothing provides ksym(__alloc_percpu) = 0x949f7342 needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
  - nothing provides ksym(__bitmap_weight) = 0x63c4d61f needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
&amp;lt;~snip~&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I didn&apos;t hit the above issue on my local VirtualBox RHEL 9.1 vm node. Manually building, installing (zfs and Lustre) and running basic sanity tests with FSTYPE=zfs passed.&lt;/p&gt;</comment>
                            <comment id="368456" author="yujian" created="Tue, 4 Apr 2023 22:27:35 +0000"  >&lt;p&gt;Since Jenkins build system uses lbuild to build packages, we have to investigate the lbuild codes, which needs more time.&lt;br/&gt;
Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt;, do you have any advice?&lt;/p&gt;</comment>
                            <comment id="368881" author="yujian" created="Mon, 10 Apr 2023 01:36:22 +0000"  >&lt;p&gt;The steps for manually building and installation of zfs are straightforward:&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;# git clone https://github.com/zfsonlinux/zfs.git
# cd zfs
# git co zfs-2.1.5
# git switch -c zfs-2.1.5

# sh autogen.sh
# ./configure --with-spec=redhat --with-linux=/root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.12.1.el9_1/linux-5.14.0-162.12.1_lustre.el9.x86_64
# make rpms

# rpm -ivh zfs-2.1.5-1.el9.x86_64.rpm kmod-zfs-2.1.5-1.el9.x86_64.rpm kmod-zfs-devel-2.1.5-1.el9.x86_64.rpm libzfs5-2.1.5-1.el9.x86_64.rpm libzfs5-devel-2.1.5-1.el9.x86_64.rpm libzpool5-2.1.5-1.el9.x86_64.rpm libnvpair3-2.1.5-1.el9.x86_64.rpm libuutil3-2.1.5-1.el9.x86_64.rpm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;However, in &lt;tt&gt;lbuild:build_spl_zfs()&lt;/tt&gt;, the steps are more complicated:&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;+ git clone -n /data/gerrit_mirror/fs/zfs.git zfs
+ git checkout -b lbuild zfs-2.1.5

+ bash autogen.sh
+ ./configure --with-linux=/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/server/distro/el9.1/ib_stack/inkernel/BUILD/reused/usr/src/kernels/5.14.0-162.22.2_lustre.el9.x86_64 --with-linux-obj=/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/server/distro/el9.1/ib_stack/inkernel/BUILD/reused/usr/src/kernels/5.14.0-162.22.2_lustre.el9.x86_64
+ make dist
+ ln -f zfs/zfs-2.1.5.tar.gz /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/server/distro/el9.1/ib_stack/inkernel/BUILD/SOURCES
+ ln -f zfs/scripts/kmodtool /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/server/distro/el9.1/ib_stack/inkernel/BUILD/SOURCES/

+ rpmbuild -ba zfs/rpm/generic/zfs.spec --nodeps ...
+ rpmbuild -ba zfs/rpm/generic/zfs-kmod.spec --nodeps ...
+ rpmbuild -ba zfs/rpm/generic/zfs-dkms.spec --nodeps ......

+ rpm2cpio /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/server/distro/el9.1/ib_stack/inkernel/BUILD/RPMS/x86_64/kmod-zfs-devel-2.1.5-1.el9.x86_64.rpm
+ cpio -id

+ CONFIGURE_FLAGS=&apos;--with-zfs-obj=...... --with-zfs=...... --with-spl-obj=...... --with-spl=...... --with-zfs-devel=...... &apos;
+ OSDZFSRPM=true
+ return 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="368889" author="yujian" created="Mon, 10 Apr 2023 04:50:13 +0000"  >&lt;p&gt;In order to debug &lt;tt&gt;lbuild&lt;/tt&gt; &lt;tt&gt;build_spl_zfs()&lt;/tt&gt;, I performed the commands step by step as follows on my local RHEL 9.1 vm node but found &lt;b&gt;kmod-zfs&lt;/b&gt; rpm could be successfully built and installed:&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;# rpm -qa | grep zfs
# mkdir /root/BUILD
# cd BUILD/
# mkdir -p RPMS RPMS/x86_64 RPMS/noarch BUILD SOURCES SPECS SRPMS
# cd

# git clone https://github.com/zfsonlinux/zfs.git
# cd zfs
# git checkout -b lbuild zfs-2.1.5
# bash autogen.sh
# ./configure --with-linux=/root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.22.2.el9_1/linux-5.14.0-162.22.2_lustre.el9.x86_64 --with-linux-obj=/root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.22.2.el9_1/linux-5.14.0-162.22.2_lustre.el9.x86_64
# make dist
# cd ../
# ln -f zfs/zfs-2.1.5.tar.gz /root/BUILD/SOURCES
# ln -f zfs/scripts/kmodtool /root/BUILD/SOURCES

# rpmbuild -ba zfs/rpm/generic/zfs.spec --nodeps -v --define &apos;_use_internal_dependency_generator 0&apos; --define &apos;require_kdir /root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.22.2.el9_1/linux-5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;kver 5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;kernels 5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;_tmppath /var/tmp&apos; --define &apos;kernelbuildroot /&apos; --define &apos;_topdir /root/BUILD&apos;

# rpmbuild -ba zfs/rpm/generic/zfs-kmod.spec --nodeps -v --define &apos;_use_internal_dependency_generator 0&apos; --define &apos;require_kdir /root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.22.2.el9_1/linux-5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;kver 5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;kernels 5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;_tmppath /var/tmp&apos; --define &apos;kernelbuildroot /&apos; --define &apos;_topdir /root/BUILD&apos;

# rpmbuild -ba zfs/rpm/generic/zfs-dkms.spec --nodeps -v --define &apos;_use_internal_dependency_generator 0&apos; --define &apos;require_kdir /root/kernel/rpmbuild/BUILD/kernel-5.14.0-162.22.2.el9_1/linux-5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;kver 5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;kernels 5.14.0-162.22.2_lustre.el9.x86_64&apos; --define &apos;_tmppath /var/tmp&apos; --define &apos;kernelbuildroot /&apos; --define &apos;_topdir /root/BUILD&apos;

# cd /root/BUILD/RPMS/x86_64/
# rpm -ivh zfs-2.1.5-1.el9.x86_64.rpm kmod-zfs-5.14.0-162.22.2_lustre.el9.x86_64-2.1.5-1.el9.x86_64.rpm kmod-zfs-devel-5.14.0-162.22.2_lustre.el9.x86_64-2.1.5-1.el9.x86_64.rpm libzfs5-2.1.5-1.el9.x86_64.rpm libzfs5-devel-2.1.5-1.el9.x86_64.rpm libzpool5-2.1.5-1.el9.x86_64.rpm libnvpair3-2.1.5-1.el9.x86_64.rpm libuutil3-2.1.5-1.el9.x86_64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:libnvpair3-2.1.5-1.el9           ################################# [ 13%]
   2:libuutil3-2.1.5-1.el9            ################################# [ 25%]
   3:libzfs5-2.1.5-1.el9              ################################# [ 38%]
   4:libzpool5-2.1.5-1.el9            ################################# [ 50%]
   5:kmod-zfs-5.14.0-162.22.2_lustre.e################################# [ 63%]
   6:zfs-2.1.5-1.el9                  ################################# [ 75%]
Created symlink /etc/systemd/system/zfs-import.target.wants/zfs-import-cache.service &#8594; /usr/lib/systemd/system/zfs-import-cache.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-mount.service &#8594; /usr/lib/systemd/system/zfs-mount.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-share.service &#8594; /usr/lib/systemd/system/zfs-share.service.
Created symlink /etc/systemd/system/zed.service &#8594; /usr/lib/systemd/system/zfs-zed.service.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-zed.service &#8594; /usr/lib/systemd/system/zfs-zed.service.
Created symlink /etc/systemd/system/multi-user.target.wants/zfs.target &#8594; /usr/lib/systemd/system/zfs.target.
Created symlink /etc/systemd/system/zfs.target.wants/zfs-import.target &#8594; /usr/lib/systemd/system/zfs-import.target.
Created symlink /etc/systemd/system/zfs-volumes.target.wants/zfs-volume-wait.service &#8594; /usr/lib/systemd/system/zfs-volume-wait.service.
   7:libzfs5-devel-2.1.5-1.el9        ################################# [ 88%]
   8:kmod-zfs-devel-5.14.0-162.22.2_lu################################# [100%]

# rpm -qa | grep kmod-zfs
kmod-zfs-5.14.0-162.22.2_lustre.el9.x86_64-2.1.5-1.el9.x86_64
kmod-zfs-devel-5.14.0-162.22.2_lustre.el9.x86_64-2.1.5-1.el9.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="368891" author="yujian" created="Mon, 10 Apr 2023 04:55:22 +0000"  >&lt;p&gt;The issue was narrowed down to Jenkins build system and/or ljb tool.&lt;br/&gt;
Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt; and &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mkvardakov&quot; class=&quot;user-hover&quot; rel=&quot;mkvardakov&quot;&gt;mkvardakov&lt;/a&gt;, could you please investigate further? Thank you.&lt;/p&gt;</comment>
                            <comment id="370063" author="mdiep" created="Thu, 20 Apr 2023 18:02:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=colmstea&quot; class=&quot;user-hover&quot; rel=&quot;colmstea&quot;&gt;colmstea&lt;/a&gt;, could you check ljb tool?&lt;/p&gt;</comment>
                            <comment id="370222" author="colmstea" created="Sat, 22 Apr 2023 15:17:43 +0000"  >&lt;p&gt;This does not look like an LJB issue. LJB is installing the kernel from the build, setting the proper default kernel and rebooting the VM to apply the kernel change (Jian&apos;s build from above no longer exists so I used &lt;a href=&quot;https://build.whamcloud.com/view/Reviews/job/lustre-reviews/94201/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/view/Reviews/job/lustre-reviews/94201/)&lt;/a&gt;&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;[root@onyx-22vm1 ~]# uname -a
Linux onyx-22vm1.onyx.whamcloud.com 5.14.0-162.18.1_lustre.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 11 20:39:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;LJB installed the expected repo&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;[root@onyx-22vm1 ~]# cat /etc/yum.repos.d/lustre-build.repo
[lustre-build]
name=lustre-build
baseurl=http://mgmt/cobbler/localmirror/hudson/lustre-reviews/94201/arch-x86_64_build_type-server_distro-el9.1_ib_stack-inkernel
enabled=1
priority=1
gpgcheck=0 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;When I install zfs, yum installs zfs-dkms as Jian saw. If I install kmod-zfs I get lots of &apos;nothing provides ksym&apos; errors as Jian saw also.&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;...
  - nothing provides ksym(__SCT__cond_resched) = 0xc07351b3 needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
&#160; - nothing provides ksym(__SCT__might_resched) = 0xe2c17b5d needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
&#160; - nothing provides ksym(__SCT__preempt_schedule) = 0x48d88a2c needed by kmod-zfs-5.14.0-162.18.1_lustre.el9.x86_64-2.1.5-1.el9.x86_64
...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I looked at the console log for the build of the el9.1 server and see a lot of messages like this. Perhaps this has something to do with it?&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;11:47:46 ********************************************************************************
11:47:46 *********************** KERNEL ABI COMPATIBILITY WARNING ***********************
11:47:46 ********************************************************************************
11:47:46 The following kernel symbols are not guaranteed to remain compatible with
11:47:46 future kernel updates to this RHEL release:
11:47:46 
11:47:46 	__SCT__cond_resched
11:47:46 	__SCT__preempt_schedule_notrace
11:47:46 	___ratelimit
11:47:46 	__bdev_dax_supported &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="370583" author="gerrit" created="Tue, 25 Apr 2023 18:48:05 +0000"  >&lt;p&gt;&quot;Minh Diep &amp;lt;mdiep@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50746&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50746&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16657&quot; title=&quot;installing kmod-lustre-osd-zfs failed for RHEL 9.1 server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16657&quot;&gt;&lt;del&gt;LU-16657&lt;/del&gt;&lt;/a&gt; build: don&apos;t need to use zfs kmodtool on RHEL9.1&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 21bb46e6b7bb8d392fda8cec5aaa25304eed18f8&lt;/p&gt;</comment>
                            <comment id="371012" author="gerrit" created="Mon, 1 May 2023 04:13:08 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50746/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50746/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16657&quot; title=&quot;installing kmod-lustre-osd-zfs failed for RHEL 9.1 server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16657&quot;&gt;&lt;del&gt;LU-16657&lt;/del&gt;&lt;/a&gt; build: don&apos;t need to use zfs kmodtool on RHEL9.1&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8a967f69e1f7f3e5b72766ae47db3bf64c76bac0&lt;/p&gt;</comment>
                            <comment id="371032" author="pjones" created="Mon, 1 May 2023 06:37:47 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="71115">LU-16006</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="74974">LU-16626</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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03e47:</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>