neutron-ovn-tempest-ovs-master-fedora failing 100% of the time since 12/13/2021
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Miguel Lavalle |
Bug Description
Job neutron-
2021-12-31 03:01:18.052 | + lib/databases/
2021-12-31 03:01:18.118 | mysqladmin: [Warning] Using a password on the command line interface can be insecure.
2021-12-31 03:01:18.118 | Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety.
2021-12-31 03:01:18.118 | mysqladmin: unable to change password; error: 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '() IDENTIFIED BY 'secretdatabase'' at line 1'
which in turn leads to the following failure:
2021-12-31 03:01:18.140 | + lib/databases/
2021-12-31 03:01:18.200 | mysql: [Warning] Using a password on the command line interface can be insecure.
2021-12-31 03:01:18.204 | ERROR 1698 (28000): Access denied for user 'root'@'localhost'
2021-12-31 03:01:18.209 | + lib/databases/
This terminates the execution of devstack/stack.sh
This job currently runs on Fedora 34
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Miguel Lavalle (minsel) |
I am able to reproduce this failure in a local vm. After further investigation, I determined that for command:
sudo mysqladmin -u root password secretdatabase
to execute successfully, the following link must exist:
$ ls -l /usr/bin/mysqladmin
lrwxrwxrwx. 1 root root 13 Dec 2 13:44 /usr/bin/mysqladmin -> mariadb-admin
However, community-mysql is a dependency of mariadb- devel/server:
dnf deplist mariadb-server | grep mysql
.....
dependency: (mysql-selinux if selinux- policy- targeted) 1.0.4-2. fc34.noarch mysql-8. 0.27-1. fc34.x86_ 64 client( x86-64) mysql-8. 0.27-1. fc34.x86_ 64 policy- targeted) 1.0.4-2. fc34.noarch mysql-8. 0.27-1. fc34.x86_ 64 client( x86-64) mysql-8. 0.27-1. fc34.x86_ 64
provider: mysql-selinux-
dependency: mysql(x86-64)
provider: community-
dependency: mysql-compat-
provider: community-
dependency: (mysql-selinux if selinux-
provider: mysql-selinux-
dependency: mysql(x86-64)
provider: community-
dependency: mysql-compat-
provider: community-
......
This causes a clash that prevents mariadb-admin from being installed and mysqladmin is installed from mysql community as follows:
$ ls /usr/bin/mysqladmin -l
-rwxr-xr-x. 1 root root 6738168 Nov 1 01:52 /usr/bin/mysqladmin
I initiated a thread in the mariadb mailing list: https:/ /lists. launchpad. net/maria- discuss/ msg06179. html. There is a bug that describes this situation: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=2026933
The recommended work around from the mariadb mailing list is to explicitly install the "mariadb" package