Closed glbyers closed 6 months ago
Version as returned by proxysql;
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.5.30 (ProxySQL Admin Module)
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select version();
+-----------+
| version() |
+-----------+
| 2.4.8 |
+-----------+
1 row in set (0.00 sec)
@glbyers thanks for reporting the issue! fyi working on it
SUMMARY
The proxysql version() suffix isn't standard, but plugins/module_utils/mysql.py expects it to exist. ie;
If no suffix exists, this results in an exception
ISSUE TYPE
COMPONENT NAME
plugins/module_utils/mysql.py
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
RHEL9
STEPS TO REPRODUCE
Install proxysql on a rhel9 (rocky9, alma9) system from the epel repo & attempt to use the community.proxysql.proxysql role to manage config.
EXPECTED RESULTS
proxysql modules run to completion.
ACTUAL RESULTS
Using any of the modules that rely on community/proxysql/plugins/module_utils/mysql.py result in the following exception;