pt-stalk "--config" incorrect parsing
Bug #1449998 reported by
Emanuelis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
# strace -e open pt-stalk --config=
open("/
There are two bugs:
1. Documentation (http://
/etc/percona-
/etc/percona-
$HOME/.
$HOME/.$TOOL.conf
2. --config doesn't work with a "=" (see my example).
This unclarity/bug caused a crash of whole PXC cluster :(
pt-stalk 2.2.13
To post a comment you must log in.
Hi,
For 1, there is already mentioned in documentation that where default config files can be. Check this /www.percona. com/doc/ percona- toolkit/ 2.2/configurati on_files. html#read- order
https:/
For 2, Unable to reproduce the error. Can you try to check with later version 2.2.14? Also is it possible for you to provide test case?
nilnandan@ desktop: ~$ sudo pt-stalk --no-stalk --iterations=2 --sleep=30 --config= /home/nilnandan /.my.cnf --dest= /home/nilnandan Threads_ running --threshold=25 --match= --cycles=0 --interval=1 --iterations=2 --run-time=30 --sleep=30 --dest= /home/nilnandan --prefix= --notify-by-email= --log=/ var/log/ pt-stalk. log --pid=/ var/run/ pt-stalk. pid --plugin= desktop: ~$ desktop: ~$ pt-stalk --version desktop: ~$
2015_06_09_14_12_10 Starting /usr/bin/pt-stalk --function=status --variable=
2015_06_09_14_12_10 Not stalking; collect triggered immediately
2015_06_09_14_12_10 Collect 1 triggered
2015_06_09_14_12_10 Collect 1 PID 24848
2015_06_09_14_14_01 Collect 1 done
2015_06_09_14_14_01 Sleeping 30 seconds after collect
2015_06_09_14_14_31 Not stalking; collect triggered immediately
2015_06_09_14_14_31 Collect 2 triggered
2015_06_09_14_14_31 Collect 2 PID 16965
2015_06_09_14_14_31 Collect 2 done
2015_06_09_14_14_31 Waiting up to 90 seconds for subprocesses to finish...
2015_06_09_14_15_02 Exiting because no more iterations
2015_06_09_14_15_02 /usr/bin/pt-stalk exit status 0
nilnandan@
nilnandan@
pt-stalk 2.2.14
nilnandan@