rocky-tools icon indicating copy to clipboard operation
rocky-tools copied to clipboard

Failure Migrating von Alma 8.5 to Rocky

Open misch42 opened this issue 3 years ago • 1 comments

Hi,

I tested some migration scenarios. My path is CentOS 8.4 -> Rocky -> Alma -> Rocky.

The last step from Alma to Rocky I encountered a problem. The script says it want to exit but continues anyway. The log is:

Preparing to migrate AlmaLinux 8.5 (Arctic Sphynx) to Rocky Linux 8.

Determining repository names for AlmaLinux 8.5 (Arctic Sphynx).Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist

Failed to fetch info for package apr-util-ldap.x86_64.

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.

.Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist

Found the following repositories which map from AlmaLinux 8.5 (Arctic Sphynx) to Rocky Linux 8: AlmaLinux 8.5 (Arctic Sphynx) Rocky Linux 8 appstream appstream baseos baseos extras extras

Getting system package names for AlmaLinux 8.5 (Arctic Sphynx)Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist .Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/salt.repo; Configuration: OptionBinding with id "failovermethod" does not exist

Found the following system packages which map from AlmaLinux 8.5 (Arctic Sphynx) to Rocky Linux 8: AlmaLinux 8.5 (Arctic Sphynx) Rocky Linux 8 almalinux-logos-ipa rocky-logos-ipa almalinux-backgrounds rocky-backgrounds almalinux-release rocky-gpg-keys almalinux-logos rocky-logos almalinux-indexhtml rocky-indexhtml almalinux-release rocky-release almalinux-logos-httpd rocky-logos-httpd almalinux-release rocky-repos (...) xkeyboard-config-2.28-1.el8.noarch
zlib-1.2.11-17.el8.x86_64

Complete!

Done, please reboot your system.

misch42 avatar Nov 14 '21 10:11 misch42

This is very strange indeed. For one thing if it can't find the package apr-util-ldap then it shouldn't have been able to map the appstream repository but it does seem to manage to map it just fine and the migration completes just fine.

The failovermethod=priority warning can be fixed by removing or commenting that line out from salt.repo but it's harmless.

pajamian avatar Nov 24 '21 05:11 pajamian