Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to finish post migration, issue with MariaDB (Unable to find a match) #52

Open
cloud86robb3rt opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cloud86robb3rt
Copy link

cloud86robb3rt commented Dec 12, 2024

We are experiencing the same issue as the previously opened ticket (#16).
Previously, simply reinstalling via the MySQL Governor script and running ./cloudlinux7to8 --resume was sufficient.

Now, the issue is that when resuming the step, the cloudlinux7to8 tool first removes MariaDB:

2024-12-10 16:57:59,103 - INFO - Running: ['/usr/bin/rpm', '-e', '--nodeps', 'cl-MariaDB-meta-devel', 'cl-MariaDB-meta', 'cl-MariaDB1011-devel', 'cl-MariaDB1011-server', 'cl-MariaDB1011', 'cl-MariaDB1011-libs', 'cl-MariaDB-meta-client']. Output:
2024-12-10 16:58:00,479 - INFO - stderr: warning: /etc/my.cnf saved as /etc/my.cnf.rpmsave
2024-12-10 16:58:00,592 - INFO - Command ['/usr/bin/rpm', '-e', '--nodeps', 'cl-MariaDB-meta-devel', 'cl-MariaDB-meta', 'cl-MariaDB1011-devel', 'cl-MariaDB1011-server', 'cl-MariaDB1011', 'cl-MariaDB1011-libs', 'cl-MariaDB-meta-client'] finished successfully

After removing MariaDB the tool fails to reinstall MariaDB. This can be worked around by resuming the tool so it can proceed to the next step; however, it eventually breaks due to the missing MariaDB.

Manually installing MariaDB via the MySQL Governor now only works when adding the --install-beta flag. Without this flag, we encounter the following error:

/usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=mariadb1011
Set MySQL to type 'mariadb1011'

/usr/share/lve/dbgovernor/mysqlgovernor.py --install --yes
!!!Before making any changes to the database, make sure that you have a backup copy of users' data!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!Ctrl+C to cancel the installation!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Instruction: how to create a whole-database backup - http://docs.cloudlinux.com/index.html?backing_up_mysql.html
Saving current enabled module: mariadb:cl-MariaDB1011
Cached module: mariadb:cl-MariaDB1011
Start downloading current installed packages
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysqlclient21-8.0.35-1.el8.cloudlinux.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysqlclient15-5.0.91-3.el8.cloudlinux.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/old/mysqlclient16-5.1.73-2.el8.cloudlinux.x86_64.rpm was loaded
Started downloading packages for the new installation
This system is receiving updates from CloudLinux Network server.
167 files removed
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MariaDB-meta-devel-10.11.10-1.module_el8.10.0+6879+09281501.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MariaDB-meta-10.11.10-1.module_el8.10.0+6879+09281501.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MariaDB-meta-client-10.11.10-1.module_el8.10.0+6879+09281501.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MariaDB-meta-client-10.11.10-1.module_el8.10.0+6879+09281501.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MariaDB-meta-devel-10.11.10-1.module_el8.10.0+6879+09281501.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/mysqlclient16-5.1.73-2.el8.cloudlinux.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/mysqlclient15-5.0.91-3.el8.cloudlinux.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/mysqlclient21-8.0.35-1.el8.cloudlinux.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/libaio-0.3.112-1.el8.x86_64.rpm was loaded
Package /usr/share/lve/dbgovernor/tmp/governor-tmp/new/cl-MariaDB-meta-client-10.11.10-1.module_el8.10.0+6879+09281501.x86_64.rpm was loaded
WARNING!!!! Package cl-MariaDB1011-libs was not downloaded
WARNING!!!! Package cl-MariaDB1011-server was not downloaded
WARNING!!!! Package cl-MariaDB1011 was not downloaded
WARNING!!!! Package cl-MariaDB1011-devel was not downloaded
Installation of MySQL packages will not be completed because not all of the new packages have been downloaded

In the previous ticket the output off 'yum list 'cl-Maria*' --showduplicates' was asked, here it is;

Before stage Update databases / action update modern mariadb installed from governor

cl-MariaDB-meta.x86_64         10.11.10-1.el7 @System
cl-MariaDB-meta-client.x86_64  10.11.10-1.el7 @System
cl-MariaDB-meta-devel.x86_64   10.11.10-1.el7 @System
cl-MariaDB1011.x86_64		   10.11.10-1.el7 @System
cl-MariaDB1011-devel.x86_64    10.11.10-1.el7 @System
cl-MariaDB1011-libs.x86_64     10.11.10-1.el7 @System
cl-MariaDB1011-server.x86_64   10.11.10-1.el7 @System

After failed stage Update databases / action update modern mariadb installed from governor

cl-MariaDB-meta.x86_64 			10.11.6-2.module_el8.8.0+6721+3781f20e 		alma-cl-mysql-meta
cl-MariaDB-meta.x86_64 			10.11.7-1.module_el8.9.0+6751+eafd38b2 		alma-cl-mysql-meta
cl-MariaDB-meta.x86_64 			10.11.8-1.module_el8.9.0+6829+4bb021a7 		alma-cl-mysql-meta
cl-MariaDB-meta.x86_64 			10.11.9-1.module_el8.10.0+6854+d38aff05 	alma-cl-mysql-meta
cl-MariaDB-meta.x86_64 			10.11.9-2.module_el8.10.0+6861+11848e40 	alma-cl-mysql-meta
cl-MariaDB-meta.x86_64 			10.11.9-3.module_el8.10.0+6871+d9e2a33a 	alma-cl-mysql-meta
cl-MariaDB-meta.x86_64 			10.11.10-1.module_el8.10.0+6879+09281501 	alma-cl-mysql-meta
cl-MariaDB-meta-client.x86_64 	10.11.6-2.module_el8.8.0+6721+3781f20e 		alma-cl-mysql-meta
cl-MariaDB-meta-client.x86_64 	10.11.7-1.module_el8.9.0+6751+eafd38b2 		alma-cl-mysql-meta
cl-MariaDB-meta-client.x86_64 	10.11.8-1.module_el8.9.0+6829+4bb021a7 		alma-cl-mysql-meta
cl-MariaDB-meta-client.x86_64 	10.11.9-1.module_el8.10.0+6854+d38aff05 	alma-cl-mysql-meta
cl-MariaDB-meta-client.x86_64 	10.11.9-2.module_el8.10.0+6861+11848e40 	alma-cl-mysql-meta
cl-MariaDB-meta-client.x86_64 	10.11.9-3.module_el8.10.0+6871+d9e2a33a 	alma-cl-mysql-meta
cl-MariaDB-meta-client.x86_64 	10.11.10-1.module_el8.10.0+6879+09281501 	alma-cl-mysql-meta
cl-MariaDB-meta-devel.x86_64 	10.11.6-2.module_el8.8.0+6721+3781f20e 		alma-cl-mysql-meta
cl-MariaDB-meta-devel.x86_64 	10.11.7-1.module_el8.9.0+6751+eafd38b2 		alma-cl-mysql-meta
cl-MariaDB-meta-devel.x86_64 	10.11.8-1.module_el8.9.0+6829+4bb021a7 		alma-cl-mysql-meta
cl-MariaDB-meta-devel.x86_64 	10.11.9-1.module_el8.10.0+6854+d38aff05 	alma-cl-mysql-meta
cl-MariaDB-meta-devel.x86_64 	10.11.9-2.module_el8.10.0+6861+11848e40 	alma-cl-mysql-meta
cl-MariaDB-meta-devel.x86_64 	10.11.9-3.module_el8.10.0+6871+d9e2a33a 	alma-cl-mysql-meta
cl-MariaDB-meta-devel.x86_64 	10.11.10-1.module_el8.10.0+6879+09281501	alma-cl-mysql-meta

cloudlinux7to8_feedback.zip

@cloud86robb3rt cloud86robb3rt added the bug Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant