Bug 2097274

Summary: [RHEL8] Please add libxdp-static and libxdp-devel to CRB repo
Product: Red Hat Enterprise Linux 8 Reporter: Hangbin Liu <haliu>
Component: xdp-toolsAssignee: Toke Høiland-Jørgensen <thoiland>
Status: CLOSED ERRATA QA Contact: Network QE <network-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: akaris, jiji, jtrossba, thoiland
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:43:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hangbin Liu 2022-06-15 10:29:24 UTC
Description of problem:

Currently, the appstream repo only has xdp-tools and libxdp. There is no way for customer to install libxdp-static or libxdp-devel. We need to include libxdp-static and libxdp-devel as well.

Comment 1 Toke Høiland-Jørgensen 2022-06-21 16:38:11 UTC
Cf. the RHEL9 BZ, we should probably have this in CRB along with the corresponding libbpf packages...

Comment 2 Toke Høiland-Jørgensen 2022-09-22 14:43:35 UTC
*** Bug 2129035 has been marked as a duplicate of this bug. ***

Comment 5 Toke Høiland-Jørgensen 2022-10-25 08:46:19 UTC
According to https://issues.redhat.com/browse/ENGCMP-2609 this should have been added to the compose already...

Comment 7 Zhiqian Guan 2022-10-25 08:59:45 UTC
(In reply to Toke Høiland-Jørgensen from comment #5)
> According to https://issues.redhat.com/browse/ENGCMP-2609 this should have
> been added to the compose already...

Oh, OK. I'll check and if it's already there I will set this to verified.

Comment 8 Zhiqian Guan 2022-10-26 03:54:44 UTC
[root@netqe5 ~]# dnf install libxdp-static libxdp-devel
Failed to set locale, defaulting to C.UTF-8
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 2:24:36 ago on Tue Oct 25 21:28:51 2022.
Dependencies resolved.
======================================================================================================================
 Package                           Architecture       Version                      Repository                    Size
======================================================================================================================
Installing:
 libxdp-devel                      x86_64             1.2.6-1.el8                  beaker-CRB                    16 k
 libxdp-static                     x86_64             1.2.6-1.el8                  beaker-CRB                    40 k
Installing dependencies:
 elfutils-libelf-devel             x86_64             0.187-4.el8                  beaker-BaseOS                 61 k
 kernel-headers                    x86_64             4.18.0-431.el8               beaker-BaseOS                 10 M
 libbpf-devel                      x86_64             0.5.0-1.el8                  beaker-CRB                    68 k
 libxdp                            x86_64             1.2.6-1.el8                  beaker-AppStream             121 k
 zlib-devel                        x86_64             1.2.11-20.el8                beaker-BaseOS                 58 k

Transaction Summary
======================================================================================================================
Install  7 Packages

Total download size: 11 M
Installed size: 6.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): elfutils-libelf-devel-0.187-4.el8.x86_64.rpm                                   1.7 MB/s |  61 kB     00:00
(2/7): libxdp-1.2.6-1.el8.x86_64.rpm                                                  2.9 MB/s | 121 kB     00:00
(3/7): zlib-devel-1.2.11-20.el8.x86_64.rpm                                            3.8 MB/s |  58 kB     00:00
(4/7): libbpf-devel-0.5.0-1.el8.x86_64.rpm                                            947 kB/s |  68 kB     00:00
(5/7): libxdp-devel-1.2.6-1.el8.x86_64.rpm                                            221 kB/s |  16 kB     00:00
(6/7): libxdp-static-1.2.6-1.el8.x86_64.rpm                                           3.2 MB/s |  40 kB     00:00
(7/7): kernel-headers-4.18.0-431.el8.x86_64.rpm                                        35 MB/s |  10 MB     00:00
----------------------------------------------------------------------------------------------------------------------
Total                                                                                  36 MB/s |  11 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                              1/1
  Installing       : kernel-headers-4.18.0-431.el8.x86_64                                                         1/7
  Installing       : zlib-devel-1.2.11-20.el8.x86_64                                                              2/7
  Installing       : elfutils-libelf-devel-0.187-4.el8.x86_64                                                     3/7
  Installing       : libbpf-devel-0.5.0-1.el8.x86_64                                                              4/7
  Installing       : libxdp-1.2.6-1.el8.x86_64                                                                    5/7
  Installing       : libxdp-devel-1.2.6-1.el8.x86_64                                                              6/7
  Installing       : libxdp-static-1.2.6-1.el8.x86_64                                                             7/7
  Running scriptlet: libxdp-static-1.2.6-1.el8.x86_64                                                             7/7
  Verifying        : libxdp-1.2.6-1.el8.x86_64                                                                    1/7
  Verifying        : elfutils-libelf-devel-0.187-4.el8.x86_64                                                     2/7
  Verifying        : kernel-headers-4.18.0-431.el8.x86_64                                                         3/7
  Verifying        : zlib-devel-1.2.11-20.el8.x86_64                                                              4/7
  Verifying        : libbpf-devel-0.5.0-1.el8.x86_64                                                              5/7
  Verifying        : libxdp-devel-1.2.6-1.el8.x86_64                                                              6/7
  Verifying        : libxdp-static-1.2.6-1.el8.x86_64                                                             7/7
Installed products updated.

Installed:
  elfutils-libelf-devel-0.187-4.el8.x86_64   kernel-headers-4.18.0-431.el8.x86_64   libbpf-devel-0.5.0-1.el8.x86_64
  libxdp-1.2.6-1.el8.x86_64                  libxdp-devel-1.2.6-1.el8.x86_64        libxdp-static-1.2.6-1.el8.x86_64
  zlib-devel-1.2.11-20.el8.x86_64

Complete!
[root@netqe5 ~]#


already in CRB repo, set this to verified

Comment 14 errata-xmlrpc 2023-05-16 08:43:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (xdp-tools bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2928