Commit Graph

930 Commits

Author SHA1 Message Date
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
Diptanu Choudhury
d94c28b39c Fixed more tests 2016-02-10 13:54:54 -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
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
Diptanu Choudhury
de4417d8d8 Removing pathExists from executor 2016-02-08 14:40:54 -08:00
Diptanu Choudhury
25d456a8ce Unmounting dev and proc when open can't reconnect with the plugin process 2016-02-08 14:31:03 -08:00
Diptanu Choudhury
747d3202ca Moving code to mount and unmount chroot into allocdir 2016-02-08 14:11:53 -08:00
Diptanu Choudhury
41447a0d7c Extracted the cgroup info into isolation struct 2016-02-08 13:48:26 -08:00
Diptanu Choudhury
70f7b2d70f Setting defaults for client max and min port 2016-02-08 13:29:53 -08:00
Diptanu Choudhury
9b2e117f68 Making the plugin server return the same instance of executor rpc server 2016-02-08 11:56:48 -08:00
Diptanu Choudhury
9a6da514e1 Fixed merge conflicts 2016-02-08 10:24:27 -08:00
Diptanu Choudhury
4a01bd8bcd Implemented the UpdateLogConfig method 2016-02-08 10:10:01 -08:00
Diptanu Choudhury
d7a772c52b Destroying the cgroup if we can't to executor in exec and java drivers 2016-02-08 10:05:39 -08:00
Diptanu Choudhury
2efdd83636 Using net.IsLoopback to determine if ifc is a loopback device 2016-02-08 07:57:31 -08:00
Diptanu Choudhury
b1b57d20b0 Isolating the plugin process from the nomad client 2016-02-07 22:33:48 -05:00
Diptanu Choudhury
f7f7cc9b95 Fixed merged conflict 2016-02-07 17:58:31 -05:00
Diptanu Choudhury
e039d1dd23 Merge pull request #773 from hashicorp/docker-auth
Reading dockercfg files for authenticating with private registries
2016-02-06 18:03:39 -08:00
Alex Dadgar
e8f88d332a Precise registration 2016-02-06 17:08:20 -08:00
Alex Dadgar
b290b8ef79 Update the consul service when the task/alloc changes 2016-02-06 17:08:20 -08:00
Diptanu Choudhury
c4fd236026 Updated the docker auth config 2016-02-06 05:47:56 -08:00