plesk / centos2alma

CentOS 7 to AlmaLinux 8 conversion tool
Apache License 2.0
39 stars 10 forks source link

Unable to read OpenPGP keys #346

Open itacaGitHub opened 1 month ago

itacaGitHub commented 1 month ago

more /var/log/plesk/centos2alma.log | grep ERROR 2024-09-02 11:46:26,010 - ERROR - check if currently installed Plesk version is available 2024-09-02 11:46:26,012 - ERROR - checking if all packages are up to date 2024-09-02 11:46:26,015 - ERROR - checking if more than one kernel-devel package is installed 2024-09-02 11:46:26,016 - ERROR - Conversion can't be performed due to the problems noted above 2024-09-10 15:00:58,254 - ERROR - checking if all packages are up to date 2024-09-10 15:00:58,254 - ERROR - Conversion can't be performed due to the problems noted above 2024-09-10 16:18:36,265 - ERROR - checking if more than one kernel-devel package is installed 2024-09-10 16:18:36,265 - ERROR - Conversion can't be performed due to the problems noted above 2024-09-10 16:49:35,414 - INFO - 2024-09-10 16:49:35.412 ERROR PID: 16884 leapp.workflow.TargetTransactionCheck.missing_gpg_keys_inhibitor: Unable to read OpenPGP keys from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8: gpg: can't open `/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8' 2024-09-10 16:51:01,108 - ERROR - Command ['/usr/bin/leapp', 'preupgrade'] failed with return code 1 2024-09-10 16:51:01,109 - ERROR - Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1. 2024-09-10 16:51:01,108 - ERROR - Command ['/usr/bin/leapp', 'preupgrade'] failed with return code 1 2024-09-10 16:51:01,109 - ERROR - Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1. 2024-09-10 16:51:04,959 - ERROR - centos2alma process has failed. Error: Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1. [root@tabellarius01 ~]# ./centos2alma --prepare-feedback

(step 1) first-run

./centos2alma Doing preparation checks... Required pre-conversion condition 'checking if all packages are up to date' not met: There are packages which are not up to date. Call yum update -y && reboot to update the packages.

Conversion can't be performed due to the problems noted above

(step 2) yum update as requested

[root@tabellarius01 migration]# yum update -y && reboot Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile

Dependencies Resolved

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

Installing: kernel x86_64 3.10.0-1160.119.1.el7.tuxcare.els3 centos7-els 52 M kernel-devel x86_64 3.10.0-1160.119.1.el7.tuxcare.els3 centos7-els 18 M Updating: kernel-headers x86_64 3.10.0-1160.119.1.el7.tuxcare.els3 centos7-els 9.1 M kernel-tools x86_64 3.10.0-1160.119.1.el7.tuxcare.els3 centos7-els 8.2 M kernel-tools-libs x86_64 3.10.0-1160.119.1.el7.tuxcare.els3 centos7-els 8.1 M kernelcare x86_64 2.91-3.el7 kernelcare 1.1 M libbsd x86_64 0.12.2-1.el7 epel 130 k libc-client x86_64 2007f-16.el7 epel 562 k libidn2 x86_64 2.3.7-1.el7 epel 161 k libnghttp2 x86_64 1.33.0-1.3.el7 epel 69 k libopendkim x86_64 2.11.0-0.1.el7 epel 75 k luajit x86_64 2.0.5-1.20220913.46e62cd.el7 epel 344 k perl-JSON-XS x86_64 1:3.01-2.el7 epel 103 k pigz x86_64 2.3.4-1.el7 epel 81 k webalizer x86_64 2.23_08-6.el7 epel 134 k zstd x86_64 1.5.5-1.el7 epel 449 k Installing for dependencies: libmd x86_64 1.1.0-1.el7 epel 41 k

Transaction Summary

Install 2 Packages (+1 Dependent package) Upgrade 14 Packages

Total download size: 98 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. (1/17): kernel-devel-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64.rpm | 18 MB 00:00:02 (2/17): kernel-headers-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64.rpm | 9.1 MB 00:00:01 (3/17): kernel-tools-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64.rpm | 8.2 MB 00:00:01 (4/17): libbsd-0.12.2-1.el7.x86_64.rpm | 130 kB 00:00:00 (5/17): libc-client-2007f-16.el7.x86_64.rpm | 562 kB 00:00:00 (6/17): libidn2-2.3.7-1.el7.x86_64.rpm | 161 kB 00:00:00 (7/17): libmd-1.1.0-1.el7.x86_64.rpm | 41 kB 00:00:00 (8/17): libnghttp2-1.33.0-1.3.el7.x86_64.rpm | 69 kB 00:00:00 (9/17): libopendkim-2.11.0-0.1.el7.x86_64.rpm | 75 kB 00:00:00 (10/17): luajit-2.0.5-1.20220913.46e62cd.el7.x86_64.rpm | 344 kB 00:00:00 (11/17): perl-JSON-XS-3.01-2.el7.x86_64.rpm | 103 kB 00:00:00 (12/17): pigz-2.3.4-1.el7.x86_64.rpm | 81 kB 00:00:00 (13/17): kernelcare-2.91-3.el7.x86_64.rpm | 1.1 MB 00:00:01 (14/17): webalizer-2.23_08-6.el7.x86_64.rpm | 134 kB 00:00:00 (15/17): zstd-1.5.5-1.el7.x86_64.rpm | 449 kB 00:00:00 (16/17): kernel-tools-libs-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64.rpm | 8.1 MB 00:00:02 (17/17): kernel-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64.rpm | 52 MB 00:00:25

Total 3.9 MB/s | 98 MB 00:00:25 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libmd-1.1.0-1.el7.x86_64 1/31 Updating : libbsd-0.12.2-1.el7.x86_64 2/31 Updating : kernel-tools-libs-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 3/31 Updating : kernel-tools-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 4/31 Updating : libopendkim-2.11.0-0.1.el7.x86_64 5/31 Updating : luajit-2.0.5-1.20220913.46e62cd.el7.x86_64 6/31 Updating : libnghttp2-1.33.0-1.3.el7.x86_64 7/31 Updating : libidn2-2.3.7-1.el7.x86_64 8/31 Updating : libc-client-2007f-16.el7.x86_64 9/31 Installing : kernel-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 10/31 Updating : zstd-1.5.5-1.el7.x86_64 11/31 Updating : pigz-2.3.4-1.el7.x86_64 12/31 Installing : kernel-devel-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 13/31 Updating : webalizer-2.23_08-6.el7.x86_64 14/31 Updating : kernelcare-2.91-3.el7.x86_64 15/31 Created symlink from /etc/systemd/system/multi-user.target.wants/kcare.service to /usr/lib/systemd/system/kcare.service. Created symlink from /etc/systemd/system/sockets.target.wants/libcare.socket to /usr/lib/systemd/system/libcare.socket. Warning: Stopping libcare.service, but it can still be activated by: libcare.socket Updating : kernel-headers-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 16/31 Updating : 1:perl-JSON-XS-3.01-2.el7.x86_64 17/31 Cleanup : kernel-tools-3.10.0-957.5.1.el7.x86_64 18/31 Cleanup : libopendkim-2.11.0-0.1.el6.x86_64 19/31 Cleanup : kernel-headers-3.10.0-957.5.1.el7.x86_64 20/31 Cleanup : perl-JSON-XS-3.01-centos7.17100419.x86_64 21/31 Cleanup : libbsd-0.6.0-3.el7.x86_64 22/31 Cleanup : kernel-tools-libs-3.10.0-957.5.1.el7.x86_64 23/31 Cleanup : luajit-2.0.4-3.el7.x86_64 24/31 Cleanup : libnghttp2-1.31.1-2.el7.x86_64 25/31 Cleanup : libidn2-2.0.4-3.el7.x86_64 26/31 Cleanup : libc-client-2007f-4.el7.1.x86_64 27/31 Cleanup : zstd-1.5.0-1.el7.x86_64 28/31 Cleanup : pigz-2.3.3-1.el7.centos.x86_64 29/31 Cleanup : webalizer-2.23_05-7.el7.x86_64 30/31 Cleanup : kernelcare-2.29-1.el7.x86_64 31/31 Verifying : libopendkim-2.11.0-0.1.el7.x86_64 1/31 Verifying : 1:perl-JSON-XS-3.01-2.el7.x86_64 2/31 Verifying : kernel-headers-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 3/31 Verifying : kernelcare-2.91-3.el7.x86_64 4/31 Verifying : webalizer-2.23_08-6.el7.x86_64 5/31 Verifying : kernel-devel-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 6/31 Verifying : pigz-2.3.4-1.el7.x86_64 7/31 Verifying : zstd-1.5.5-1.el7.x86_64 8/31 Verifying : kernel-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 9/31 Verifying : kernel-tools-libs-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 10/31 Verifying : libmd-1.1.0-1.el7.x86_64 11/31 Verifying : kernel-tools-3.10.0-1160.119.1.el7.tuxcare.els3.x86_64 12/31 Verifying : libc-client-2007f-16.el7.x86_64 13/31 Verifying : libbsd-0.12.2-1.el7.x86_64 14/31 Verifying : libidn2-2.3.7-1.el7.x86_64 15/31 Verifying : libnghttp2-1.33.0-1.3.el7.x86_64 16/31 Verifying : luajit-2.0.5-1.20220913.46e62cd.el7.x86_64 17/31 Verifying : luajit-2.0.4-3.el7.x86_64 18/31 Verifying : kernel-headers-3.10.0-957.5.1.el7.x86_64 19/31 Verifying : kernel-tools-3.10.0-957.5.1.el7.x86_64 20/31 Verifying : libnghttp2-1.31.1-2.el7.x86_64 21/31 Verifying : zstd-1.5.0-1.el7.x86_64 22/31 Verifying : pigz-2.3.3-1.el7.centos.x86_64 23/31 Verifying : libc-client-2007f-4.el7.1.x86_64 24/31 Verifying : kernelcare-2.29-1.el7.x86_64 25/31 Verifying : libidn2-2.0.4-3.el7.x86_64 26/31 Verifying : libopendkim-2.11.0-0.1.el6.x86_64 27/31 Verifying : kernel-tools-libs-3.10.0-957.5.1.el7.x86_64 28/31 Verifying : perl-JSON-XS-3.01-centos7.17100419.x86_64 29/31 Verifying : webalizer-2.23_05-7.el7.x86_64 30/31 Verifying : libbsd-0.6.0-3.el7.x86_64 31/31

Installed: kernel.x86_64 0:3.10.0-1160.119.1.el7.tuxcare.els3 kernel-devel.x86_64 0:3.10.0-1160.119.1.el7.tuxcare.els3

Dependency Installed: libmd.x86_64 0:1.1.0-1.el7

Updated: kernel-headers.x86_64 0:3.10.0-1160.119.1.el7.tuxcare.els3 kernel-tools.x86_64 0:3.10.0-1160.119.1.el7.tuxcare.els3 kernel-tools-libs.x86_64 0:3.10.0-1160.119.1.el7.tuxcare.els3 kernelcare.x86_64 0:2.91-3.el7 libbsd.x86_64 0:0.12.2-1.el7 libc-client.x86_64 0:2007f-16.el7 libidn2.x86_64 0:2.3.7-1.el7 libnghttp2.x86_64 0:1.33.0-1.3.el7 libopendkim.x86_64 0:2.11.0-0.1.el7 luajit.x86_64 0:2.0.5-1.20220913.46e62cd.el7 perl-JSON-XS.x86_64 1:3.01-2.el7 pigz.x86_64 0:2.3.4-1.el7 webalizer.x86_64 0:2.23_08-6.el7 zstd.x86_64 0:1.5.5-1.el7

Complete!

(step 3) second-run

./centos2alma Doing preparation checks... Required pre-conversion condition 'checking if more than one kernel-devel package is installed' not met: More than one kernel-devel package is installed. To proceed with the conversion, please remove all kernel-devel packages except the one that corresponds to the running kernel. Kernel packages list:

Conversion can't be performed due to the problems noted above

(step 4) remove double kernel

package-cleanup --oldkernels --count=1 Loaded plugins: fastestmirror --> Running transaction check ---> Package kernel.x86_64 0:3.10.0-957.5.1.el7 will be erased ---> Package kernel-devel.x86_64 0:3.10.0-957.5.1.el7 will be erased --> Finished Dependency Resolution

Dependencies Resolved

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

Removing: kernel x86_64 3.10.0-957.5.1.el7 @updates 63 M kernel-devel x86_64 3.10.0-957.5.1.el7 @updates 37 M

Transaction Summary

Remove 2 Packages

Installed size: 100 M Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : kernel-3.10.0-957.5.1.el7.x86_64 1/2 Erasing : kernel-devel-3.10.0-957.5.1.el7.x86_64 2/2 Verifying : kernel-devel-3.10.0-957.5.1.el7.x86_64 1/2 Verifying : kernel-3.10.0-957.5.1.el7.x86_64 2/2

Removed: kernel.x86_64 0:3.10.0-957.5.1.el7 kernel-devel.x86_64 0:3.10.0-957.5.1.el7

Complete!

(step 5) third-run

./centos2alma Doing preparation checks... [================> ( stage Handle packages and services / action handle spamassassin configuration update ) ] 10:07 / 30:[================> ( stage Handle packages and services / action handle spamassassin configuration update ) ] 10:08 / 30:[================> ( stage Handle packages and services / action handle spamassassin configuration update ) ] 10:09 / 30:[================> ( stage Handle packages and services / action handle spamassassin configuration update ) ] 10:10 / 30:[================> ( stage Handle packages and services / action handle spamassassin configuration update ) ] 10:11 / 30:[=========================( stage Do convert / action doing the conversion )===> ] 17:39 / 30:44 Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1.


The dist-upgrade process has failed. Here are the last 100 lines of the /var/log/plesk/centos2alma.log file:


2024-09-10 16:50:57,666 - INFO - plesk-php83-snmp x86_64 8.3.11-0redhat.8.240830.0834 alma-PLESK_17_PHP83 27 k 2024-09-10 16:50:57,666 - INFO - plesk-php83-soap x86_64 8.3.11-0redhat.8.240830.0834 alma-PLESK_17_PHP83 125 k 2024-09-10 16:50:57,666 - INFO - plesk-php83-sodium x86_64 8.3.11-0redhat.8.240830.0834 alma-PLESK_17_PHP83 33 k 2024-09-10 16:50:57,666 - INFO - plesk-php83-tidy x86_64 8.3.11-0redhat.8.240830.0834 alma-PLESK_17_PHP83 24 k 2024-09-10 16:50:57,666 - INFO - plesk-php83-xdebug x86_64 3.3.2-0redhat.8.240830.0834 alma-PLESK_17_PHP83 142 k 2024-09-10 16:50:57,666 - INFO - plesk-php83-xml x86_64 8.3.11-0redhat.8.240830.0834 alma-PLESK_17_PHP83 93 k 2024-09-10 16:50:57,666 - INFO - plesk-platform-runtime x86_64 1.0.5-0redhat.8.240730.0658 alma-PLESK_18_0_63 30 k 2024-09-10 16:50:57,666 - INFO - plesk-py3 x86_64 3.10.13-0redhat.8.240111.0627 alma-plesk-ext-site-import 40 M 2024-09-10 16:50:57,666 - INFO - plesk-rbenv noarch 1.1.2-0redhat.8.240206.1558 alma-plesk-ext-ruby 332 k 2024-09-10 16:50:57,666 - INFO - plesk-rdbmspp x86_64 2.0.5-0redhat.8.240730.0658 alma-PLESK_18_0_63 251 k 2024-09-10 16:50:57,666 - INFO - plesk-ruby2.4.6 x86_64 2.4.6-0redhat.8.240206.1558 alma-plesk-ext-ruby 7.4 M 2024-09-10 16:50:57,666 - INFO - plesk-ruby2.5.5 x86_64 2.5.5-0redhat.8.240206.1558 alma-plesk-ext-ruby 7.6 M 2024-09-10 16:50:57,666 - INFO - plesk-ruby2.6.10 x86_64 2.6.10-0redhat.8.240206.1558 alma-plesk-ext-ruby 8.3 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby2.6.3 x86_64 2.6.3-0redhat.8.240206.1558 alma-plesk-ext-ruby 8.3 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby2.6.9 x86_64 2.6.9-0redhat.8.240206.1558 alma-plesk-ext-ruby 8.3 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby2.7.7 x86_64 2.7.7-0redhat.8.240206.1558 alma-plesk-ext-ruby 8.3 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby2.7.8 x86_64 2.7.8-0redhat.8.240206.1558 alma-plesk-ext-ruby 8.3 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby3.0.5 x86_64 3.0.5-0redhat.8.240206.1558 alma-plesk-ext-ruby 11 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby3.0.6 x86_64 3.0.6-0redhat.8.240206.1558 alma-plesk-ext-ruby 11 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby3.1.3 x86_64 3.1.3-0redhat.8.240206.1558 alma-plesk-ext-ruby 11 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby3.1.4 x86_64 3.1.4-0redhat.8.240206.1558 alma-plesk-ext-ruby 11 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby3.2.1 x86_64 3.2.1-0redhat.8.240206.1558 alma-plesk-ext-ruby 12 M 2024-09-10 16:50:57,744 - INFO - plesk-ruby3.2.2 x86_64 3.2.2-0redhat.8.240206.1558 alma-plesk-ext-ruby 12 M 2024-09-10 16:50:57,744 - INFO - psa-autoinstaller x86_64 3.63.0-0redhat.8.240730.0746 alma-PLESK_18_0_63 4.8 M 2024-09-10 16:50:57,744 - INFO - psa-drweb-configurator x86_64 18.0.52-0redhat.8.230726.1312 alma-plesk-ext-premium-av 130 k 2024-09-10 16:50:57,744 - INFO - psa-kav8 x86_64 2:8.9.2-0redhat.8.240617.1444 alma-plesk-ext-kaspersky-av 367 M 2024-09-10 16:50:57,744 - INFO - python3-setuptools noarch 39.2.0-8.el8_10 almalinux8-baseos 162 k 2024-09-10 16:50:57,744 - INFO - sw-engine x86_64 6.63.0-0redhat.8.240730.0658 alma-PLESK_18_0_63 11 M 2024-09-10 16:50:57,744 - INFO - sw-engine-cli-6.63 x86_64 6.63.0-0redhat.8.240730.0658 alma-PLESK_18_0_63 4.8 M 2024-09-10 16:50:57,744 - INFO - trace-cmd x86_64 2.7-10.el8 almalinux8-baseos 257 k 2024-09-10 16:50:57,744 - INFO - zstd x86_64 1.4.4-1.el8 almalinux8-appstream 395 k 2024-09-10 16:50:57,744 - INFO - Enabling module streams: 2024-09-10 16:50:57,745 - INFO - container-tools rhel8 2024-09-10 16:50:57,745 - INFO - gimp 2.8 2024-09-10 16:50:57,745 - INFO - httpd 2.4 2024-09-10 16:50:57,745 - INFO - mailman 2.1 2024-09-10 16:50:57,745 - INFO - mariadb 10.3 2024-09-10 16:50:57,745 - INFO - nginx 1.14 2024-09-10 16:50:57,745 - INFO - perl 5.26 2024-09-10 16:50:57,745 - INFO - perl-DBD-MySQL 4.046 2024-09-10 16:50:57,745 - INFO - perl-DBI 1.641 2024-09-10 16:50:57,745 - INFO - perl-FCGI 0.78 2024-09-10 16:50:57,745 - INFO - perl-IO-Socket-SSL 2.066 2024-09-10 16:50:57,745 - INFO - perl-libwww-perl 6.34 2024-09-10 16:50:57,745 - INFO - php 7.2 2024-09-10 16:50:58,449 - INFO - postgresql 10 2024-09-10 16:50:58,449 - INFO - python27 2.7 2024-09-10 16:50:58,449 - INFO - python36 3.6 2024-09-10 16:50:58,449 - INFO - ruby 2.5 2024-09-10 16:50:58,449 - INFO - subversion 1.10 2024-09-10 16:50:58,449 - INFO - swig 3.0 2024-09-10 16:50:58,449 - INFO - Transaction Summary 2024-09-10 16:50:58,449 - INFO - ================================================================================================================================= 2024-09-10 16:50:58,449 - INFO - Install 383 Packages 2024-09-10 16:50:58,449 - INFO - Upgrade 818 Packages 2024-09-10 16:50:58,449 - INFO - Remove 200 Packages 2024-09-10 16:50:58,449 - INFO - Downgrade 144 Packages 2024-09-10 16:50:58,449 - INFO - Total size: 1.9 G 2024-09-10 16:50:58,449 - INFO - Total download size: 1.8 G 2024-09-10 16:50:58,449 - INFO - Downloading Packages: 2024-09-10 16:50:58,449 - INFO - Check completed. 2024-09-10 16:50:58,460 - INFO - ==> Processing phase Reports 2024-09-10 16:50:58,460 - INFO - ====> verify_check_results 2024-09-10 16:50:58,460 - INFO - Check all dialogs and notify that user needs to make some choices. 2024-09-10 16:50:58,512 - INFO - ====> verify_check_results 2024-09-10 16:50:58,512 - INFO - Check all generated results messages and notify user about them. 2024-09-10 16:51:01,094 - INFO - Debug output written to /var/log/leapp/leapp-preupgrade.log 2024-09-10 16:51:01,094 - INFO - ============================================================ 2024-09-10 16:51:01,094 - INFO - REPORT OVERVIEW 2024-09-10 16:51:01,094 - INFO - ============================================================ 2024-09-10 16:51:01,094 - INFO - Upgrade has been inhibited due to the following problems: 2024-09-10 16:51:01,094 - INFO - 1. Detected unknown GPG keys for target system repositories 2024-09-10 16:51:01,094 - INFO - HIGH and MEDIUM severity reports: 2024-09-10 16:51:01,094 - INFO - 1. Packages not signed by Red Hat found on the system 2024-09-10 16:51:01,094 - INFO - 2. GRUB2 core will be automatically updated during the upgrade 2024-09-10 16:51:01,094 - INFO - 3. Difference in Python versions and support in RHEL 8 2024-09-10 16:51:01,094 - INFO - 4. Failed to read GPG keys from provided key files 2024-09-10 16:51:01,094 - INFO - 5. Inconsistent repository without GPG key 2024-09-10 16:51:01,094 - INFO - 6. spamc no longer allows specifying the TLS version and no longer supports SSLv3 2024-09-10 16:51:01,094 - INFO - 7. spamd no longer allows specifying the TLS version and no longer supports SSLv3 2024-09-10 16:51:01,094 - INFO - 8. The type of the spamassassin systemd service has changed 2024-09-10 16:51:01,094 - INFO - 9. Module pam_pkcs11 will be removed from PAM configuration 2024-09-10 16:51:01,094 - INFO - 10. PostgreSQL (postgresql-server) has been detected on your system 2024-09-10 16:51:01,094 - INFO - Reports summary: 2024-09-10 16:51:01,094 - INFO - Errors: 0 2024-09-10 16:51:01,094 - INFO - Inhibitors: 1 2024-09-10 16:51:01,094 - INFO - HIGH severity reports: 5 2024-09-10 16:51:01,095 - INFO - MEDIUM severity reports: 5 2024-09-10 16:51:01,095 - INFO - LOW severity reports: 3 2024-09-10 16:51:01,095 - INFO - INFO severity reports: 2 2024-09-10 16:51:01,095 - INFO - Before continuing consult the full report: 2024-09-10 16:51:01,095 - INFO - A report has been generated at /var/log/leapp/leapp-report.json 2024-09-10 16:51:01,095 - INFO - A report has been generated at /var/log/leapp/leapp-report.txt 2024-09-10 16:51:01,095 - INFO - ============================================================ 2024-09-10 16:51:01,095 - INFO - END OF REPORT OVERVIEW 2024-09-10 16:51:01,095 - INFO - ============================================================ 2024-09-10 16:51:01,095 - INFO - Answerfile has been generated at /var/log/leapp/answerfile 2024-09-10 16:51:01,108 - ERROR - Command ['/usr/bin/leapp', 'preupgrade'] failed with return code 1 2024-09-10 16:51:01,109 - ERROR - Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1. 2024-09-10 16:51:01,987 - DEBUG - Going to write json '/usr/local/psa/var/centos2alma/actions.json' with new data


The dist-ugrade process has failed. See the /var/log/plesk/centos2alma.log file for more information. The last 100 lines of the file are shown above. For assistance, call 'centos2alma --prepare-feedback' and follow the instructions. To revert the server to its original state, call 'centos2alma --revert'.


Note: the plesk admin web interface is not responding.

(step6) Prepare feedback 1 ==> centos2alma_feedback1.zip ./centos2alma --prepare-feedback


The feedback archive is ready. You can find it here: centos2alma_feedback.zip For further assistance, create an issue in our GitHub repository - https://github.com/plesk/centos2alma/issues. Please attach the feedback archive to the created issue and provide as much information about the problem as you can.


(step 7) Recovery failure ./centos2alma --revert [=========================( stage Handle plesk related services / action disable plesk related services )==============> ] 06:46 / 08:33 Failed: disable plesk related services. The reason: Command '['/usr/bin/systemctl', 'start', 'crond.service', 'dovecot.service', 'drwebd.service', 'fail2ban.service', 'httpd.service', 'mailman.service', 'mariadb.service', 'named-chroot.service', 'plesk-ext-monitoring-hcd.service', 'plesk-ssh-terminal.service', 'plesk-task-manager.service', 'plesk-web-socket.service', 'psa.service', 'sw-collectd.service', 'sw-cp-server.service', 'sw-engine.service', 'postfix.service']' returned non-zero exit status 1.


The dist-upgrade process has failed. Here are the last 100 lines of the /var/log/plesk/centos2alma.log file:


2024-09-11 09:47:43,803 - INFO - PLESK_18_0_63-dist | 2.9 kB 00:00 2024-09-11 09:47:43,808 - INFO - PLESK_18_0_63-extras | 2.9 kB 00:00 2024-09-11 09:47:43,814 - INFO - PLESK_18_0_63-thirdparty | 2.9 kB 00:00 2024-09-11 09:47:43,821 - INFO - WPB_18_0_59-dist | 2.9 kB 00:00 2024-09-11 09:47:43,826 - INFO - WPB_18_0_59-thirdparty | 2.9 kB 00:00 2024-09-11 09:47:44,498 - INFO - + plesk-roundcube:noarch=0:1.4.15-2.centos.7+p18.0.63.4+t240830.1128 2024-09-11 09:47:44,543 - INFO - Installing packages 2024-09-11 09:47:44,765 - INFO - Loaded plugins: fastestmirror 2024-09-11 09:47:44,820 - INFO - Loading mirror speeds from cached hostfile 2024-09-11 09:47:44,821 - INFO - epel: ftp-stud.hs-esslingen.de 2024-09-11 09:47:45,926 - INFO - plesk-roundcube-1.4.15-2.centos.7+p18.0.63.4+t2 0.0 B/s | 5.2 MB 00:00 2024-09-11 09:47:45,926 - INFO - plesk-roundcube-1.4.15-2.centos.7+p18.0.63.4+t240830.112 | 5.2 MB 00:00 2024-09-11 09:47:45,934 - INFO - Running Transaction Check 2024-09-11 09:47:49,216 - INFO - Installing: plesk-roundcube-1.4.15-2.centos.7+p18.0.63.4+t240830.1128.noarch [1/1] 2024-09-11 09:47:51,973 - INFO - Verify: 1/1: plesk-roundcube.noarch 0:1.4.15-2.centos.7+p18.0.63.4+t240830.1128 - u 2024-09-11 09:48:38,983 - INFO - Launching component and product checkers... 2024-09-11 09:48:38,983 - INFO - Downloading file report-update: 0% 2024-09-11 09:48:39,017 - INFO - Downloading file report-update: 100% was finished. 2024-09-11 09:48:39,017 - INFO - Downloading file pool/PSA_18.0.63_15508/examiners/py_launcher.sh: 0% 2024-09-11 09:48:39,037 - INFO - Downloading file pool/PSA_18.0.63_15508/examiners/py_launcher.sh: 100% was finished. 2024-09-11 09:48:39,431 - INFO - The changes were applied successfully. 2024-09-11 09:48:39,751 - INFO - Command ['/usr/sbin/plesk', 'installer', 'add', '--components', 'roundcube'] finished successfully 2024-09-11 09:48:39,755 - INFO - Running: ['/usr/bin/systemctl', 'restart', 'sw-cp-server']. Output: 2024-09-11 09:48:39,823 - INFO - Command ['/usr/bin/systemctl', 'restart', 'sw-cp-server'] finished successfully 2024-09-11 09:48:39,824 - DEBUG - Action 're-installing plesk components' completed in 226 s with result: ActionResult(state=<ActionState.SUCCESS: 'success'>, info=None, reboot_requested=None, next_phase=None) 2024-09-11 09:48:39,824 - INFO - Success: re-installing plesk components 2024-09-11 09:48:39,824 - DEBUG - Invoking action 'remove plesk conflict packages' 2024-09-11 09:48:39,824 - INFO - Do: remove plesk conflict packages 2024-09-11 09:48:39,824 - INFO - Running: ['/usr/bin/yum', 'install', '-y', 'openssl11-libs', 'python36-PyYAML', 'GeoIP', 'psa-mod_proxy']. Output: 2024-09-11 09:48:39,910 - INFO - Loaded plugins: fastestmirror 2024-09-11 09:48:39,964 - INFO - Loading mirror speeds from cached hostfile 2024-09-11 09:48:39,965 - INFO - epel: ftp-stud.hs-esslingen.de 2024-09-11 09:48:40,715 - INFO - Resolving Dependencies 2024-09-11 09:48:40,716 - INFO - --> Running transaction check 2024-09-11 09:48:40,716 - INFO - ---> Package GeoIP.x86_64 0:1.5.0-14.el7 will be installed 2024-09-11 09:48:40,723 - INFO - ---> Package openssl11-libs.x86_64 1:1.1.1k-7.el7 will be installed 2024-09-11 09:48:40,725 - INFO - ---> Package python36-PyYAML.x86_64 0:3.13-1.el7 will be installed 2024-09-11 09:48:40,945 - INFO - --> Finished Dependency Resolution 2024-09-11 09:48:41,131 - INFO - Dependencies Resolved 2024-09-11 09:48:41,131 - INFO - ================================================================================ 2024-09-11 09:48:41,132 - INFO - Package Arch Version Repository Size 2024-09-11 09:48:41,132 - INFO - ================================================================================ 2024-09-11 09:48:41,132 - INFO - Installing: 2024-09-11 09:48:41,132 - INFO - GeoIP x86_64 1.5.0-14.el7 base 1.5 M 2024-09-11 09:48:41,132 - INFO - openssl11-libs x86_64 1:1.1.1k-7.el7 epel 1.5 M 2024-09-11 09:48:41,132 - INFO - python36-PyYAML x86_64 3.13-1.el7 epel 149 k 2024-09-11 09:48:41,132 - INFO - Transaction Summary 2024-09-11 09:48:41,132 - INFO - ================================================================================ 2024-09-11 09:48:41,132 - INFO - Install 3 Packages 2024-09-11 09:48:41,132 - INFO - Total download size: 3.1 M 2024-09-11 09:48:41,132 - INFO - Installed size: 7.9 M 2024-09-11 09:48:41,132 - INFO - Downloading packages: 2024-09-11 09:48:41,888 - INFO - -------------------------------------------------------------------------------- 2024-09-11 09:48:41,888 - INFO - Total 4.1 MB/s | 3.1 MB 00:00 2024-09-11 09:48:41,892 - INFO - Running transaction check 2024-09-11 09:48:41,901 - INFO - Running transaction test 2024-09-11 09:48:42,061 - INFO - Transaction test succeeded 2024-09-11 09:48:42,061 - INFO - Running transaction 2024-09-11 09:48:42,770 - INFO - Installing : 1:openssl11-libs-1.1.1k-7.el7.x86_64 1/3 2024-09-11 09:48:43,205 - INFO - Installing : python36-PyYAML-3.13-1.el7.x86_64 2/3 2024-09-11 09:48:43,304 - INFO - Installing : GeoIP-1.5.0-14.el7.x86_64 3/3 2024-09-11 09:48:43,356 - INFO - Verifying : GeoIP-1.5.0-14.el7.x86_64 1/3 2024-09-11 09:48:43,455 - INFO - Verifying : python36-PyYAML-3.13-1.el7.x86_64 2/3 2024-09-11 09:48:43,657 - INFO - Verifying : 1:openssl11-libs-1.1.1k-7.el7.x86_64 3/3 2024-09-11 09:48:43,657 - INFO - Installed: 2024-09-11 09:48:43,657 - INFO - GeoIP.x86_64 0:1.5.0-14.el7 openssl11-libs.x86_64 1:1.1.1k-7.el7 2024-09-11 09:48:43,657 - INFO - python36-PyYAML.x86_64 0:3.13-1.el7 2024-09-11 09:48:43,657 - INFO - Complete! 2024-09-11 09:48:43,675 - INFO - Command ['/usr/bin/yum', 'install', '-y', 'openssl11-libs', 'python36-PyYAML', 'GeoIP', 'psa-mod_proxy'] finished successfully 2024-09-11 09:48:43,676 - DEBUG - Action 'remove plesk conflict packages' completed in 4 s with result: ActionResult(state=<ActionState.SUCCESS: 'success'>, info=None, reboot_requested=None, next_phase=None) 2024-09-11 09:48:43,676 - INFO - Success: remove plesk conflict packages 2024-09-11 09:48:43,676 - INFO - Skipped: rebundling ruby applications 2024-09-11 09:48:43,676 - INFO - Skipped: fix OS vendor PHP configuration 2024-09-11 09:48:43,676 - DEBUG - _track_flow(phase=None, stage='Handle packages and services') 2024-09-11 09:48:43,676 - DEBUG - flow_tracker(phase=None, stage='Handle packages and services') 2024-09-11 09:48:43,676 - DEBUG - ResumeTracker: phase=None, stage='Handle packages and services' 2024-09-11 09:48:43,676 - DEBUG - Writing ResumeData(phase=<Phase.REVERT: 'revert'>, argv=['./centos2alma', '--revert'], upgrader_name='Plesk::Centos2AlmaConverter', stage='Handle packages and services') to '/usr/local/psa/var/centos2alma/resume.json' 2024-09-11 09:48:43,683 - DEBUG - Starting the stage 'Handle plesk related services' 2024-09-11 09:48:43,683 - INFO - Start stage 'Handle plesk related services'. 2024-09-11 09:48:43,683 - DEBUG - Invoking action 'disable plesk related services' 2024-09-11 09:48:43,683 - INFO - Do: disable plesk related services 2024-09-11 09:48:43,683 - INFO - Running: ['/usr/bin/systemctl', 'enable', 'crond.service', 'dovecot.service', 'drwebd.service', 'fail2ban.service', 'httpd.service', 'mailman.service', 'mariadb.service', 'named-chroot.service', 'plesk-ext-monitoring-hcd.service', 'plesk-ssh-terminal.service', 'plesk-task-manager.service', 'plesk-web-socket.service', 'psa.service', 'sw-collectd.service', 'sw-cp-server.service', 'sw-engine.service', 'postfix.service', 'plesk-ip-remapping.service']. Output: 2024-09-11 09:48:43,737 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/crond.service to /usr/lib/systemd/system/crond.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/dovecot.service to /usr/lib/systemd/system/dovecot.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/drwebd.service to /usr/lib/systemd/system/drwebd.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/fail2ban.service to /usr/lib/systemd/system/fail2ban.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/mailman.service to /usr/lib/systemd/system/mailman.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/named-chroot.service to /usr/lib/systemd/system/named-chroot.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/plesk-ext-monitoring-hcd.service to /usr/lib/systemd/system/plesk-ext-monitoring-hcd.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/plesk-ssh-terminal.service to /usr/lib/systemd/system/plesk-ssh-terminal.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/psa.service to /usr/lib/systemd/system/psa.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/sw-collectd.service to /usr/lib/systemd/system/sw-collectd.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/postfix.service to /usr/lib/systemd/system/postfix.service. 2024-09-11 09:48:43,738 - INFO - Created symlink from /etc/systemd/system/multi-user.target.wants/plesk-ip-remapping.service to /usr/lib/systemd/system/plesk-ip-remapping.service. 2024-09-11 09:48:43,786 - INFO - Command ['/usr/bin/systemctl', 'enable', 'crond.service', 'dovecot.service', 'drwebd.service', 'fail2ban.service', 'httpd.service', 'mailman.service', 'mariadb.service', 'named-chroot.service', 'plesk-ext-monitoring-hcd.service', 'plesk-ssh-terminal.service', 'plesk-task-manager.service', 'plesk-web-socket.service', 'psa.service', 'sw-collectd.service', 'sw-cp-server.service', 'sw-engine.service', 'postfix.service', 'plesk-ip-remapping.service'] finished successfully 2024-09-11 09:48:43,787 - INFO - Running: ['/usr/bin/systemctl', 'start', 'crond.service', 'dovecot.service', 'drwebd.service', 'fail2ban.service', 'httpd.service', 'mailman.service', 'mariadb.service', 'named-chroot.service', 'plesk-ext-monitoring-hcd.service', 'plesk-ssh-terminal.service', 'plesk-task-manager.service', 'plesk-web-socket.service', 'psa.service', 'sw-collectd.service', 'sw-cp-server.service', 'sw-engine.service', 'postfix.service']. Output: 2024-09-11 09:49:13,032 - INFO - Job for mailman.service failed because the control process exited with error code. See "systemctl status mailman.service" and "journalctl -xe" for details. 2024-09-11 09:49:13,033 - ERROR - Command ['/usr/bin/systemctl', 'start', 'crond.service', 'dovecot.service', 'drwebd.service', 'fail2ban.service', 'httpd.service', 'mailman.service', 'mariadb.service', 'named-chroot.service', 'plesk-ext-monitoring-hcd.service', 'plesk-ssh-terminal.service', 'plesk-task-manager.service', 'plesk-web-socket.service', 'psa.service', 'sw-collectd.service', 'sw-cp-server.service', 'sw-engine.service', 'postfix.service'] failed with return code 1 2024-09-11 09:49:13,034 - ERROR - Failed: disable plesk related services. The reason: Command '['/usr/bin/systemctl', 'start', 'crond.service', 'dovecot.service', 'drwebd.service', 'fail2ban.service', 'httpd.service', 'mailman.service', 'mariadb.service', 'named-chroot.service', 'plesk-ext-monitoring-hcd.service', 'plesk-ssh-terminal.service', 'plesk-task-manager.service', 'plesk-web-socket.service', 'psa.service', 'sw-collectd.service', 'sw-cp-server.service', 'sw-engine.service', 'postfix.service']' returned non-zero exit status 1.


The dist-ugrade process has failed. See the /var/log/plesk/centos2alma.log file for more information. The last 100 lines of the file are shown above. For assistance, call 'centos2alma --prepare-feedback' and follow the instructions.


(step8) Prepare feedback 2 ==> centos2alma_feedback2.zip ./centos2alma --prepare-feedback


The feedback archive is ready. You can find it here: centos2alma_feedback.zip For further assistance, create an issue in our GitHub repository - https://github.com/plesk/centos2alma/issues. Please attach the feedback archive to the created issue and provide as much information about the problem as you can.


Note: Better VM snapshots than recovery processes !

centos2alma_feedback1.zip centos2alma_feedback2.zip

SandakovMM commented 1 month ago

There is no GPG key required for the kernelcare repository in /etc/leapp/files/vendors.d/rpm-gpg. You can find more details in the leapp report logfile: /var/log/leapp/leapp-report.txt. I believe, to work around this issue, you can:

We can fix the problem specifically for the kernelcare repository, but we are not sure about custom repositories. I will take a look.

Regarding the failed mailman systemd service on revert, I assume it was not configured before conversion, which is why it failed to start. In this case, I suggest removing mailman to avoid the problem. I will likely address this issue in the next release.

vizovitin commented 1 month ago

This doesn't seem to cause conversion process failure anymore (with the latest tool release). Please check on your side if at all possible.

itacaGitHub commented 1 month ago

Rerun with last version Centos2AlmaConverter 1.4.2-4b4a5f35. 2024-09-27 12:45:38,720 - INFO - ============================================================ 2024-09-27 12:45:38,720 - INFO - REPORT OVERVIEW 2024-09-27 12:45:38,720 - INFO - ============================================================ 2024-09-27 12:45:38,720 - INFO - Upgrade has been inhibited due to the following problems: 2024-09-27 12:45:38,720 - INFO - 1. Detected unknown GPG keys for target system repositories 2024-09-27 12:45:38,720 - INFO - HIGH and MEDIUM severity reports: 2024-09-27 12:45:38,720 - INFO - 1. Packages not signed by Red Hat found on the system 2024-09-27 12:45:38,721 - INFO - 2. GRUB2 core will be automatically updated during the upgrade 2024-09-27 12:45:38,721 - INFO - 3. Difference in Python versions and support in RHEL 8 2024-09-27 12:45:38,721 - INFO - 4. Inconsistent repository without GPG key 2024-09-27 12:45:38,721 - INFO - 5. spamc no longer allows specifying the TLS version and no longer supports SSLv3 2024-09-27 12:45:38,721 - INFO - 6. spamd no longer allows specifying the TLS version and no longer supports SSLv3 2024-09-27 12:45:38,721 - INFO - 7. The type of the spamassassin systemd service has changed 2024-09-27 12:45:38,721 - INFO - 8. PostgreSQL (postgresql-server) has been detected on your system 2024-09-27 12:45:38,721 - INFO - 9. Module pam_pkcs11 will be removed from PAM configuration 2024-09-27 12:45:38,721 - INFO - Reports summary: 2024-09-27 12:45:38,721 - INFO - Errors: 0 2024-09-27 12:45:38,721 - INFO - Inhibitors: 1 2024-09-27 12:45:38,721 - INFO - HIGH severity reports: 4 2024-09-27 12:45:38,721 - INFO - MEDIUM severity reports: 5 2024-09-27 12:45:38,721 - INFO - LOW severity reports: 3 2024-09-27 12:45:38,721 - INFO - INFO severity reports: 2 2024-09-27 12:45:38,721 - INFO - Before continuing consult the full report: 2024-09-27 12:45:38,721 - INFO - A report has been generated at /var/log/leapp/leapp-report.json 2024-09-27 12:45:38,721 - INFO - A report has been generated at /var/log/leapp/leapp-report.txt 2024-09-27 12:45:38,721 - INFO - ============================================================ 2024-09-27 12:45:38,721 - INFO - END OF REPORT OVERVIEW 2024-09-27 12:45:38,721 - INFO - ============================================================ leapp-report.txt leapp-upgrade.log