Commit graph

2837 commits

Author SHA1 Message Date
Diptanu Choudhury fc8e099cc3 removing the prefix of the logger 2016-02-08 15:07:18 -08:00
Diptanu Choudhury 32e24e257a Appending names of sub-system before log lines 2016-02-08 14:47:10 -08:00
Diptanu Choudhury 6c85ed6c8e Removing pathExists from executor 2016-02-08 14:40:54 -08:00
Diptanu Choudhury 10fe104f97 Unmounting dev and proc when open can't reconnect with the plugin process 2016-02-08 14:31:03 -08:00
Diptanu Choudhury e89bcf52b8 Moving code to mount and unmount chroot into allocdir 2016-02-08 14:11:53 -08:00
Diptanu Choudhury e53ebc9e3c Extracted the cgroup info into isolation struct 2016-02-08 13:48:26 -08:00
Diptanu Choudhury 21677468cf Setting defaults for client max and min port 2016-02-08 13:29:53 -08:00
Diptanu Choudhury 088d2cba53 Making the plugin server return the same instance of executor rpc server 2016-02-08 11:56:48 -08:00
Diptanu Choudhury f6f51a6926 Destroying the cgroup if we can't to executor in exec and java drivers 2016-02-08 10:05:39 -08:00
Diptanu Choudhury fa45e0b8ca Using net.IsLoopback to determine if ifc is a loopback device 2016-02-08 07:57:31 -08:00
Diptanu Choudhury 68d0105634 Isolating the plugin process from the nomad client 2016-02-07 22:33:48 -05:00
Diptanu Choudhury 8d879a16e0 Added the executor to the commands map 2016-02-07 22:07:50 -05:00
Diptanu Choudhury 4527410e33 Fixed merged conflict 2016-02-07 17:58:31 -05:00
Diptanu Choudhury c85e4c7753 Installing gox while setting up the VM 2016-02-06 18:15:16 -08:00
Diptanu Choudhury 957a446edf Merge pull request #773 from hashicorp/docker-auth
Reading dockercfg files for authenticating with private registries
2016-02-06 18:03:39 -08:00
Diptanu Choudhury 2a2e1e7392 Updated the changelog 2016-02-06 18:03:28 -08:00
Alex Dadgar eb075d2017 changelog 2016-02-06 17:12:11 -08:00
Alex Dadgar a59cec5fb3 Merge pull request #766 from hashicorp/f-consul-update
Update the consul service when the task/alloc changes
2016-02-06 17:10:37 -08:00
Alex Dadgar fdc7124032 Precise registration 2016-02-06 17:08:20 -08:00
Alex Dadgar c744e2f4f1 Update the consul service when the task/alloc changes 2016-02-06 17:08:20 -08:00
Alex Dadgar 3cc3a22b9c changelog 2016-02-06 16:29:50 -08:00
Alex Dadgar 4eef86da52 Merge pull request #776 from hashicorp/f-eval-monitor-output
Cleanup eval-monitor output
2016-02-06 16:10:44 -08:00
Alex Dadgar d2d59905a2 Shorted eval id and only print waiting if time > 0 2016-02-06 16:09:39 -08:00
Alex Dadgar b5acfc77d9 Merge pull request #772 from achanda/travis
Use the CI env variable
2016-02-06 15:44:01 -08:00
Diptanu Choudhury d0b6fb1993 Updated the docker auth config 2016-02-06 05:47:56 -08:00
Diptanu Choudhury 745bfaae7b Reading dockercfg files for authenticating with private registries 2016-02-06 05:43:30 -08:00
Abhishek Chanda babd75c55c Use the CI env variable
Travis exports this variable to all builds. We don't need out own.
A number of other CI systems use this variable too.
2016-02-06 01:11:44 -08:00
Diptanu Choudhury c9d2151f90 Changed a few comments 2016-02-05 18:07:06 -08:00
Diptanu Choudhury 1b9a54abec Updated comment 2016-02-05 17:40:06 -08:00
Diptanu Choudhury 370dc41ca2 Renamed the plugin log file 2016-02-05 17:07:02 -08:00
Alex Dadgar 332041653f Update README.md 2016-02-05 16:33:20 -08:00
Alex Dadgar 8a1c651d28 Merge pull request #771 from hashicorp/d-getting-started
Update getting started with short ids
2016-02-05 16:29:25 -08:00
Alex Dadgar a1ae42f7da Update getting started with short ids 2016-02-05 16:28:20 -08:00
Alex Dadgar 4d79e62f64 changelog 2016-02-05 15:30:02 -08:00
Alex Dadgar 47f9c8a443 Merge pull request #770 from hashicorp/f-service-name-period
Ensure there are no periods in the service name
2016-02-05 15:29:13 -08:00
Alex Dadgar 36f245dc93 Merge pull request #769 from zanella/minor_typo_eval_return
Trailing comma typo
2016-02-05 15:19:28 -08:00
Diptanu Choudhury d2eeba213c Reserving ports on windows 2016-02-05 15:17:15 -08:00
Alex Dadgar 759868ce8d Merge pull request #765 from hashicorp/f-fs-cli
Display fs in nomad help and list the subcommands when called
2016-02-05 15:16:50 -08:00
Alex Dadgar 2627b742fa Fix == 2016-02-05 15:15:56 -08:00
Alex Dadgar 40a373f9e0 Ensure there are no periods in the service name 2016-02-05 14:42:35 -08:00
Rafael Zanella da4262e22d Trailing comma typo 2016-02-05 20:03:10 -02:00
Diptanu Choudhury f4b32ae5fc Entering the plugin pid into the cgroup after creating it 2016-02-05 13:16:29 -08:00
Diptanu Choudhury 2871dfce26 Using signals to test if proces is alive 2016-02-05 13:05:49 -08:00
Diptanu Choudhury fa41d8a062 Added a test which shows userpid is killed when plugin can not be re-connected on calling Open 2016-02-05 11:37:13 -08:00
Diptanu Choudhury 918cc46d30 Added a test which isolates and constraints a process using the executor 2016-02-05 11:07:16 -08:00
Alex Dadgar 76a11b4613 Display fs in nomad help and list the subcommands when called 2016-02-05 11:01:29 -08:00
Diptanu Choudhury f4ea6a15c8 Making the java driver apply resource constraints and limits 2016-02-05 10:55:03 -08:00
Diptanu Choudhury 1ba1baa9ac Filtered out the executor command 2016-02-05 10:51:29 -08:00
Diptanu Choudhury b788017574 Corrected comments and making the plugins write to unique log files 2016-02-05 10:49:54 -08:00
Diptanu Choudhury 08932e5bbc Putting the plugin in the same cgroup as the user process 2016-02-05 00:11:09 -08:00