-
Notifications
You must be signed in to change notification settings - Fork 12
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
Force initilization after changing admin password #4
Comments
Hey Arnaud, I've tested this behaviour before and I can confirm that the following is working fine:
I've re-tested the same with different admin credentials, this is the diff against the current master:
And can confirm that this is working on ProxySQL 1.4.12 and 1.4.13. What's happening in the background (in a nutshell):
What is - indeed - problematic is a change of the admin credentials after the initial setup. |
I confirm it's working with proxysql_use_official_repo: False I forgot to mention, i edited your role to install proxysql from percona repo (the same way you do it for the official repo) So I believe there is a difference between installing the package with the URL or with a repo. With a repo (at least pecona, I haven't tested the official yet), proxysql is started just after its installation - hence the need for the workaround. |
It's also working with the installation from the official repositories ( It might be worth to adopt the Ansible code also to be able to install from a different- non official repository. |
Here is my code:
|
* Sorting out different installation & configuration handling if ProxySQL is getting installed from the Percona repsitory (see issue #4). * Adding the possibility to generate the configuration for the proxysql-admin-tool (https://github.com/percona/proxysql-admin-tool) from Percona.
Based on your code I've done some bigger changes which are released now in the 0.3.0 release. It should basically cover everything what you've been facing. It would be appreciated if you can take a look. :) |
Hi,
I want to deploy proxysql and change the admin password.
It is my understanding that it's currently impossible without stopping and running service proxysql initial manually before launching the playbook again.
Otherwise, the next steps fail with
The only workarounds I could find were:
cat /usr/sbin/policy-rc.d
Do you have any other idea?
Cheers,
Arnaud
The text was updated successfully, but these errors were encountered: