clustercontrol setup failing on sudo
Running into this sudo issue.
The test1 user had ssh key access to the galera DB server and has password based sudo, I provided the password in the interface for setup as well. What is going wrong here?
68: Password error (sudo with user 'test1') on host 10.10.5.72: sudo error, retval: 1, output: '[sudo] password for test1: Sorry, try again. [sudo] password for test1: sudo: 1 incorrect password attempt'
67: Testing SUDO on 10.10.5.72.
66: Testing SSH to 10.10.5.72.
65: Verifying SSH connection and SUDO on (all) the nodes.
64: Checking the nodes that those aren't in another cluster.
63: Found in total 4 nodes.
62: Found node: '10.10.6.71'
61: Found node: '10.10.6.72'
60: Found node: '10.10.5.71'
59: Found node: '10.10.5.72'
58: db1.example.com: Getting node list from the MySQL server.
57: db1.example.com: monitored_mysql_root_password is not set, please set it later the generated cmon.cnf
56: db1.example.com: Verifying the MySQL user/password.
55: Using sudo_password.
54: Verifying SUDO on db1.example.com
53: Verifying the SSH connection to db1.example.com.
52: Verifying job parameters.
51: Verifying the SSH access to the controller.
50: Verifying controller host and cmon password.
49: Message sent to controller
At first glance, it looks like incorrect password attempt.
On ClusterControl node, as user test1, please send the output of following command:
ssh -t -vvv email@example.com "echo 'yoursudopassword' | sudo -S 2>/dev/null ls -al /usr"
*if you use non-default SSH key, please append -i <yourkey> right after -vvv. Warning, the output will contain sensitive information and here is public forum. If you mind, you can submit a support ticket to us.
Please sign in to leave a comment.