cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
45 stars 31 forks source link

Upgrade from CentOS v7.9.2009 STANDARD kvm to Rocky Linux -CPanel #161

Closed Lestat569769 closed 1 year ago

Lestat569769 commented 1 year ago

Reviewing the logs for the process at /var/log/elevate-cpanel.log I see the following: Was following this guide. Cpanel Elevate

ESC[32m* 06-09:57:58 (3788) [INFO] Process Process-476:ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] Traceback (most recent call last):ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]   File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrapESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]     self.run()ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]   File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in runESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]     self._target(*self._args, **self._kwargs)ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]   File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_runESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]     actor_instance.run(*args, **kwargs)ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]   File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 290, in runESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]     self.process(*args)ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]   File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/dnfpackagedownload/actor.py", line 51, in processESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]     xfs_info=xfs_info, storage_info=storage_info, plugin_info=plugin_info, on_aws=on_awsESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]   File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py", line 385, in perform_rpm_downloadESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]     test=True, on_aws=on_awsESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]   File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py", line 219, in _transactionESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO]     e.stdout = e.stdout.encode('utf-8', 'xmlcharrefreplace')ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] AttributeError: can't set attributeESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] (1882/1885): speex-devel-1.2.0-1.el8.x86_64.rpm 5.8 MB/s | 426 kB     00:00    ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] (1883/1885): xz-lzma-compat-5.2.4-4.el8_6.x86_6 609 kB/s |  27 kB     00:00    ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] (1884/1885): epel-release-8-18.el8.noarch.rpm   208 kB/s |  24 kB     00:00    ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] (1885/1885): elrepo-release-8.3-1.el8.noarch.rp  69 kB/s |  13 kB     00:00    ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] --------------------------------------------------------------------------------ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] Total                                            48 MB/s | 1.6 GB     00:34     ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] Running transaction checkESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] Transaction check succeeded.ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] Running transaction testESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] The downloaded packages were saved in cache until the next successful transaction.ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] You can remove cached packages by executing 'dnf clean packages'.ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] =====================================================================================================ESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] Actor dnf_package_download unexpectedly terminated with exit code: 1 - Please check the above detailsESC[0m
ESC[32m* 06-09:57:58 (3788) [INFO] =====================================================================================================ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] Debug output written to /var/log/leapp/leapp-upgrade.logESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ============================================================ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO]                            REPORT                           ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ============================================================ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] A report has been generated at /var/log/leapp/leapp-report.jsonESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] A report has been generated at /var/log/leapp/leapp-report.txtESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ============================================================ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO]                        END OF REPORT                        ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ============================================================ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] ESC[0m
ESC[32m* 06-09:57:59 (3788) [INFO] Answerfile has been generated at /var/log/leapp/answerfileESC[0m
ESC[32m* 06-09:57:59 (3798) [INFO] ESC[0m
ESC[35m* 06-09:57:59 (648) [ERROR] Sending notification: Fail to update to Rocky Linux 8ESC[0m
ESC[35m* 06-09:57:59 (649) [ERROR] The elevation process failed during stage 3.

/var/log/leapp/leapp-report.txt

"Risk Factor|Title|Summary|Remediation" /var/log/leapp/leapp-report.txt
Risk Factor: high
Title: Packages from unknown repositories may not be installed
Summary: 1 packages may not be installed or upgraded due to repositories unknown to leapp:
- kernel-uek (repoid: ol8-uek)
Remediation: [hint] Please file a bug in http://bugzilla.redhat.com/ for leapp-repository component of the Red Hat Enterprise Linux product.
--
----------------------------------------
Risk Factor: high
Title: Difference in Python versions and support in RHEL 8
Summary: In RHEL 8, there is no 'python' command. Python 3 (backward incompatible) is the primary Python version and Python 2 is available with limited support and limited set of packages. Read more here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/#using-python3
Remediation: [hint] Please run "alternatives --set python /usr/bin/python3" after upgrade
--
----------------------------------------
Risk Factor: high
Title: BIND configuration issues found
Summary: Default value of listen-on-v6 have changed, but it is not present in configuration. named service will now listen on INET6 sockets also.
--
----------------------------------------
Risk Factor: high
Title: Leapp could not identify where GRUB core is located
Summary: We assume GRUB core is located on the same device as /boot. Leapp needs to update GRUB core as it is not done automatically on legacy (BIOS) systems. 
Remediation: [hint] Please run "grub2-install <GRUB_DEVICE> command manually after upgrade
--
----------------------------------------
Risk Factor: high
Title: Packages not signed by Red Hat found on the system
Summary: The following packages have not been signed by Red Hat and may be removed during the upgrade process in case Red Hat-signed packages to be removed during the upgrade depend on them:
--
----------------------------------------
Risk Factor: medium
Title: memcached has enabled UDP port
Summary: memcached in RHEL7 has UDP port enabled by default, but it is disabled by default in RHEL8
--
----------------------------------------
Risk Factor: medium
Title: Module pam_pkcs11 will be removed from PAM configuration
Summary: Module pam_pkcs11 was surpassed by SSSD and therefore it was removed from RHEL-8. Keeping it in PAM configuration may lock out the system thus it will be automatically removed from PAM configuration before upgrading to RHEL-8. Please switch to SSSD to recover the functionality of pam_pkcs11.
Remediation: [hint] Configure SSSD to replace pam_pkcs11
--
----------------------------------------
Risk Factor: medium
Title: chrony using default configuration
Summary: default chrony configuration in RHEL8 uses leapsectz directive, which cannot be used with leap smearing NTP servers, and uses a single pool directive instead of four server directives
--
----------------------------------------
Risk Factor: low
Title: Brltty has incompatible changes in the next major version
Summary: The --message-delay brltty option has been renamed to --message-timeout.
The -U [--update-interval=] brltty option has been removed.
Remediation: [hint] Please update your scripts to be compatible with the changes.
--
----------------------------------------
Risk Factor: low
Title: SElinux should be disabled based on the configuration file but it is enabled
Summary: This message is to inform user about non-standard SElinux configuration. Please check "/etc/selinux/config" to see whether the configuration is set as expected.
--
----------------------------------------
Risk Factor: low
Title: Grep has incompatible changes in the next major version
Summary: If a file contains data improperly encoded for the current locale, and this is discovered before any of the file's contents are output, grep now treats the file as binary.
--

Remediation: [hint] Please update your scripts to be compatible with the changes.
--
----------------------------------------
Risk Factor: low
Title: Dosfstools incompatible changes in the next major version
Summary: The automatic alignment of data clusters that was added in 3.0.8 and broken for FAT32 starting with 3.0.20 has been reinstated. If you need to create file systems for finicky devices that have broken FAT implementations use the option -a to disable alignment.
--

Remediation: [hint] Please update your scripts to be compatible with the changes.
--
----------------------------------------
Risk Factor: low
Title: The subscription-manager release is going to be kept as it is during the upgrade
Summary: The upgrade is executed with the --no-rhsm option (or with the LEAPP_NO_RHSM environment variable). In this case, the subscription-manager will not be configured during the upgrade. If the system is subscribed and release is set already, you could encounter issues to get RHEL content using DNF/YUM after the upgrade.
Remediation: [hint] Set the new release (or unset it) after the upgrade using subscription-manager: subscription-manager release --set 8.6
--
----------------------------------------
Risk Factor: info
Title: Current PAM and nsswitch.conf configuration will be kept.
Summary: There is a new tool called authselect in RHEL8 that replaced authconfig. The upgrade process was unable to find an authselect profile that would be equivalent to your current configuration. Therefore your configuration will be left intact.
--
----------------------------------------
Risk Factor: info
Title: SElinux disabled
Summary: SElinux disabled, continuing...

Currently I was able to reestablish my CPanel/WHM by manually starting services and rebuilding my Apache to work. The state the system is now stuck on is on Stage 3.

danFbach commented 1 year ago

look at /var/log/leapp/leapp-upgrade.log it may show you some additional issues since you're on stage 3 which is the leapp stage. for me it was a python3 conflict that trapped me at stage 3.

Lestat569769 commented 1 year ago

2022-12-06 09:57:35.738 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: Total 48 MB/s | 1.6 GB 00:34
2022-12-06 09:57:35.831 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: Running transaction check 2022-12-06 09:57:41.157 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: Transaction check succeeded. 2022-12-06 09:57:41.165 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: Running transaction test 2022-12-06 09:57:57.725 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: Warning: Package marked by Leapp to install not found in repositories metadata: python3-nss ldns-utils ivy-local python3-javapackages 2022-12-06 09:57:57.729 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey

danFbach commented 1 year ago

I'll start by saying I am not a developer of the cpanel-elevate utility, so take my advice at your own risk.

I had this same log:

Risk Factor: high
Title: Difference in Python versions and support in RHEL 8
Summary: In RHEL 8, there is no 'python' command. Python 3 (backward incompatible) is the primary Python version and Python 2 is available with limited support and limited set of packages. Read more here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/#using-python3
Remediation: [hint] Please run "alternatives --set python /usr/bin/python3" after upgrade

If you run less /var/log/leapp/leapp-upgrade.log | grep conflicts does it show any conflicting packages? if it shows a ton of python packages like mine did, running yum remove python3* and then rebooting and trying to continue with /scripts/elevate-cpanel --continue might get you moving again.

However, I did not get:

Risk Factor: high
Title: Leapp could not identify where GRUB core is located
Summary: We assume GRUB core is located on the same device as /boot. Leapp needs to update GRUB core as it is not done automatically on legacy (BIOS) systems. 
Remediation: [hint] Please run "grub2-install <GRUB_DEVICE> command manually after upgrade

And I do not know what should be done with this, aside from following the hint, which is what i would try if it were my system.

Lestat569769 commented 1 year ago

2022-12-06 09:52:56.667 DEBUG PID: 5099 leapp.workflow.FactsCollection.rpm_scanner: cpanel-perl-536-module-runtime-conflicts|0.003|1.cp108~el7|0|(none)|noarch|(none) 2022-12-06 09:53:00.482 DEBUG PID: 5099 leapp.workflow.FactsCollection.rpm_scanner: cpanel-perl-536-dist-checkconflicts|0.11|1.cp108~el7|0|(none)|noarch|(none) 2022-12-06 09:53:53.971 DEBUG PID: 5648 leapp.workflow.FactsCollection.vendor_signed_rpm_scanner: Package cpanel-perl-536-module-runtime-conflicts is unsigned, packager: (none), signature: (none) 2022-12-06 09:53:57.803 DEBUG PID: 5648 leapp.workflow.FactsCollection.vendor_signed_rpm_scanner: Package cpanel-perl-536-dist-checkconflicts is unsigned, packager: (none), signature: (none) 2022-12-06 09:57:57.825 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: file /usr/lib64/.libcrypto.so.1.1.1k.hmac from install of openssl-libs-1:1.1.1k-7.el8_6.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-4.el7.x86_64 2022-12-06 09:57:57.827 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: file /usr/lib64/.libssl.so.1.1.1k.hmac from install of openssl-libs-1:1.1.1k-7.el8_6.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-4.el7.x86_64 2022-12-06 09:57:57.829 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: file /usr/lib64/engines-1.1/afalg.so from install of openssl-libs-1:1.1.1k-7.el8_6.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-4.el7.x86_64 2022-12-06 09:57:57.831 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: file /usr/lib64/engines-1.1/capi.so from install of openssl-libs-1:1.1.1k-7.el8_6.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-4.el7.x86_64 2022-12-06 09:57:57.834 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: file /usr/lib64/engines-1.1/padlock.so from install of openssl-libs-1:1.1.1k-7.el8_6.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-4.el7.x86_64 2022-12-06 09:57:57.836 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: file /usr/lib64/libcrypto.so.1.1.1k from install of openssl-libs-1:1.1.1k-7.el8_6.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-4.el7.x86_64 2022-12-06 09:57:57.837 DEBUG PID: 11329 leapp.workflow.Download.dnf_package_download: file /usr/lib64/libssl.so.1.1.1k from install of openssl-libs-1:1.1.1k-7.el8_6.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-4.el7.x86_64

Lestat569769 commented 1 year ago

Risk Factor: high Title: Packages from unknown repositories may not be installed Summary: 1 packages may not be installed or upgraded due to repositories unknown to leapp:

Remediation: [hint] Please update your scripts to be compatible with the changes. Key: 94665a499e2eeee35eca3e7093a7abe183384b16

Risk Factor: low Title: SElinux should be disabled based on the configuration file but it is enabled Summary: This message is to inform user about non-standard SElinux configuration. Please check "/etc/selinux/config" to see whether the configuration is set as expected. Key: 07b32401edb752f993c7f7067ad9b0765ee25bf4

Risk Factor: low Title: Dosfstools incompatible changes in the next major version Summary: The automatic alignment of data clusters that was added in 3.0.8 and broken for FAT32 starting with 3.0.20 has been reinstated. If you need to create file systems for finicky devices that have broken FAT implementations use the option -a to disable alignment. The fsck.fat now defaults to interactive repair mode which previously had to be selected with the -r option.

Remediation: [hint] Please update your scripts to be compatible with the changes. Key: c75fe5e06c70d9e764703fa2611f917c75946226

Risk Factor: low Title: The subscription-manager release is going to be kept as it is during the upgrade Summary: The upgrade is executed with the --no-rhsm option (or with the LEAPP_NO_RHSM environment variable). In this case, the subscription-manager will not be configured during the upgrade. If the system is subscribed and release is set already, you could encounter issues to get RHEL content using DNF/YUM after the upgrade. Remediation: [hint] Set the new release (or unset it) after the upgrade using subscription-manager: subscription-manager release --set 8.6 Key: 01986584e27e85ea18929586faf614eee011a121

Risk Factor: info Title: SElinux disabled Summary: SElinux disabled, continuing... Key: 4f25fea9b15b9d1d07d52cc1de02073f295dac3d

Risk Factor: info Title: Current PAM and nsswitch.conf configuration will be kept. Summary: There is a new tool called authselect in RHEL8 that replaced authconfig. The upgrade process was unable to find an authselect profile that would be equivalent to your current configuration. Therefore your configuration will be left intact. Key: 40c4ab1da4a30dc1ca40e543f6385e1336d8810c

danFbach commented 1 year ago

you could try removing the openssl11-libs package.

Lestat569769 commented 1 year ago

You sure that is a good idea on a CPanel server?

danFbach commented 1 year ago

Nevermind, after doing some reading, it looks like this is not a good idea. Considering that, i would dig into the leapp logs further. less /var/log/leapp/leapp-upgrade.log | grep WARNING may give you some information of other things going wrong in the process. The openssl conflict may just be a conflict that would resolve itself if another problem were fixed. Keep in mind that what you find here will just HINT you towards issues, as there are many warnings which can be ignored...

Lestat569769 commented 1 year ago

[root@server ~]# less /var/log/leapp/leapp-upgrade.log | grep warnings 2022-12-16 15:56:12.161 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: fs.quota.warnings = 1 2022-12-16 15:56:12.215 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: kernel.hung_task_warnings = 10 2022-12-16 15:56:12.472 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: net.core.warnings = 1 2022-12-16 15:56:16.471 DEBUG PID: 11135 leapp.workflow.FactsCollection.rpm_scanner: cpanel-perl-536-test-nowarnings|1.06|1.cp108~el7|0|(none)|noarch|(none) 2022-12-16 15:57:11.843 DEBUG PID: 11657 leapp.workflow.FactsCollection.vendor_signed_rpm_scanner: Package cpanel-perl-536-test-nowarnings is unsigned, packager: (none), signature: (none) [root@server ~]#

danFbach commented 1 year ago

warning, not warnings.

Lestat569769 commented 1 year ago

[root@server ~]# less /var/log/leapp/leapp-upgrade.log | grep warning 2022-12-16 15:56:12.161 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: fs.quota.warnings = 1 2022-12-16 15:56:12.215 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: kernel.hung_task_warnings = 10 2022-12-16 15:56:12.421 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: kernel.traceoff_on_warning = 0 2022-12-16 15:56:12.472 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: net.core.warnings = 1 2022-12-16 15:56:16.471 DEBUG PID: 11135 leapp.workflow.FactsCollection.rpm_scanner: cpanel-perl-536-test-nowarnings|1.06|1.cp108~el7|0|(none)|noarch|(none) 2022-12-16 15:57:11.843 DEBUG PID: 11657 leapp.workflow.FactsCollection.vendor_signed_rpm_scanner: Package cpanel-perl-536-test-nowarnings is unsigned, packager: (none), signature: (none) 2022-12-16 16:00:59.566 DEBUG PID: 18370 leapp.workflow.Download.dnf_package_download: RPM: warning: Generating 6 missing index(es), please wait... [root@server ~]#

Lestat569769 commented 1 year ago

[root@server ~]# yum reinstall openssl11* Loaded plugins: cpanel, langpacks, universal-hooks Installed package 1:openssl11-libs-1.1.1k-4.el7.x86_64 (from epel) not available. Error: Nothing to do [root@server ~]#

danFbach commented 1 year ago

I think you could actually remove openssl11-libs since your server doesn't actually have openssl11 itself installed. you can see if anything is depending on it yum repoquery --whatdepends openssl11-libs

Also, try WARNING, all caps. sorry.

Lestat569769 commented 1 year ago

[root@server ~]# repoquery --requires --resolve openssl glibc-0:2.17-317.el7.i686 bash-0:4.2.46-35.el7_9.x86_64 make-1:3.82-24.el7.x86_64 coreutils-0:8.22-24.el7.x86_64 krb5-libs-0:1.15.1-50.el7.x86_64 zlib-0:1.2.7-19.el7_9.x86_64 glibc-0:2.17-326.el7_9.x86_64 libcom_err-0:1.42.9-19.el7.x86_64 openssl-libs-1:1.0.2k-25.el7_9.x86_64 [root@server ~]#

--whatdepends doesn't exist as a parameter/flag

Lestat569769 commented 1 year ago

[root@server ~]# less /var/log/leapp/leapp-upgrade.log | grep WARNING 2022-12-16 15:56:54.826 WARNING PID: 11282 leapp.workflow.FactsCollection.persistentnetnames: Failed to gather information about network interface: 'ID_NET_DRIVER' 2022-12-16 15:57:19.838 WARNING PID: 12052 leapp.workflow.FactsCollection.repository_mapping: The old repomap file /etc/leapp/files/repomap.csv is present. The file has been replaced by the repomap.json file and it is not used anymore. 2022-12-16 15:57:39.303 WARNING PID: 13572 leapp.workflow.FactsCollection.pes_events_scanner: Cannot determine the representative target base repository. 2022-12-16 15:57:39.307 WARNING PID: 13572 leapp.workflow.FactsCollection.pes_events_scanner: Cannot find suitable repository for PES ID: ol8-uek 2022-12-16 15:57:39.310 WARNING PID: 13572 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 9a2b05abf8f45fd7915e52542887bb334bb218ea 2022-12-16 15:57:39.329 WARNING PID: 13572 leapp.workflow.FactsCollection.pes_events_scanner: Cannot determine the representative target base repository. 2022-12-16 15:57:40.734 WARNING PID: 13962 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 45608d77dbf0f5b3c0903831a3130c641eb60889 2022-12-16 15:57:42.448 WARNING PID: 14157 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 0c98585b1d8d252eb540bf61560094f3495351f5 2022-12-16 15:57:44.394 WARNING PID: 14686 leapp.reporting: Stable Key report entry not provided, dynamically generating one - ca7a1a66906a7df3da890aa538562708d3ea6ecd 2022-12-16 15:57:45.311 WARNING PID: 14879 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 94665a499e2eeee35eca3e7093a7abe183384b16 2022-12-16 15:57:46.282 WARNING PID: 15025 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 6bdee7a18a7b2ef8926cda49eba5bab74726b412 2022-12-16 15:57:46.635 WARNING PID: 15073 leapp.reporting: Stable Key report entry not provided, dynamically generating one - c75fe5e06c70d9e764703fa2611f917c75946226 2022-12-16 15:57:46.843 WARNING PID: 15217 leapp.reporting: Stable Key report entry not provided, dynamically generating one - bf47e7305d6805e8bbeaa7593cf01e38030c23f3 2022-12-16 15:57:46.916 WARNING PID: 15266 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 07b32401edb752f993c7f7067ad9b0765ee25bf4 2022-12-16 15:57:46.920 WARNING PID: 15266 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 4f25fea9b15b9d1d07d52cc1de02073f295dac3d 2022-12-16 15:57:48.991 WARNING PID: 15748 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 13f0791ae5f19f50e7d0d606fb6501f91b1efb2c 2022-12-16 15:57:52.22 WARNING PID: 16474 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 0256d6f8f3b5c2add6ab2b315166c69442bfd641 2022-12-16 15:57:52.164 WARNING PID: 16571 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 40c4ab1da4a30dc1ca40e543f6385e1336d8810c 2022-12-16 15:57:53.528 WARNING PID: 16860 leapp.reporting: Stable Key report entry not provided, dynamically generating one - c4222ebd18730a76f6bc7b3b66df898b106e6554 2022-12-16 15:58:54.526 WARNING PID: 17917 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 01986584e27e85ea18929586faf614eee011a121 2022-12-16 15:58:56.214 WARNING PID: 18117 leapp.workflow.TargetTransactionCheck.dnf_transaction_check: Cannot parse the dnf dump correctly, line: 2022-12-16 15:59:36.385 WARNING PID: 18370 leapp.workflow.Download.dnf_package_download: Cannot parse the dnf dump correctly, line: [root@server ~]#

Lestat569769 commented 1 year ago

[root@server ~]# less /var/log/leapp/leapp-upgrade.log | grep failed 2022-12-16 15:56:14.804 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: Command ['systemctl', 'is-active', 'firewalld'] failed with exit code 3. 2022-12-16 15:56:14.826 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: Command ['systemctl', 'is-enabled', 'firewalld'] failed with exit code 1. 2022-12-16 15:56:14.849 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: Command ['systemctl', 'is-active', 'iptables'] failed with exit code 3. 2022-12-16 15:56:14.871 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: Command ['systemctl', 'is-enabled', 'iptables'] failed with exit code 1. 2022-12-16 15:56:14.894 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: Command ['systemctl', 'is-active', 'ip6tables'] failed with exit code 3. 2022-12-16 15:56:14.917 DEBUG PID: 10814 leapp.workflow.FactsCollection.system_facts: Command ['systemctl', 'is-enabled', 'ip6tables'] failed with exit code 1. 2022-12-16 15:57:05.921 DEBUG PID: 11535 leapp.workflow.FactsCollection.selinuxcontentscanner: Command ['grep', '-w', '-r', '-E', 'container_connect_any|container_runtime_t|container_runtime_exec_t|spc_t|container_auth_t|container_auth_exec_t|spc_var_run_t|container_var_lib_t|container_home_t|container_config_t|container_lock_t|container_log_t|container_runtime_tmp_t|container_runtime_tmpfs_t|container_var_run_t|container_plugin_var_run_t|container_unit_file_t|container_devpts_t|container_share_t|container_port_t|container_build_t|container_logreader_t|docker_log_t|docker_tmpfs_t|docker_share_t|docker_t|docker_lock_t|docker_home_t|docker_exec_t|docker_unit_file_t|docker_devpts_t|docker_config_t|docker_tmp_t|docker_auth_exec_t|docker_plugin_var_run_t|docker_port_t|docker_auth_t|docker_var_run_t|docker_var_lib_t|container_domain|container_net_domain'] failed with exit code 1. 2022-12-16 15:57:19.72 DEBUG PID: 11858 leapp.workflow.FactsCollection.authselect_scanner: Command ['/usr/bin/systemctl', 'is-enabled', 'ypbind.service'] failed with exit code 1. 2022-12-16 15:57:51.502 DEBUG PID: 16424 leapp.workflow.Checks.check_ntp: Command ['systemctl', 'is-active', 'ntpd.service'] failed with exit code 3. 2022-12-16 15:57:51.523 DEBUG PID: 16424 leapp.workflow.Checks.check_ntp: Command ['systemctl', 'is-active', 'ntpdate.service'] failed with exit code 3. 2022-12-16 15:58:51.733 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/EA4.repo'] failed with exit code 1. 2022-12-16 15:58:51.817 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/mysql-community.repo.rpmsave'] failed with exit code 1. 2022-12-16 15:58:52.184 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/epel.repo.rpmsave'] failed with exit code 1. 2022-12-16 15:58:52.559 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/wp-toolkit-cpanel.repo'] failed with exit code 1. 2022-12-16 15:58:52.664 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/CentOS-Base.repo.rpmsave'] failed with exit code 1. 2022-12-16 15:58:52.938 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/cpanel-plugins.repo'] failed with exit code 1. 2022-12-16 15:58:53.24 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/mysql-community-source.repo.rpmsave'] failed with exit code 1. 2022-12-16 15:58:53.110 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/cPAddons.repo'] failed with exit code 1. 2022-12-16 15:58:53.202 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/epel.repo.rpmnew'] failed with exit code 1. 2022-12-16 15:58:53.498 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/mysql-community.repo.off'] failed with exit code 1. 2022-12-16 15:58:53.586 DEBUG PID: 17255 leapp.workflow.TargetTransactionFactsCollection.target_userspacecreator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root/system_overlay', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', 'rpm', '-qf', '/etc/yum.repos.d/leapp_upgrade_repositories.repo'] failed with exit code 1. 2022-12-16 16:00:59.765 DEBUG PID: 18370 leapp.workflow.Download.dnf_package_download: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', u'/var/lib/leapp/el8userspace', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.6', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b2d9d806-7936-455b-8659-cb274643ab92', '--setenv=LEAPP_HOSTNAME=server.domain', '/usr/bin/dnf', 'rhel-upgrade', 'download', '/var/lib/leapp/dnf-plugin-data.txt', '--disableplugin', 'subscription-manager'] failed with exit code 1. [root@server ~]#

danFbach commented 1 year ago

oh yeah, --whatdepends probably a dnf command and you're still on yum... try running repoquery --requires --resolve openssl11-libs instead. openssl and openssl11 are different packages.

Lestat569769 commented 1 year ago

[root@server ~]# dnf repoquery --whatdepends openssl11-libs Last metadata expiration check: 0:41:46 ago on Fri 16 Dec 2022 04:05:54 PM EST. [root@server ~]#

Lestat569769 commented 1 year ago

[root@server ~]# repoquery --requires --resolve openssl11-libs [root@server ~]#

danFbach commented 1 year ago

so, nothing. 👍 it is safe to remove

Lestat569769 commented 1 year ago

Just: yum remove openssl11-libs ?

danFbach commented 1 year ago

yes.

Lestat569769 commented 1 year ago

Dependencies Resolved

============================================================================================================================================================================================================================================= Package Arch Version Repository Size

Removing: openssl11-libs x86_64 1:1.1.1k-4.el7 @epel 3.6 M Removing for dependencies: lua-sec x86_64 1.2.0-1.el7 @epel 96 k prosody x86_64 0.11.13-3.el7 @epel 1.4 M

Transaction Summary

Remove 1 Package (+2 Dependent packages)

danFbach commented 1 year ago

reboot, /scripts/elevate-cpanel --continue see if it flies!

Lestat569769 commented 1 year ago

Server has rebooted and is now on stage 4. Crossing fingers all goes well.

Lestat569769 commented 1 year ago

All done and upgraded!!! Thank you so much Dan!!! [root@server ~]# cat /etc/os-release NAME="Rocky Linux" VERSION="8.7 (Green Obsidian)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="8.7" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.7 (Green Obsidian)" ANSI_COLOR="0;32" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:rocky:rocky:8:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8" ROCKY_SUPPORT_PRODUCT_VERSION="8.7" REDHAT_SUPPORT_PRODUCT="Rocky Linux" REDHAT_SUPPORTPRODUCT

danFbach commented 1 year ago

Happy to hear it!