Commit Graph

947 Commits

Author SHA1 Message Date
Diptanu Choudhury
ef8032e626 Fixed tests 2016-02-11 17:34:46 -08:00
Diptanu Choudhury
79de9d1618 Merge pull request #763 from hashicorp/f-logrotator
Implemented log rotation for drivers
2016-02-11 15:02:39 -08:00
Diptanu Choudhury
26d308dcb8 Fixed an issue with purge 2016-02-11 14:44:35 -08:00
Diptanu Choudhury
961abeef50 Fixed more client executor tests 2016-02-11 11:13:45 -08:00
Alex Dadgar
27984d84be Merge pull request #789 from hashicorp/f-client-races
Remove data races in the client
2016-02-11 11:07:49 -08:00
Diptanu Choudhury
95284307c5 Fixed the executor test 2016-02-11 10:58:18 -08:00
Diptanu Choudhury
38ec33c508 Fixed some tests 2016-02-11 10:42:56 -08:00
Alex Dadgar
c242612a2f Merge pull request #775 from hashicorp/d-interpreted-vars
Documentation for interpreted variables
2016-02-11 08:40:31 -08:00
Alex Dadgar
f408679a98 Unlock in error path 2016-02-11 08:38:16 -08:00
Alex Dadgar
66c7243372 Initialize the config copy after client init 2016-02-10 19:01:57 -08:00
Diptanu Choudhury
6c27ae6b91 Renamed the syslog package to logcollector 2016-02-10 18:47:46 -08:00
Alex Dadgar
48de53aed1 Strip as much copystructure as possible 2016-02-10 17:54:43 -08:00
Diptanu Choudhury
1d79ba7a18 Added a test to check if file size update catches up with rotation 2016-02-10 17:34:14 -08:00
Diptanu Choudhury
002dee9b3e Handling errors when client can't re-attach to syslog collector 2016-02-10 16:40:36 -08:00
Diptanu Choudhury
c08f9d7731 Changed the logic of the logrotator to make updates easier 2016-02-10 16:13:13 -08:00
Diptanu Choudhury
97ece8595e Sharing the isolationconfig of syslog collector with executor 2016-02-10 15:27:40 -08:00
Diptanu Choudhury
c6daed2c00 Added some comments 2016-02-10 15:23:25 -08:00
Diptanu Choudhury
dc25fd42d6 Updating log configs 2016-02-10 15:04:41 -08:00
Diptanu Choudhury
f04b945a35 Stripping hostname, timestamps etc from docker syslog messages 2016-02-10 14:40:26 -08:00
Alex Dadgar
08d32d86cf Slightly less node copying 2016-02-10 14:09:23 -08:00
Diptanu Choudhury
d94c28b39c Fixed more tests 2016-02-10 13:54:54 -08:00
Alex Dadgar
5b3792a509 safe but slow 2016-02-10 13:44:53 -08:00
Diptanu Choudhury
ffd2bc59a1 Fixed docker tests 2016-02-10 13:29:06 -08:00
Diptanu Choudhury
e2768f49a3 Fixed the docker handle id test 2016-02-10 13:18:10 -08:00
Diptanu Choudhury
9f26b7606c Parsing the severity of the log lines 2016-02-10 12:09:07 -08:00
Diptanu Choudhury
045a653bb0 Adding newlines to loglines 2016-02-10 10:18:14 -08:00
Diptanu Choudhury
93d283c3a2 Updated comments 2016-02-10 08:13:08 -08:00
Diptanu Choudhury
55730424af Simplified the logic of conversion of interface{} to byte array 2016-02-10 08:03:31 -08:00
Diptanu Choudhury
4963026eab Writing log lines from docker to files 2016-02-10 07:52:15 -08:00
Alex Dadgar
c946c5e14b Fix concurrent r/w to heartbeat time 2016-02-09 22:43:16 -08:00
Alex Dadgar
79f5dd2380 Make fingerprinting thread safe 2016-02-09 22:14:24 -08:00
Diptanu Choudhury
7eedcbfcf6 Starting the syslog collector along with a docker container 2016-02-09 18:24:30 -08:00
Diptanu Choudhury
a92a96336c Renamed the ExecutorPluginConfig 2016-02-09 12:59:05 -08:00
Diptanu Choudhury
752021c90f Merge branch 'master' into f-logrotator 2016-02-09 12:50:46 -08:00
Diptanu Choudhury
30d6688e75 Removed unused imports in test 2016-02-09 12:31:14 -08:00
Diptanu Choudhury
dcecb95130 Merge branch 'master' into f-logrotator 2016-02-09 12:25:44 -08:00
Diptanu Choudhury
c8ac49bc91 Removing the killing executor pid tests 2016-02-09 11:29:02 -08:00
Diptanu Choudhury
e6fcd0ec20 Removing taskDir from the exechandle 2016-02-09 10:21:47 -08:00
Diptanu Choudhury
ed26cb56cc Merge branch 'r-executor-plugin' of github.com:hashicorp/nomad into r-executor-plugin 2016-02-09 10:17:44 -08:00
Diptanu Choudhury
a97181157c Killing the userpid if the plugin is killed while the client is running 2016-02-09 10:17:33 -08:00
Alex Dadgar
279f095a7d Don't error killing exited process 2016-02-09 10:00:42 -08:00
Alex Dadgar
f2efece810 more time 2016-02-09 09:43:40 -08:00
Alex Dadgar
ccaf000fd6 Fix min duration 2016-02-08 19:46:46 -08:00
Alex Dadgar
e696c7eef7 Fix timeouts between signal and kill 2016-02-08 19:31:57 -08:00
Diptanu Choudhury
0dcdaf50af Fixed a test 2016-02-08 19:00:26 -08:00
Alex Dadgar
1a31340075 Unmount special directories when task finishes 2016-02-08 18:51:11 -08:00
Diptanu Choudhury
8b2f94ff6f Added a test for merge 2016-02-08 16:27:31 -08:00
Diptanu Choudhury
cc6e2b73f0 Moved the destroycgroup method into executor 2016-02-08 16:08:29 -08:00
Diptanu Choudhury
7dd3eec684 removing the prefix of the logger 2016-02-08 15:07:18 -08:00
Diptanu Choudhury
fbc3279da9 Appending names of sub-system before log lines 2016-02-08 14:47:10 -08:00