Commit Graph

587 Commits

Author SHA1 Message Date
Diptanu Choudhury
5b652bcfd8 Renaming the SyncWithConsul method 2016-03-23 18:13:13 -07:00
Diptanu Choudhury
5918e99089 Fixing log and statements 2016-03-23 18:08:32 -07:00
Diptanu Choudhury
1f6137aba5 Using the name of the task and the alloc id in the service name 2016-03-23 17:35:29 -07:00
Diptanu Choudhury
5b6714cf53 Re-syncing task when it's updated 2016-03-23 14:34:43 -07:00
Diptanu Choudhury
715c59f806 Syncing consul periodically 2016-03-23 14:27:49 -07:00
Diptanu Choudhury
a69649688d Handling errors during service and check registration 2016-03-23 14:23:32 -07:00
Diptanu Choudhury
701a1bd9bc Hooking up the executor in all drivers 2016-03-23 13:19:45 -07:00
Diptanu Choudhury
5568258d0a Making the docker driver register services and checks 2016-03-23 12:59:22 -07:00
Diptanu Choudhury
9a71225b9e Removing references to old consul services and adding consul config to executor context 2016-03-23 12:19:19 -07:00
Diptanu Choudhury
c86d38360a Making the calls to exit idempotent 2016-03-22 11:49:56 -07:00
Diptanu Choudhury
e7dfb896ff Merge branch 'master' of github.com:hashicorp/nomad 2016-03-21 17:45:13 -07:00
Diptanu Choudhury
4e1c1dd168 Fixed the qemu driver tests 2016-03-21 17:44:37 -07:00
Alex Dadgar
63e172747a Reduce verbosity of alloc-status 2016-03-20 16:52:24 -07:00
Alex Dadgar
a55b4fcdaa Merge branch 'master' into f-artifact-location 2016-03-19 12:50:44 -07:00
Alex Dadgar
74ad85e33d binary lookup path 2016-03-19 12:18:10 -07:00
Abhishek Chanda
18d5febe41 Fix missing import 2016-03-18 23:00:34 -07:00
Diptanu Choudhury
c242f3dbf9 Merge pull request #932 from hashicorp/unified-executor
Unified executor
2016-03-18 15:04:48 -07:00
Diptanu Choudhury
f366e2970c Added some comments 2016-03-18 15:04:15 -07:00
Diptanu Choudhury
d61ae3ad04 Removing all the destroy logic from wait and calling exit after wait on all drivers 2016-03-18 12:04:11 -07:00
Diptanu Choudhury
3bb4849a2d Destroying the plugin if kill wasn't successful 2016-03-18 11:53:25 -07:00
Diptanu Choudhury
0f355e8f87 Introduced a method in executor to launch syslog server 2016-03-18 11:49:10 -07:00
Brian Lalor
f7023a3502 Remove unnecessary --interactive flag
Per @achanda, this was added [accidentally](b92546a9c5 (commitcomment-16750062)).
2016-03-17 13:22:49 -04:00
Alex Dadgar
23de2f95a4 document artifact downloading 2016-03-16 09:56:04 -07:00
Alex Dadgar
a70820d7ca Respond to comments and fix test 2016-03-15 20:21:52 -07:00
Alex Dadgar
2db5b298aa Make user specified tasks executable 2016-03-15 19:22:40 -07:00
Alex Dadgar
4c1be8e637 Get tests to pass 2016-03-15 13:28:57 -07:00
Alex Dadgar
bdc7fdebe1 Download artifacts and remove old code for drivers 2016-03-15 13:28:57 -07:00
Alex Dadgar
923618c1ac executor: add /run/resolvconf to chroot 2016-03-10 15:05:49 -08:00
Alex Dadgar
0e25872895 fmt rkt test 2016-03-10 14:56:43 -08:00
Diptanu Choudhury
cfc795fc3f Merge pull request #897 from hashicorp/syslog-addr
Using unix domain sockets for docker syslog collector
2016-03-10 11:49:21 -08:00
Alex Dadgar
e0283ab273 Merge pull request #892 from achanda/rkt_dns
Enable passing DNS info to the rkt driver
2016-03-10 08:54:26 -08:00
Diptanu Choudhury
8e13eaa522 Using unix domain sockets for docker syslog collector 2016-03-09 23:28:26 -08:00
Diptanu Choudhury
247dea0235 Merge pull request #896 from hashicorp/f-task-instance
Add allocation index environment variable
2016-03-09 18:34:32 -08:00
Diptanu Choudhury
024033475d Merge pull request #878 from hashicorp/b-kill-timeout-update
client: Updating kill timeout adheres to operator specified maximum
2016-03-09 18:33:40 -08:00
Alex Dadgar
495d0e6dc2 Add allocation index environment variable 2016-03-09 18:09:51 -08:00
Abhishek Chanda
f19fb4a374 Enable passing DNS info to the rkt driver 2016-03-08 18:59:11 -08:00
Diptanu Choudhury
fa6707ae5c Making the docker fingerprinter periodic 2016-03-08 12:02:55 -08:00
Alex Dadgar
3040c4dab2 Fix test 2016-03-08 11:41:26 -08:00
Erik Evenson
d1f28431c4 moves transform to Init() 2016-03-06 19:00:40 -06:00
Erik Evenson
5859c95df8 Merge branch 'master' into study/aws-ecr-1 2016-03-06 18:18:20 -06:00
Alex Dadgar
022b6dd528 Fix bug introduced with paused nack timers 2016-03-04 16:17:14 -08:00
Alex Dadgar
6ef841bc34 Updating kill timeout adheres to operator specified maximum 2016-03-03 09:21:21 -08:00
Diptanu Choudhury
225ed95446 Merge pull request #768 from achanda/b-rkt
A number of rkt fixes
2016-03-02 21:29:48 -08:00
Alex Dadgar
4a243e78d3 Add /sbin and /usr/sbin/ to chroot 2016-03-02 16:32:31 -08:00
Alex Dadgar
76856961af Killing a docker container that is dead is not an error 2016-03-02 16:27:01 -08:00
Abhishek Chanda
d8d62aaddf Fix location of volume mount
Also add a test for mounting alloc dirs
2016-03-02 14:04:14 -08:00
Abhishek Chanda
253f32e541 Use NewWaitResult in the wait channel 2016-03-02 14:04:14 -08:00
Abhishek Chanda
54b9727317 Set allocDir in handle 2016-03-02 14:04:14 -08:00
Abhishek Chanda
b92546a9c5 Run rkt interactively 2016-03-02 14:04:14 -08:00
Abhishek Chanda
5419603bb4 Cleanup if the plugin executor crashes. 2016-03-02 14:04:14 -08:00