Page MenuHomePhabricator
Paste P11181

pt-heartbeat puppet failure after reinstall
ArchivedPublic

Authored by Kormat on May 12 2020, 12:22 PM.
Tags
None
Referenced Files
F31814113: raw.txt
May 12 2020, 12:22 PM
Subscribers
None
May 12 12:01:40 pc2010 puppet-agent[8551]: (/Stage[main]/Mariadb::Heartbeat/Exec[pt-heartbeat]/returns) DBI connect('heartbeat;mysql_read_default_file=/dev/null;host=localhost;mysql_socket=/run/mysqld/mysqld.sock;mysql_read_default_group=client','root',...) failed: Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2) at /usr/local/bin/pt-heartbeat-wikimedia line 2137.
May 12 12:01:40 pc2010 puppet-agent[8551]: '/usr/bin/perl /usr/local/bin/pt-heartbeat-wikimedia --defaults-file=/dev/null --user=root --host=localhost -D heartbeat --shard=pc1 --datacenter=codfw --update --replace --interval=1 --set-vars="binlog_format=STATEMENT" -S /run/mysqld/mysqld.sock --daemonize --pid /var/run/pt-heartbeat.pid' returned 2 instead of one of [0]
May 12 12:01:40 pc2010 puppet-agent[8551]: (/Stage[main]/Mariadb::Heartbeat/Exec[pt-heartbeat]/returns) change from 'notrun' to ['0'] failed: '/usr/bin/perl /usr/local/bin/pt-heartbeat-wikimedia --defaults-file=/dev/null --user=root --host=localhost -D heartbeat --shard=pc1 --datacenter=codfw --update --replace --interval=1 --set-vars="binlog_format=STATEMENT" -S /run/mysqld/mysqld.sock --daemonize --pid /var/run/pt-heartbeat.pid' returned 2 instead of one of [0]