[Linux-PowerEdge] RHEL 8.x dell-system-update RPM should include libssh2

Spike_White at Dell.com Spike_White at Dell.com
Mon Feb 24 11:19:45 CST 2020


Stefan,

FYI -- I am in a different section of Dell.  So I am a consumer of OMSA, much like you.  I have no involvement with OMSA development.

I had to reach out to a co-worker that does more work with RHN than me.   To get the answers to your questions.  Here are the official RHN channels for AppStream for RHEL8:

Base RHEL8.1 appstream RHN channel -- official name is:
	Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs x86_64 8.1

RHEL8 appstream latest RHN channel -- official name is:
              Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs x86_64 8

So the first one is the base RHEL8.1 content that comes on the RHEL8.1 install ISO.   It does not have libssh2 RPM.  It is also available as this RHN channel.

The second one is the RHN channel that has all the latest updates for RHEL8.x.  Including 8.1.  This RHN channel does have the latest libssh2 RPM.    I believe the current latest in this channel is:

	libssh2-1.8.0-8.module+el8.0.0+5339+ebcc8ca7.1.x86_6

 This content is not available on the RHEL 8.1 install ISO.  

So installing dsu on RHEL 8.1 is a matter of timing.   If you install OMSA early in the %post section when you kickstart, it will not be functional.  Because libssh2 RPM is not available yet.

But if you wait until after your new build is subscribed to this second RHN channel above and then install libssh2 RPM first, then dsu will be fully functional.

Spike

-----Original Message-----
From: Steffan Cline <steffan at hldns.com> 
Sent: Monday, February 24, 2020 9:17 AM  
To: White, Spike; linux-poweredge-Lists
Subject: Re: [Linux-PowerEdge] RHEL 8.x dell-system-update RPM should include libssh2


[EXTERNAL EMAIL] 

Spike,


How did you configure the AppStream8.latest RHN channel?

I searched all my repos and I only have the AppStream8. Googling "AppStream8.latest" didn't find anything but your post in an archive.

I worked around this temporarily by installing the CentOS 7 version but used the el8 versions of it's dependencies.

yum -y install compat-openssl10-1:1.0.2o-3.el8.x86_64
yum -y install http://mirror.centos.org/centos/7/os/x86_64/Packages/libssh2-1.8.0-3.el7.x86_64.rpm

DSU then launched fine.

 
Thank you,
Steffan Cline
steffan at hldns.com
602-793-0014 
 

On 2/22/20, 5:57 PM, "linux-poweredge-bounces at dell.com on behalf of Spike.White at dell.com" <linux-poweredge-bounces at dell.com on behalf of Spike.White at dell.com> wrote:

    This Bugzilla reports claims:
    
    	libssh2 is removed from RHEL-8, see  bug #1513312 for details.  The package has actually never been supported in RHEL-8 beyond the virt module.
    
    That is not quite true.  It is available in RHEL8.1, in the AppStream8.latest RHN channel.
    
    $ yum list libssh2
    Last metadata expiration check: 1 day, 8:22:57 ago on Fri 21 Feb 2020 10:27:24 AM CST.
    Installed Packages
    libssh2.x86_64                                                         1.8.0-8.module+el8.0.0+5339+ebcc8ca7.1                                                          @AppStream8.latest-patch
    $
    
    It is true however, that it's not in the base RHEL8 or AppStream8  yum repos that come with base RHEL 8.1.
    
    It is pretty trivial to install it on RHEL 8.0 and 8.1.  
       1. Define the yum repo definition file for AppStream8.latest.  
       2. yum install libssh2.
    
    So if the (RHEL8 version of) dell-system-update RPM requires it, it should list it as an RPM dependency.
    
    Spike
    ----------------------------------------------------------------------
    
    Date: Fri, 21 Feb 2020 14:25:41 -0500
    From: Matt VanderWerf <mvanderw at nd.edu>
    To: linux-poweredge at dell.com
    Subject: Re: [Linux-PowerEdge] RHEL 8.x dell-system-update RPM should
    	include libssh2 RPM as a dependency...
    Message-ID:
    	<CAAZU3rCy+PWrt=LArTBiCtxzoDYh1z_kq2Hjdbmpv9Zvcz4u1w at mail.gmail.com>
    Content-Type: text/plain; charset="utf-8"
    
    
    [EXTERNAL EMAIL] 
    
    To add to Chris, there is more information here (someone from Dell opened the bug): https://bugzilla.redhat.com/show_bug.cgi?id=1767908
    
    According to https://bugzilla.redhat.com/show_bug.cgi?id=1767908#c15 (from another Dell person), "Dell tools has made plans to move to libssh from libssh2."
    
    Thanks.
    
    --
    Matt Vander Werf
    HPC System Administrator
    University of Notre Dame
    Center for Research Computing - Union Station
    506 W. South Street
    South Bend, IN 46601
    Phone: (574) 631-0692
    
    
    On Fri, Feb 21, 2020 at 2:18 PM Chris Adams <linux at cmadams.net> wrote:
    
    >
    > [EXTERNAL EMAIL]
    >
    > libssh is a completely different library from libssh2, so that's not
    > going to work.
    >
    > libssh2 has been deprecated in RHEL 8.1 in favor of libssh - libssh2
    > _may_ get added to EPEL, but it has not so far.  Dell should probably
    > look at either updating their code to use the alternate, or they could
    > include libssh2 in their RHEL 8 repo.
    >
    > Once upon a time, Patrick Boutilier <boutilpj at ednet.ns.ca> said:
    > >
    > > [EXTERNAL EMAIL]
    > >
    > > Or just make a symbolic link.
    > >
    > >
    > >
    > > cd /usr/lib64
    > >
    > > ln -s libssh.so.4 libssh2.so.1
    > >
    > >
    > > On 2/21/20 1:05 PM, Aram Mirzadeh wrote:
    > > >I downloaded libssh from github and compiled it.  I just needed
    > > >the regular "Development Tools" group install.
    > > >
    > > >On Fri, Feb 21, 2020 at 11:47 AM <Spike.White at dell.com
    > > ><mailto:Spike.White at dell.com>> wrote:
    > > >
    > > >    All,____
    > > >
    > > >    __ __
    > > >
    > > >    On RHEL8.1, when installing dell-system-update RPM as per usual
    > > >    instructions, dsu fails on the command line as so:____
    > > >
    > > >    __ __
    > > >
    > > >    [root at austgcore17 ~]# dsu --help____
    > > >
    > > >    dsu: error while loading shared libraries: libssh2.so.1: cannot open
    > > >    shared object file: No such file or directory____
    > > >
    > > >    __ __
    > > >
    > > >    It?s trivial to fix, just install the libssh2 RPM:____
    > > >
    > > >    __ __
    > > >
    > > >    [root at austgcore17 ~]# yum -y install libssh2____
    > > >
    > > >    ?____
    > > >
    > > >    [root at austgcore17 ~]# dsu --help____
    > > >
    > > >    __ __
    > > >
    > > >    Usage: dsu [OPTION]...____
    > > >
    > > >             Options:____
    > > >
    > > >             ?____
    > > >
    > > >    __ __
    > > >
    > > >    However, for completeness the dell-system-update RPM for RHEL8
    > > >    should add libssh2 RPM as an RPM dependency.____
    > > >
    > > >    __ __
    > > >
    > > >    Spike____
    
    _______________________________________________
    Linux-PowerEdge mailing list
    Linux-PowerEdge at dell.com
    https://lists.us.dell.com/mailman/listinfo/linux-poweredge
    




More information about the Linux-PowerEdge mailing list