Daniel Nichter
|
f6f121ca82
|
Make init_agent() stop on 403 (too many agents).
|
2013-09-23 11:55:27 -07:00 |
|
Daniel Nichter
|
53d494ad0b
|
Fix service name in logger.
|
2013-09-19 15:09:25 -07:00 |
|
Daniel Nichter
|
25024149be
|
Make init_agent() tries required. Load service earlier in send_data() and run_service(). Fix init_agent.t.
|
2013-09-19 14:53:31 -07:00 |
|
Daniel Nichter
|
a5259a8c77
|
More changes to agent logging.
|
2013-09-19 13:46:20 -07:00 |
|
Daniel Nichter
|
82169b771c
|
More reduction of agent logging.
|
2013-09-19 13:25:20 -07:00 |
|
Daniel Nichter
|
841c39794c
|
Silence a few more log entries.
|
2013-09-19 12:42:32 -07:00 |
|
Daniel Nichter
|
dd5b2fb449
|
Make Percona::Agent::Logger::debug() offline (--no-log-api) only. Change most info() to debug() to reduce agent's verbosity.
|
2013-09-19 11:33:33 -07:00 |
|
Daniel Nichter
|
11d459b342
|
Don't warn inside get_api_client() run_service() doesn't have false-positive non-zero exit.
|
2013-09-18 21:36:12 -07:00 |
|
Daniel Nichter
|
95f50fc0d8
|
Make run_service() work even if there's no API client/connection.
|
2013-09-18 21:25:00 -07:00 |
|
Daniel Nichter
|
f87a0739ac
|
Update Client in pt-agent to handle pong.
|
2013-09-18 21:07:05 -07:00 |
|
Daniel Nichter
|
9b47d94c87
|
Handle pong.
|
2013-09-18 21:05:48 -07:00 |
|
Daniel Nichter
|
2962bbe71e
|
Fix ping_api(): don't clobber // in http://.
|
2013-09-18 20:56:04 -07:00 |
|
Daniel Nichter
|
488b5de0b7
|
HEAD /agents doesn't work because app has /agents link. Use GET /ping instead.
|
2013-09-18 20:37:09 -07:00 |
|
Daniel Nichter
|
d6a46cfd33
|
Stop agent on 404 only if GET /agents is ok, in case API is down/broken for awhile and 404 is happening for everything.
|
2013-09-18 20:00:52 -07:00 |
|
Daniel Nichter
|
9d79ca4683
|
Check for $success from start_agent(), die if not. Make tries/interval explicit and limited to 1 day.
|
2013-09-18 19:06:11 -07:00 |
|
Daniel Nichter
|
77bd4f9edc
|
Don't crash if init_agent() fails.
|
2013-09-18 18:50:56 -07:00 |
|
Daniel Nichter
|
cad211426c
|
Make log about file logging only info not warning.
|
2013-09-18 16:06:36 -07:00 |
|
Daniel Nichter
|
55621e587c
|
Stop agent on 404 while running. Add --[no]agent-api so stop_all_services() works offline. Update sample with histo data again.
|
2013-09-18 15:59:30 -07:00 |
|
Daniel Nichter
|
2e313de07d
|
Fix the 404 agent not found error msg.
|
2013-09-18 15:34:35 -07:00 |
|
Daniel Nichter
|
0f27bd1e26
|
Stop running pt-agent if init_agent() gets 404.
|
2013-09-18 15:32:28 -07:00 |
|
Daniel Nichter
|
3ebd66b8e9
|
Always create in pt-agent even if not --daemonize to avoid crash. Update test result with new histogram data.
|
2013-09-18 14:05:48 -07:00 |
|
Daniel Nichter
|
bf6500bf36
|
Merge pt-agent-uninstall.
|
2013-09-17 12:30:32 -07:00 |
|
Daniel Nichter
|
ed6c18b6bc
|
Add --uninstall.
|
2013-09-17 19:27:45 +00:00 |
|
Daniel Nichter
|
2ce400b778
|
Merge fix-pt-agent-lwp-bug-1226721.
|
2013-09-17 10:54:30 -07:00 |
|
Daniel Nichter
|
5ca02ee2e5
|
Require LWP v5.813 or newer to install or run.
|
2013-09-17 17:41:57 +00:00 |
|
Daniel Nichter
|
01304da9be
|
Merge pqd-json-with-histograms.
|
2013-08-16 18:26:50 -07:00 |
|
Daniel Nichter
|
c3ff530037
|
Add Query_time histogram to json output.
|
2013-08-16 18:21:57 -07:00 |
|
Daniel Nichter
|
4fcb52f678
|
Merge fix-pt-kill-daemon-bug (bug 1209436).
|
2013-08-13 17:36:01 -07:00 |
|
Daniel Nichter
|
184c7507e4
|
Merge fix-pt-archiver-dry-run-bug-1199589 and make 2.2.4 release dates in Changelog and release_notes.pod match.
|
2013-08-13 14:17:28 -07:00 |
|
Daniel Nichter
|
5f4891c795
|
Remove debug stuff from pt-stalk.t
|
2013-08-12 20:45:38 -07:00 |
|
Daniel Nichter
|
b54b4adb92
|
Use defaults-file in test config file to simulate user's setup.
|
2013-08-12 14:33:51 -07:00 |
|
Daniel Nichter
|
9d4f23fe53
|
Move --log-dsn tests from kill.t to log_dsn.t. Pass actual dsn, not retval of get_cxn_params() to Cxn. Add Sandbox::get_cnf().
|
2013-08-12 14:19:57 -07:00 |
|
Daniel Nichter
|
c596331280
|
Move --log-dsn vars to outter scope to fix the rare Perl 5.8 scope-closure bug.
|
2013-08-12 09:11:53 -07:00 |
|
Daniel Nichter
|
4f60e0721a
|
Merge latest.
|
2013-08-10 19:48:36 -07:00 |
|
Daniel Nichter
|
6e36a344fe
|
Fix fix-daemon-tests.
|
2013-08-10 19:45:37 -07:00 |
|
Daniel Nichter
|
733104d648
|
Restore sandbox/jenkins-test.
|
2013-08-10 19:42:09 -07:00 |
|
Daniel Nichter
|
b966a0f4a3
|
Use ps xww because w isn't wide enough on deb with long jenkins paths.
|
2013-08-10 19:38:34 -07:00 |
|
Daniel Nichter
|
fe0e2f21c0
|
Add some more debug info for the deb6 failure.
|
2013-08-10 19:33:37 -07:00 |
|
Daniel Nichter
|
368dde58f1
|
Create log file too to help avoid race conditions because it's created only by the child.
|
2013-08-10 19:26:19 -07:00 |
|
Daniel Nichter
|
2b747d7ee3
|
Just run test 3 times.
|
2013-08-10 19:17:21 -07:00 |
|
Daniel Nichter
|
299a61417a
|
Use get_cmd_pid() again to avoid race condition.
|
2013-08-10 19:09:31 -07:00 |
|
Daniel Nichter
|
3c45ce2eb3
|
Use get_cmd_pid() instead of slurping pid file because there's a race condition in pid file creation for which pid it contains (parent's or child's).
|
2013-08-10 19:02:32 -07:00 |
|
Daniel Nichter
|
5239779066
|
Add more debug info for 'Cannot find fd 0 symlink' failure.
|
2013-08-10 08:53:08 -07:00 |
|
Daniel Nichter
|
8ec7ccdbe7
|
Stabilize t/lib/Daemon.t. Add PerconaTest::get_cmd_pid().
|
2013-08-10 08:27:09 -07:00 |
|
Daniel Nichter
|
a6dc5a91ec
|
Read opts file in perl instead of 'cat file | perl' to avoid occasional 'cat: write error: Broken pipe'.
|
2013-08-09 21:21:55 +00:00 |
|
Daniel Nichter
|
a87b62b494
|
Test debug.
|
2013-08-09 20:27:07 +00:00 |
|
Daniel Nichter
|
fdb9f5f291
|
Test debug.
|
2013-08-09 20:24:14 +00:00 |
|
Daniel Nichter
|
4babbc703c
|
Test debug.
|
2013-08-09 20:20:19 +00:00 |
|
Daniel Nichter
|
732a5b90f4
|
Test debug.
|
2013-08-09 20:09:48 +00:00 |
|
Daniel Nichter
|
8a959cb6ad
|
Test debug.
|
2013-08-09 20:04:25 +00:00 |
|