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

Install role need some maintenance #90

Closed
markuman opened this issue Feb 11, 2022 · 3 comments
Closed

Install role need some maintenance #90

markuman opened this issue Feb 11, 2022 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@markuman
Copy link
Member

Futhermore the role runs in sevaral errors on both, ubuntu 20.04 (focal) and 18.04 (bionic)

---
- hosts: localhost
  become: yes
  roles:
    - proxysql

bump version

it depends on percona repository and 2.0.10 is not available anymore.

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failure downloading https://github.com/sysown/proxysql/releases/download/v2.0.10/proxysql_2.0.10-ubuntu20_amd64.deb, HTTP Error 404: Not Found"}

alternatively, fetch packages from releases https://github.com/sysown/proxysql ?

lack of permissions

somewhere a become: yes is missing

TASK [proxysql : proxysql | config | copy proxysql config] **********************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "checksum": "4695d525ec65790820423a3051bd8fb8e5419675", "msg": "Destination /etc not writable"}

undefined variables

there are three undefined variables using proxysql_version: 2.3.2

failed: [localhost] (item={'key': 'default_sql_mode', 'value': {'variable': 'default_sql_mode', 'variable_value': None}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "default_sql_mode", "value": {"variable": "default_sql_mode", "variable_value": null}}, "msg": "The variable \"mysql-default_sql_mode\" was not found"}
failed: [localhost] (item={'key': 'default_time_zone', 'value': {'variable': 'default_time_zone', 'variable_value': 'SYSTEM'}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "default_time_zone", "value": {"variable": "default_time_zone", "variable_value": "SYSTEM"}}, "msg": "The variable \"mysql-default_time_zone\" was not found"}
failed: [localhost] (item={'key': 'forward_autocommit', 'value': {'variable': 'forward_autocommit', 'variable_value': 'false'}}) => {"ansible_loop_var": "item", "changed": false, "item": {"key": "forward_autocommit", "value": {"variable": "forward_autocommit", "variable_value": "false"}}, "msg": "The variable \"mysql-forward_autocommit\" was not found"}
@markuman
Copy link
Member Author

@mrpk1906 do you have some time to help here and clean up the installation issues?

@markuman markuman added bug Something isn't working help wanted Extra attention is needed labels Feb 11, 2022
@Andersson007
Copy link
Contributor

cc @mrpk1906 ^

@markuman
Copy link
Member Author

Closed by #92
Thanks @mrpk1906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants