How to install efix with yum ?
Hello, I will install efix9 on 5.0.4.1. The instructions ask to use rpm --force -U gpfs.*.rpm but give no yum command. I assume that this is not specific to this efix. I wonder if installing an efix with yum is supported and what the proper commands are? Using yum would make deployment much easier, but I don't see any yum options which match rpm's '--force' option. --force Same as using --replacepkgs, --replacefiles, and --oldpackage. Yum’s ‘upgrade’ probably is the same as rpm’s ‘—oldpackage’, but what’s about –replacepkgs and oldpackage? Of course I can script this in several ways but using yum should be much easier. Thank you, any comments are welcome. Cheers, Heiner
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum. The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they’re purposefully installed outside of RPM’s tracking mechanism. We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs’ scripts) so that our efix RPMs have been “un-efix-ified” and will install as expected when using ‘yum upgrade’. To my knowledge no one’s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves. IBM isn’t the only vendor who is “bad at packaging” from a sysadmin’s point of view, but they are the only one which owns RedHat (who are the de facto masters of RPM/YUM/DNF packaging) so this should probably get better one day. ☺ Thx Paul From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Billich Heinrich Rainer (ID SD) Sent: Wednesday, January 15, 2020 09:56 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] How to install efix with yum ? This message was sent by an external party. Hello, I will install efix9 on 5.0.4.1. The instructions ask to use rpm --force -U gpfs.*.rpm but give no yum command. I assume that this is not specific to this efix. I wonder if installing an efix with yum is supported and what the proper commands are? Using yum would make deployment much easier, but I don't see any yum options which match rpm's '--force' option. --force Same as using --replacepkgs, --replacefiles, and --oldpackage. Yum’s ‘upgrade’ probably is the same as rpm’s ‘—oldpackage’, but what’s about –replacepkgs and oldpackage? Of course I can script this in several ways but using yum should be much easier. Thank you, any comments are welcome. Cheers, Heiner
On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9 which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they’re purposefully installed outside of RPM’s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs’ scripts) so that our efix RPMs have been “un-efix-ified” and will install as expected when using ‘yum upgrade’. To my knowledge no one’s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5.0.4.1 is already installed on your system, "yum update" should work. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0.... If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9 which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they’re purposefully installed outside of RPM’s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs’ scripts) so that our efix RPMs have been “un-efix-ified” and will install as expected when using ‘yum upgrade’. To my knowledge no one’s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
This reminds me that there is one more thing which drives the convoluted process I described earlier… Automation. Deployment solutions which use yum to build new hosts are often the place where one notices the problem. They would need to determine that they should install both the base-version and efix RPMS and in that order. IIRC, there were no RPM dependencies connecting the efix RPMs to their base-version equivalents, so there was nothing to signal YUM that installing the efix requires that the base-version be installed first. (Our particular case is worse than just this though, since we prohibit installing two versions/releases for the same (non-kernel) package name. But that’s not the case for everyone.) -Paul From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale Sent: Wednesday, January 15, 2020 16:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ? This message was sent by an external party.
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5.0.4.1 is already installed on your system, "yum update" should work. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0.... If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. [Inactive hide details for Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generall]Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk<mailto:jonathan.buzzard@strath.ac.uk>> To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> ________________________________ On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9 which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they’re purposefully installed outside of RPM’s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs’ scripts) so that our efix RPMs have been “un-efix-ified” and will install as expected when using ‘yum upgrade’. To my knowledge no one’s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
When requesting efix, you can inform the service personnel that you need efix RPMs which don't have dependencies on the base-version. Our service team should be able to provide the appropriate efix RPMs that meet your needs. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. gpfsug-discuss-bounces@spectrumscale.org wrote on 01/15/2020 05:35:23 PM:
From: "Sanchez, Paul" <Paul.Sanchez@deshaw.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: "gpfsug-discuss-bounces@spectrumscale.org" <gpfsug-discuss- bounces@spectrumscale.org> Date: 01/15/2020 05:34 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org
This reminds me that there is one more thing which drives the convoluted process I described earlier…
Automation. Deployment solutions which use yum to build new hosts are often the place where one notices the problem. They would need to determine that they should install both the base-version and efixRPMS and in that order. IIRC, there were no RPM dependencies connecting the efix RPMs to their base-version equivalents, so there was nothing to signal YUM that installing the efix requires that the base-version be installed first.
(Our particular case is worse than just this though, since we prohibit installing two versions/releases for the same (non-kernel) package name. But that’s not the case for everyone.)
-Paul
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss- bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale Sent: Wednesday, January 15, 2020 16:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ?
This message was sent by an external party.
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5. 0.4.1 is already installed on your system, "yum update" should work.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum? id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
[image removed] Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/ 01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a
From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org
On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it
is trying to eliminate conflicting provides/depends so that all of the
packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example
gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9
which would firstly make the problem go away, and second would allow one
to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use
and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they’re purposefully installed outside of RPM’s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related
but problematic checks from the RPMs’ scripts) so that our efix RPMs have been “un-efix-ified” and will install as expected when using ‘yum
upgrade’. To my knowledge no one’s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files.
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=aSasL0r- NxIT9nDrkoQO6rcyV88VUM_oc6mYssN-_Ng&s=4- wB8cR24x2P7Rpn_14fIXuwxCvvqwne7xcIp85dZoI&e=
Another problem we've run into with automating GPFS installs/upgrades is that the gplbin (kernel module) packages have a post-install script that will unmount the filesystem *even if the package isn't for the running kernel*. We needed to write some custom reporting in our configuration management system to only install gplbin if GPFS was already stopped on the node. On Wed, Jan 15, 2020 at 10:35:23PM +0000, Sanchez, Paul wrote:
This reminds me that there is one more thing which drives the convoluted process I described earlier???
Automation. Deployment solutions which use yum to build new hosts are often the place where one notices the problem. They would need to determine that they should install both the base-version and efix RPMS and in that order. IIRC, there were no RPM dependencies connecting the efix RPMs to their base-version equivalents, so there was nothing to signal YUM that installing the efix requires that the base-version be installed first.
(Our particular case is worse than just this though, since we prohibit installing two versions/releases for the same (non-kernel) package name. But that???s not the case for everyone.)
-Paul
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale Sent: Wednesday, January 15, 2020 16:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ?
This message was sent by an external party.
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5.0.4.1 is already installed on your system, "yum update" should work.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0....
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
[Inactive hide details for Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generall]Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a
From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk<mailto:jonathan.buzzard@strath.ac.uk>> To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org>
________________________________
On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example
gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9
which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they???re purposefully installed outside of RPM???s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs??? scripts) so that our efix RPMs have been ???un-efix-ified??? and will install as expected when using ???yum upgrade???. To my knowledge no one???s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files.
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine
We actually add an ExecStartPre directive override (e.g. /etc/systemd/system/gpfs.service.d/gpfs.service.conf) to the gpfs.service [Service] section that points to a simple script that does a check of the GPFS RPMs installed on the system and updates them to what our config management specifies should be installed (a simple txt file in /etc/sysconfig namespace), which ensures that GPFS RPMs are updated before GPFS is started, while GPFS is still down. Works very well for us. The script also does some other checks and updates too, such as adding the node into the right GPFS cluster if needed. Hope that helps, -Bryan -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Skylar Thompson Sent: Thursday, January 16, 2020 9:32 AM To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ? [EXTERNAL EMAIL] Another problem we've run into with automating GPFS installs/upgrades is that the gplbin (kernel module) packages have a post-install script that will unmount the filesystem *even if the package isn't for the running kernel*. We needed to write some custom reporting in our configuration management system to only install gplbin if GPFS was already stopped on the node. On Wed, Jan 15, 2020 at 10:35:23PM +0000, Sanchez, Paul wrote:
This reminds me that there is one more thing which drives the convoluted process I described earlier???
Automation. Deployment solutions which use yum to build new hosts are often the place where one notices the problem. They would need to determine that they should install both the base-version and efix RPMS and in that order. IIRC, there were no RPM dependencies connecting the efix RPMs to their base-version equivalents, so there was nothing to signal YUM that installing the efix requires that the base-version be installed first.
(Our particular case is worse than just this though, since we prohibit installing two versions/releases for the same (non-kernel) package name. But that???s not the case for everyone.)
-Paul
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale Sent: Wednesday, January 15, 2020 16:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ?
This message was sent by an external party.
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5.0.4.1 is already installed on your system, "yum update" should work.
Regards, The Spectrum Scale (GPFS) team
---------------------------------------------------------------------- -------------------------------------------- If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://urldefense.com/v3/__https://www.ibm.com/developerworks/community/for... .
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
[Inactive hide details for Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generall]Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a
From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk<mailto:jonathan.buzzard@strath.ac.uk>> To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale. org>" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale. org>> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces @spectrumscale.org>
________________________________
On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example
gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9
which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they???re purposefully installed outside of RPM???s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs??? scripts) so that our efix RPMs have been ???un-efix-ified??? and will install as expected when using ???yum upgrade???. To my knowledge no one???s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files.
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug- discuss__;!!GSt_xZU7050wKg!_4v0rLABhTuazN2Q8qJhS71K6k5UYQXKY1twvbP4TBS vTjEZ8ejU_A8Ys5RT4p8oUpuH$
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug- discuss__;!!GSt_xZU7050wKg!_4v0rLABhTuazN2Q8qJhS71K6k5UYQXKY1twvbP4TBS vTjEZ8ejU_A8Ys5RT4p8oUpuH$
-- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.com/v3/__http://gpfsug.org/mailman/listinfo/gpfsug-discus...
On Spectrum Scale 4.2.3.15 or later and 5.0.2.2 or later, you can install gplbin without stopping GPFS by using the following step: Build gpfs.gplbin using mmbuildgpl --build-packge Set environment variable MM_INSTALL_ONLY to 1 before install gpfs.gplbin package with rpm -i gpfs.gplbin*.rpm Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... . If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. gpfsug-discuss-bounces@spectrumscale.org wrote on 01/16/2020 10:32:27 AM:
From: Skylar Thompson <skylar2@uw.edu> To: gpfsug-discuss@spectrumscale.org Date: 01/16/2020 10:35 AM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org
Another problem we've run into with automating GPFS installs/upgrades is that the gplbin (kernel module) packages have a post-install script that will unmount the filesystem *even if the package isn't for the running kernel*. We needed to write some custom reporting in our configuration management system to only install gplbin if GPFS was already stopped on the node.
On Wed, Jan 15, 2020 at 10:35:23PM +0000, Sanchez, Paul wrote:
This reminds me that there is one more thing which drives the convoluted process I described earlier???
Automation. Deployment solutions which use yum to build new hosts are often the place where one notices the problem. They would need to determine that they should install both the base-version and efix RPMS and in that order. IIRC, there were no RPM dependencies connecting the efix RPMs to their base-version equivalents, so there was nothing to signal YUM that installing the efix requires that the base-version be installed first.
(Our particular case is worse than just this though, since we prohibit installing two versions/releases for the same (non-kernel) package name. But that???s not the case for everyone.)
-Paul
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss- bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale Sent: Wednesday, January 15, 2020 16:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ?
This message was sent by an external party.
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5. 0.4.1 is already installed on your system, "yum update" should work.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum? id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
[Inactive hide details for Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generall]Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a
From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk< mailto:jonathan.buzzard@strath.ac.uk>> To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug- discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org< mailto:gpfsug-discuss@spectrumscale.org>> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug- discuss-bounces@spectrumscale.org>
________________________________
On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example
gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9
which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must
use
and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they???re purposefully installed outside of RPM???s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs??? scripts) so that our efix RPMs have been ???un-efix-ified??? and will install as expected when using ???yum upgrade???. To my knowledge no one???s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files.
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=JuqnpjbB7dT517f-
YI9EzaM_C0i4QvKJIJn_Vsre80k&s=T9L8T-cXzxzJGTWfpHOTFoExTltGDVXmHFuv9_Jeyjo&e=
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=JuqnpjbB7dT517f-
YI9EzaM_C0i4QvKJIJn_Vsre80k&s=T9L8T-cXzxzJGTWfpHOTFoExTltGDVXmHFuv9_Jeyjo&e=
-- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=JuqnpjbB7dT517f-
YI9EzaM_C0i4QvKJIJn_Vsre80k&s=T9L8T-cXzxzJGTWfpHOTFoExTltGDVXmHFuv9_Jeyjo&e=
Thanks for the pointer! We're in the process of upgrading from 4.2.3-6 to 4.2.3-19 so I'll make a note that we should start setting that environment variable when we build gplbin. On Thu, Jan 16, 2020 at 05:59:14PM -0500, IBM Spectrum Scale wrote:
On Spectrum Scale 4.2.3.15 or later and 5.0.2.2 or later, you can install gplbin without stopping GPFS by using the following step:
Build gpfs.gplbin using mmbuildgpl --build-packge Set environment variable MM_INSTALL_ONLY to 1 before install gpfs.gplbin package with rpm -i gpfs.gplbin*.rpm
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0... .
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
gpfsug-discuss-bounces@spectrumscale.org wrote on 01/16/2020 10:32:27 AM:
From: Skylar Thompson <skylar2@uw.edu> To: gpfsug-discuss@spectrumscale.org Date: 01/16/2020 10:35 AM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org
Another problem we've run into with automating GPFS installs/upgrades is that the gplbin (kernel module) packages have a post-install script that will unmount the filesystem *even if the package isn't for the running kernel*. We needed to write some custom reporting in our configuration management system to only install gplbin if GPFS was already stopped on the node.
On Wed, Jan 15, 2020 at 10:35:23PM +0000, Sanchez, Paul wrote:
This reminds me that there is one more thing which drives the convoluted process I described earlier???
Automation. Deployment solutions which use yum to build new hosts are often the place where one notices the problem. They would need to determine that they should install both the base-version and efix RPMS and in that order. IIRC, there were no RPM dependencies connecting the efix RPMs to their base-version equivalents, so there was nothing to signal YUM that installing the efix requires that the base-version be installed first.
(Our particular case is worse than just this though, since we prohibit installing two versions/releases for the same (non-kernel) package name. But that???s not the case for everyone.)
-Paul
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss- bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale Sent: Wednesday, January 15, 2020 16:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ?
This message was sent by an external party.
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5. 0.4.1 is already installed on your system, "yum update" should work.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum? id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
[Inactive hide details for Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generall]Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a
From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk< mailto:jonathan.buzzard@strath.ac.uk>> To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug- discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org< mailto:gpfsug-discuss@spectrumscale.org>> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug- discuss-bounces@spectrumscale.org>
________________________________
On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example
gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9
which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must
use
and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they???re purposefully installed outside of RPM???s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs??? scripts) so that our efix RPMs have been ???un-efix-ified??? and will install as expected when using ???yum upgrade???. To my knowledge no one???s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files.
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=JuqnpjbB7dT517f-
YI9EzaM_C0i4QvKJIJn_Vsre80k&s=T9L8T-cXzxzJGTWfpHOTFoExTltGDVXmHFuv9_Jeyjo&e=
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=JuqnpjbB7dT517f-
YI9EzaM_C0i4QvKJIJn_Vsre80k&s=T9L8T-cXzxzJGTWfpHOTFoExTltGDVXmHFuv9_Jeyjo&e=
-- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?
u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=JuqnpjbB7dT517f-
YI9EzaM_C0i4QvKJIJn_Vsre80k&s=T9L8T-cXzxzJGTWfpHOTFoExTltGDVXmHFuv9_Jeyjo&e=
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- -- Skylar Thompson (skylar2@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine
Thank you for the reminder. I’ve received that nasty surprise myself, but just long ago enough to have forgotten it. Would love to see that fixed.
On Jan 16, 2020, at 10:32 AM, Skylar Thompson <skylar2@uw.edu> wrote:
Another problem we've run into with automating GPFS installs/upgrades is that the gplbin (kernel module) packages have a post-install script that will unmount the filesystem *even if the package isn't for the running kernel*. We needed to write some custom reporting in our configuration management system to only install gplbin if GPFS was already stopped on the node.
On Wed, Jan 15, 2020 at 10:35:23PM +0000, Sanchez, Paul wrote:
This reminds me that there is one more thing which drives the convoluted process I described earlier???
Automation. Deployment solutions which use yum to build new hosts are often the place where one notices the problem. They would need to determine that they should install both the base-version and efix RPMS and in that order. IIRC, there were no RPM dependencies connecting the efix RPMs to their base-version equivalents, so there was nothing to signal YUM that installing the efix requires that the base-version be installed first.
(Our particular case is worse than just this though, since we prohibit installing two versions/releases for the same (non-kernel) package name. But that???s not the case for everyone.)
-Paul
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale Sent: Wednesday, January 15, 2020 16:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org Subject: Re: [gpfsug-discuss] How to install efix with yum ?
This message was sent by an external party.
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5.0.4.1 is already installed on your system, "yum update" should work.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0....
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.
[Inactive hide details for Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generall]Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a
From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk<mailto:jonathan.buzzard@strath.ac.uk>> To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org>
________________________________
On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example
gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9
which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they???re purposefully installed outside of RPM???s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs??? scripts) so that our efix RPMs have been ???un-efix-ified??? and will install as expected when using ???yum upgrade???. To my knowledge no one???s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files.
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
-- ____ || \\UTGERS, |---------------------------*O*--------------------------- ||_// the State | Ryan Novosielski - novosirj@rutgers.edu || \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus || \\ of NJ | Office of Advanced Research Computing - MSB C630, Newark `'
Thank you, this did work. I did install efix9 for 5.0.4.1 using yum, just with a plain “yum update” after installing the base version. I placed efix and base rpms in different yum repos and did disable the efix-repo while installing the base version, and vice versa. Kind regards, Heiner From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of IBM Spectrum Scale <scale@us.ibm.com> Reply to: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: Wednesday, 15 January 2020 at 22:00 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: "gpfsug-discuss-bounces@spectrumscale.org" <gpfsug-discuss-bounces@spectrumscale.org> Subject: Re: [gpfsug-discuss] How to install efix with yum ?
I don't see any yum options which match rpm's '--force' option. Actually, you do not need to use --force option since efix RPMs have incremental efix number in rpm name.
Efix package provides update RPMs to be installed on top of corresponding PTF GA version. When you install 5.0.4.1 efix9, if 5.0.4.1 is already installed on your system, "yum update" should work. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0.... If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. [Inactive hide details for Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generall]Jonathan Buzzard ---01/15/2020 02:09:33 PM---On 15/01/2020 18:30, Sanchez, Paul wrote: > Yum generally only wants there to be single version of a From: Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 01/15/2020 02:09 PM Subject: [EXTERNAL] Re: [gpfsug-discuss] How to install efix with yum ? Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ On 15/01/2020 18:30, Sanchez, Paul wrote:
Yum generally only wants there to be single version of any package (it is trying to eliminate conflicting provides/depends so that all of the packaging requirements are satisfied). So this alien packaging practice of installing an efix version of a package over the top of the base version is not compatible with yum.
I would at this juncture note that IBM should be appending the efix number to the RPM so that for example gpfs.base-5.0.4-1 becomes gpfs.base-5.0.4-1efix9 which would firstly make the problem go away, and second would allow one to know which version of GPFS you happen to have installed on a node without doing some sort of voodoo.
The real issue for draconian sysadmins like us (whose systems must use and obey yum) is that there are files (*liblum.so) which are provided by the non-efix RPMS, but are not owned by the packages according to the RPM database since they’re purposefully installed outside of RPM’s tracking mechanism.
It worse than that because if you install the RPM directly yum/dnf then start bitching about the RPM database being modified outside of themselves and all sorts of useful information gets lost when you purge the package installation history to make the error go away.
We work around this by repackaging the three affected RPMS to include the orphaned files from the original RPMs (and eliminating the related but problematic checks from the RPMs’ scripts) so that our efix RPMs have been “un-efix-ified” and will install as expected when using ‘yum upgrade’. To my knowledge no one’s published a way to do this, so we all just have to figure this out and run rpmrebuild for ourselves.
IBM should be hanging their heads in shame if the replacement RPM is missing files. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (7)
-
Billich Heinrich Rainer (ID SD) -
Bryan Banister -
IBM Spectrum Scale -
Jonathan Buzzard -
Ryan Novosielski -
Sanchez, Paul -
Skylar Thompson
