codership / galera-manager-support

Galera Manager Support Repository
7 stars 2 forks source link

Cannot deploy to cluster node - failed to execute cluster config script #64

Closed dcorrigangoempyrean closed 1 year ago

dcorrigangoempyrean commented 1 year ago

I'm trying to deploy to a cluster node running Ubuntu 22.04, Galera 4 and MySQL 8

Jul 25, 2023 19:27:01 | galera-manager | Got an error and attepts = 0 Jul 25, 2023 19:27:01 | galera-manager | failed to execute cluster config script (RunScriptWithConn): command failed (stepName=__step_no_001, commandId=1, commandType=IncludeCommand): command failed (stepName=import_influxdata_gpg, commandId=10, commandType=ExecCommand): Process exited with status 2 Jul 25, 2023 19:27:01 | galera-manager | root@node1# echo -n "test" Jul 25, 2023 19:27:01 | stdout | test Jul 25, 2023 19:27:01 | galera-manager | Saving Galera Manager node data

msg: failed to execute cluster config script (RunScriptWithConn) stackTrace:

I was able to deploy to another cluster with some issues, but same OS and Galera, MySQL versions. Essentially no difference.

How can I get more detail on what is actually failing and why ?

adnaniz commented 1 year ago

I have the same issue..

Jul 25, 2023 19:27:01 | galera-manager | Got an error and attepts = 0 Jul 25, 2023 19:27:01 | galera-manager | failed to execute cluster config script (RunScriptWithConn): command failed (stepName=__step_no_001, commandId=1, commandType=IncludeCommand): command failed (stepName=import_influxdata_gpg, commandId=10, commandType=ExecCommand): Process exited with status 2 Jul 25, 2023 19:27:01 | galera-manager | root@node1# echo -n "test" Jul 25, 2023 19:27:01 | stdout | test Jul 25, 2023 19:27:01 | galera-manager | Saving Galera Manager node data

how to solve the issue..

dcorrigangoempyrean commented 1 year ago

Did you retry? Every single time I added a node, I had to do it twice.

Also, if I tried to install galera-manager ahead of time, it screwed everything up and the deployment would never finish. I ultimately abandoned use of the product. It's not mature enough for a prime time solution. I was able to collect all of the same statistics through Zabbix anyway. The only advantage GM has is cluster control, which I don't really need.