[Linux-PowerEdge] Linux-PowerEdge Digest, Vol 183, Issue 13

Jim Nauer CWRU jan3 at case.edu
Mon Feb 24 14:06:32 CST 2020


[EXTERNAL EMAIL] 

Steffan--

I think there is another issue involved here, which Spike White hinted at
in his reply - namely, that Red Hat supplies 3 different sets of
repositories for RHEL 8 (and adds a new set for each new 8.x release). If
your systems are configured to use _only_ the "8.1" release, you will not
see the Red Hat version of "libssh2", which only exists in the 8.0 release.


> From: Steffan Cline <steffan at hldns.com>
> To: <Spike.White at dell.com>,     <linux-poweredge at lists.us.dell.com>
> Subject: Re: [Linux-PowerEdge] RHEL 8.x dell-system-update RPM should
>         include libssh2

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.


Check your "subscription-manger release" version. There are currently 3
valid options: "8", "8.0", and "8.1".

- The "8.0" version contains only the original RHEL 8.0 packages, plus all
of the patches released after 8.0 and before 8.1
- The "8.1" version contains only the original RHEL 8.1 packages (from the
ISO), plus all of the patches released after 8.1 and before 8.2
- The "8" version contains _all_ of the packages for all versions of RHEL 8
- the original 8.0 ISO release, 8.0 patches, the 8.1 ISO release, and the
8.1 patches, and it will include the 8.2 packages & patches as soon as that
release becomes available.

The "8" release, without the .Y minor version, corresponds to what Spike
called "AppStream8.latest" (and "BaseOS.latest"). In the RHEL 7 (and older)
days, that would be the "7Server" release, as opposed to "7.7" or "7.6"
version-specific releases.

If "subscription-manger release" is set to "8.1" on your systems, you will
not be able to install the Red Hat build of the "libssh2" package. If it is
set to "8", you should be able to install libssh2 via "yum install
libssh2", without resorting to using CentOS packages or compiling from
source (as another user on the list did).

Red Hat's recommended "best practice" is to always use the
non-version-specific Release, so that when you install patches, you will
always have access to the most current Security, Bugfix, and Enhancement
errata.  This can be challenging with third-party commercial software,
which often supports only Red Hat versions that are 6 months to a year old
(so 7.6 and 8.0 today - they might support 7.7 or 8.1 later this year,
after 7.8 and 8.2 are out) - which is why Red Hat does make the
version-specific repositories available (they don't like it, but they have
too many customers that depend on the older-than-current releases).

  --Jim



On Mon, Feb 24, 2020 at 1:00 PM <linux-poweredge-request at dell.com> wrote:

> Send Linux-PowerEdge mailing list submissions to
>         linux-poweredge at dell.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.us.dell.com/mailman/listinfo/linux-poweredge
> or, via email, send a message with subject or body 'help' to
>         linux-poweredge-request at dell.com
>
> You can reach the person managing the list at
>         linux-poweredge-owner at dell.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Linux-PowerEdge digest..."
>
>
> Today's Topics:
>
>    1. Re:  RHEL 8.x dell-system-update RPM should include libssh2
>       (Steffan Cline)
>    2. Re:  RHEL 8.x dell-system-update RPM should include libssh2
>       (Spike_White at Dell.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 24 Feb 2020 08:17:24 -0700
> From: Steffan Cline <steffan at hldns.com>
> To: <Spike.White at dell.com>,     <linux-poweredge at lists.us.dell.com>
> Subject: Re: [Linux-PowerEdge] RHEL 8.x dell-system-update RPM should
>         include libssh2
> Message-ID: <07371D26-B1AE-42E0-A998-DA18F78E3254 at hldns.com>
> Content-Type: text/plain;       charset="UTF-8"
>
> 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
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 24 Feb 2020 17:19:45 +0000
> From: <Spike_White at Dell.com>
> To: <steffan at hldns.com>, <linux-poweredge at lists.us.dell.com>
> Cc: Sean.Halford at dell.com
> Subject: Re: [Linux-PowerEdge] RHEL 8.x dell-system-update RPM should
>         include libssh2
> Message-ID:
>         <c9d4bda6a64e4775b3d10093658988da at ausx13mps315.AMER.DELL.COM>
> Content-Type: text/plain; charset="utf-8"
>
> 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
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>
> ------------------------------
>
> End of Linux-PowerEdge Digest, Vol 183, Issue 13
> ************************************************
>


-- 
James A. Nauer                   | "I shall not yield one whit of  maturity,
Engineer III, Enterprise Systems | not grace, not respectability, to  the
University Technology, [U]Tech   | passing of time. I declare that I  shall
Case Western Reserve University  | forever be, if not a child,  certainly
(216) 368-MACS  (368-6227)       | childish"  --Kennet Shardik
(pronouns: he/him/his)                                         USPA D-25604
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20200224/5b68ca6d/attachment-0001.html>


More information about the Linux-PowerEdge mailing list