Upgrading EFA/Changing OS

General eFa discussion
Post Reply
User avatar
dangsite
Posts: 27
Joined: 08 Sep 2018 15:03

Upgrading EFA/Changing OS

Post by dangsite »

As I did ask in a past post about RockyLinux 8 vs 9, the answer was 8.

Is there a simple guide or anything posting to upgrade a EFA application from CentOS Linux 8 with eFa-4.0.4 to RockyLinux 8.x with eFa-4.0.4.

Thank you in advance,
tobelger
Posts: 2
Joined: 19 Nov 2020 12:44

Re: Upgrading EFA/Changing OS

Post by tobelger »

Hi, you can simply migrate the CentOS to Rocky by changing the sources. I did it without Amy issues. Now there is also a script available https://docs.rockylinux.org/guides/migrate2rocky/.
User avatar
dangsite
Posts: 27
Joined: 08 Sep 2018 15:03

Re: Upgrading EFA/Changing OS

Post by dangsite »

Thank you for the reply -- sorry it took a couple weeks for me to respond on this thread.

I am appreciative of your post. As I have my system within a "hypervisor instance", I am backing up the virtual server and then make the changes per your suggestion.
User avatar
dangsite
Posts: 27
Joined: 08 Sep 2018 15:03

Re: Upgrading EFA/Changing OS

Post by dangsite »

As I am running the script, I am seeing this message:
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/eFa4.repo; Configuration: OptionBinding with id "failovermethod" does not exist

Ultimately I got this message after the script completed:

Code: Select all

Running dnf update before we attempt the migration.
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/eFa4.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Last metadata expiration check: 0:00:44 ago on Sat Apr  1 10:00:15 2023.
Error: 
 Problem 1: cannot install the best update candidate for package clamav-0.103.4-1.el8.x86_64
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-0.103.8-3.el8.x86_64
 Problem 2: cannot install the best update candidate for package clamav-lib-0.103.4-1.el8.x86_64
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.8-3.el8.x86_64
 Problem 3: package clamd-0.103.8-3.el8.x86_64 requires clamav-lib = 0.103.8-3.el8, but none of the providers can be installed
  - cannot install the best update candidate for package clamd-0.103.4-1.el8.x86_64
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.8-3.el8.x86_64
 Problem 4: package clamav-update-0.103.8-3.el8.x86_64 requires clamav-lib = 0.103.8-3.el8, but none of the providers can be installed
  - cannot install the best update candidate for package clamav-update-0.103.4-1.el8.x86_64
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-lib-0.103.8-3.el8.x86_64
 Problem 5: package clamav-filesystem-0.103.8-3.el8.noarch conflicts with clamav < 0.103.8-3.el8 provided by clamav-0.103.4-1.el8.x86_64
  - problem with installed package clamav-0.103.4-1.el8.x86_64
  - cannot install the best update candidate for package clamav-filesystem-0.103.4-1.el8.noarch
  - nothing provides libjson-c.so.4(JSONC_0.14)(64bit) needed by clamav-0.103.8-3.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Error running pre-update.  Stopping now to avoid putting the system in an
unstable state.  Please correct the issues shown here and try again.

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.
I am assuming because eFa4.repo is within the yum.repros.d directory, the script is attempting to make an update but cannot.

As I backed up the guest, I am reverting back to the last save point. I was going to temporarily remove the repo files that are not part of the CentOS system such as the eFa4.repo.

I wanted to compare these results with my 2nd attempt.
Last edited by dangsite on 01 Apr 2023 23:31, edited 1 time in total.
User avatar
dangsite
Posts: 27
Joined: 08 Sep 2018 15:03

Re: Upgrading EFA/Changing OS

Post by dangsite »

As my base CentOS 8 instance was not able to get updates anymore, the rocky script prefers the system to be able to perform dnf update to work After doing a few google searches, I found this web link (https://haydenjames.io/fix-error-failed ... -centos-8/ ). It helps resolve how to point CentOS 8 to CentOS Stream 8.

Once I have this initial problem fixed, I ran the migrate2rocky script again (without the eFa4.repo in the yum.repos.d directory). The script results were better as there were many updates (291 items). The overall results were promising. There were a number of warnings, items reported, and a failure to do a distro sync. I added the eFa4.repo back to the yum.repos.d directory, then ran dnf update. The system updated itself again (101 packages) successfully.

I rebooted the system with success. I also stopped the instance to backup it. A startup full poweroff was also successful.

I did confirm that I can receive emails with eFa reviewing the emails before delivering to my mail server.

Thanks again for the tip/help.
Post Reply