Commit Graph

849 Commits

Author SHA1 Message Date
Diptanu Choudhury
dbfe40798f Fixed the kill test 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
bc3ade3be9 Fixed creation of the command args 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
797d9b8c47 Fixed the wait rpc server 2016-02-04 17:00:40 -08:00
Diptanu Choudhury
fe662ea648 Fixed a test related to wait 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
fedf3c791b Fixed a test 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
837b462f5c Fixed a comment 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
0a92842162 Fixed the rpc server 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
f1e2644623 Removed executor and spawn daemon 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
68d0848998 Moved qemu to executor plugin 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
8d24ddc296 Moving the java executor to the executor plugin 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
560cafbddd Enabling logs and killing the plugin if we couldn't start the job 2016-02-04 17:00:39 -08:00
Diptanu Choudhury
0fca2b8ee1 Making the wait asynchronous 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
d6c17424cc Turning on isolation for exec 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
f67a237361 Introduced the flag for the user 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
ed72a67ee0 Creating the universal executor 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
9b82079754 Killing the plugin after wait returns 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
cca3f5f1bc Limiting resources on a process 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
81d46cd157 Fixed the path to the log files 2016-02-04 17:00:38 -08:00
Diptanu Choudhury
c8a17597db Implemented the exec functioanlity for linux 2016-02-04 17:00:37 -08:00
Diptanu Choudhury
b53cf69448 Using the plugin to spawn processes from the raw_exec driver 2016-02-04 17:00:37 -08:00
Diptanu Choudhury
dbb3570d59 Fixed the executor command 2016-02-04 17:00:37 -08:00
Diptanu Choudhury
d0f53c8586 Using a plugin to create the executor 2016-02-04 17:00:37 -08:00
Alex Dadgar
3308841098 Serialize the list of mounted entries in the alloc dir 2016-02-04 14:30:32 -08:00
Alex Dadgar
fb010e2c5d Small fixes 2016-02-04 14:19:27 -08:00
Alex Dadgar
c89e97084d Fix AllocRunner not capturing destroy signal and tests 2016-02-04 13:09:53 -08:00
Alex Dadgar
cef6bffd66 Merge pull request #751 from hashicorp/b-client-updates
Client handles updates to KillTimeout and Restart Policy
2016-02-04 10:19:28 -08:00
Ivo Verberk
a78836049f Add comments to hasNodeChanged and remove superfluous else block 2016-02-04 08:19:34 +01:00
Alex Dadgar
cc90670210 Fix tests 2016-02-03 19:58:39 -08:00
Alex Dadgar
03aca9887b Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Alex Dadgar
5d297a446f Move restart tracker creation into task runner 2016-02-03 16:16:48 -08:00
Ivo Verberk
035cc02c65 Reregister node when periodic fingerprint changes node properties 2016-02-03 21:10:58 +01:00
Alex Dadgar
de6e1e791e Another test fix 2016-02-02 17:35:06 -08:00
Alex Dadgar
d04fc2647c Fix test 2016-02-02 17:35:06 -08:00
Alex Dadgar
a2132950a5 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar
7400bc0c23 Merge pull request #745 from hashicorp/b-rkt-version-regex
Update Rkt regex to determine version
2016-02-02 15:55:50 -08:00
Alex Dadgar
acafd894da update the regex 2016-02-02 15:39:45 -08:00
Ryan Uber
d924de9bd0 client: obey restart policy when attempts == 0 2016-02-02 14:17:39 -08:00
Alex Dadgar
019883c5b1 Clean interaction between alloc-runner and task-runner 2016-02-02 11:09:29 -08:00
Alex Dadgar
c0ab75a7f9 Don't share task state with the alloc in the task runner 2016-02-01 17:47:53 -08:00
Alex Dadgar
3b90539fe9 Fix locks and use task runners state not alloc state 2016-02-01 15:43:59 -08:00
Alex Dadgar
410ae593e7 Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00
Ranjib Dey
8e546010e7 allow group and others to have executable permissions 2016-01-31 10:54:32 -08:00
Alex Dadgar
9779e9aa59 Merge pull request #704 from iverberk/f-env-ports
Pass a combination of ip and port to the task environment.
2016-01-29 08:53:47 -08:00
Alex Dadgar
df22fcad3d Merge pull request #712 from iverberk/f-cgroup-finterprinter
Add periodic cgroup fingerprinter
2016-01-29 08:50:43 -08:00
Ivo Verberk
0289252ce7 Add comments and small improvements to cgroup fingerprinter 2016-01-29 14:34:29 +01:00
Jake Champlin
d93c8bb43e Use net.JoinHostPort 2016-01-29 05:39:28 -05:00
Jake Champlin
cb39df4c20 Spelling 2016-01-29 05:11:50 -05:00
Jake Champlin
fed8184da1 Updates from comments, fix tests 2016-01-28 23:11:13 -05:00
Jake Champlin
fb92f83714 Allow ports to be optional when adding servers
When updating a clients servers, as nomad does not use the gossip
protocol over a specified port for clients, it was required to specify
ports along with server addresses.

Now specifying ports are optional, and if unspecified the default `4647`
port is used, reflecting a notice back to the user.
2016-01-28 22:08:28 -05:00
Diptanu Choudhury
12ffecf021 Added more information about files 2016-01-27 14:20:10 -08:00