Commit Graph

823 Commits

Author SHA1 Message Date
Diptanu Choudhury
51149e4381 Merge pull request #1321 from mwieczorek/f-windows-binds
Volume binds for windows containers
2016-07-18 10:20:44 -06:00
Diptanu Choudhury
cab0d3eea7 Introduced an env var for rkt tests 2016-07-11 15:48:16 -06:00
Diptanu Choudhury
1b137e4344 Skipping travis tests and not installing rkt on travis 2016-07-11 15:10:09 -06:00
Sean Chittenden
dd7c28165b Alpha-sort the build platforms 2016-07-11 12:23:46 -07:00
Sean Chittenden
fc8110ba96 Merge branch 'master' into f-resource-isolation-fingerprinter 2016-07-11 12:23:09 -07:00
Diptanu Choudhury
fa12297994 Merge pull request #1388 from novilabs/support-docker-syslog-unixformat-and-defaultformat
Support docker syslog unixformat and defaultformat
2016-07-11 11:17:30 -07:00
Alex Dadgar
3a98201f50 Get windows to build 2016-07-11 11:52:41 -06:00
Sean Chittenden
3d207247ad Merge branch 'f-resource-isolation-cleanup' into f-resource-isolation-fingerprinter 2016-07-11 00:10:21 -07:00
Sean Chittenden
c9d7934665 Merge pull request #1402 from hashicorp/f-resource-isolation-cleanup
Resource isolation cleanup
2016-07-11 02:09:35 -05:00
Sean Chittenden
875c090ed9 Rename resourceContainer{,Context} and resCon{,Ctx}. 2016-07-11 00:02:55 -07:00
Sean Chittenden
469678caa5 Add a comment describing IsolationConfig 2016-07-10 23:45:44 -07:00
Sean Chittenden
572925a5fa Fix test for non-Linux platforms.
The following tests now check a whitelist for whether or not their
driver is present or not, or if the OS is supported or not.

* `TestAllocDir_MountSharedAlloc`
* `TestClient_Drivers_InWhitelist` (`exec` driver)
* `TestClient_Drivers` (`exec` driver)
* `TestJavaDriver_Fingerprint` (`java` driver)
2016-07-10 15:19:49 -07:00
Sean Chittenden
5ede387a70 Update comments and pushdown a lock into the resource container 2016-07-10 00:12:59 -07:00
Sean Chittenden
1baa5de6af Push down the Linux-specific bits into resourceContainer 2016-07-10 00:06:53 -07:00
Sean Chittenden
beee613f13 Move unit tests around into per-platform where appropriate. 2016-07-09 23:56:31 -07:00
Sean Chittenden
71dddc7f05 Push the Client's cleanup of Cgroups down 2016-07-09 23:45:33 -07:00
Sean Chittenden
a15efc5796 Rename resourceContainer.cleanup() to executorCleanup()
Not to be confused with the imminent ClientCleanup().
2016-07-09 23:25:33 -07:00
Sean Chittenden
3f88f1a23d Begin cgroup pushdown into platform specific files 2016-07-09 23:01:14 -07:00
Diptanu Choudhury
17ad8ee7d0 Merge pull request #1399 from hashicorp/b-exec-cleanup
WIP: Cleanup exec driver
2016-07-09 00:08:43 -07:00
Sean Chittenden
a320883d7e Move all non-Linux Fingerprinter items to the default exec driver 2016-07-08 18:35:46 -07:00
Diptanu Choudhury
3dbea05f57 Fixed tests 2016-07-08 18:27:51 -07:00
Diptanu Choudhury
0769e41982 Fixed the client tests 2016-07-08 17:49:58 -07:00
Diptanu Choudhury
29f099cf9d Fixed the host port environment variable 2016-07-08 15:37:44 -07:00
Cameron Davison
c7817127c0 remove the expected leading space, after the colon in syslog 2016-07-06 11:08:24 -05:00
Cameron Davison
df8bd16133 get into the hour minute second part of the time before looking for spaces, and then looking for the : seperator 2016-07-06 11:08:24 -05:00
Wojciech Bederski
e922200b34 Fix docker driver lockup during nomad boot
Unit mismatch caused docker driver to wait almost indefinitely during boot 
(when one or more containers were a bit uncooperative during StopContainer())
This should fix problems described in  #1202
2016-06-28 14:26:47 +02:00
Diptanu Choudhury
964e133c9e Merge pull request #1335 from hashicorp/f-set-docker-timeout
Setting a timeout in the docker client
2016-06-21 17:00:14 -07:00
Diptanu Choudhury
f385e33181 Setting a timeout in the docker client 2016-06-21 16:58:21 -07:00
Diptanu Choudhury
0b608e23ea Making SSL default 2016-06-21 16:41:14 -07:00
Alex Dadgar
7cd4866c89 Make line copy to avoid being overriden by subsequent scans 2016-06-20 13:14:43 -07:00
Michal Wieczorek
ff6a5aa799 Volume binds for windows containers 2016-06-20 21:46:33 +02:00
Alex Dadgar
8cdb590298 Driver tests use client default config 2016-06-17 14:24:49 -07:00
Sean Chittenden
9656a2045c Initialize the stats helpers before accessing them for the first time 2016-06-17 13:23:30 -07:00
Alex Dadgar
30edb676fa debug message when stopping container 2016-06-17 11:52:44 -07:00
Diptanu Choudhury
4ecba7c7c2 Changed the client options for docker volume selinux labels 2016-06-16 21:41:02 +01:00
Diptanu Choudhury
f3a805c6a5 Added documentation 2016-06-15 02:42:15 +02:00
Diptanu Choudhury
f091e2ec82 Added a client options for setting selinux options 2016-06-15 02:33:09 +02:00
Alex Dadgar
f320b5a76f address comments 2016-06-13 17:32:18 -07:00
Alex Dadgar
1e4ec6b2b3 Fix IDs and domain scoping 2016-06-13 16:30:58 -07:00
Diptanu Choudhury
02b320c81e implemented reconciliation of unwanted services 2016-06-13 14:52:26 +02:00
Alex Dadgar
e90e92da9f register checks 2016-06-12 21:28:56 -07:00
Alex Dadgar
b1351a3564 Do not reconcile in client and cleanup executor a bit 2016-06-12 18:22:07 -07:00
Alex Dadgar
c5059fc7c4 Rename ConsulService back to Service 2016-06-12 16:36:49 -07:00
Alex Dadgar
fb81caa1bb unify cli output 2016-06-12 13:16:07 -07:00
Alex Dadgar
127fbfb243 skip docker test if no docker found 2016-06-12 11:28:43 -07:00
Alex Dadgar
54f6f57448 Merge pull request #1262 from hashicorp/remove-artifact-check
Removing artifact check for java and qemu drivers
2016-06-12 11:21:18 -07:00
Alex Dadgar
591104f848 Merge pull request #1260 from hashicorp/f-alloc-stats-struct
Allocation resources returned in a struct
2016-06-12 11:18:57 -07:00
Diptanu Choudhury
53a57cae79 Fix the calculation of total ticks for docker and exec 2016-06-12 18:08:35 +02:00
Diptanu Choudhury
f795e215b4 Setting a flag to indicate whether fs isolation is indeed happening 2016-06-12 15:43:24 +02:00
Diptanu Choudhury
12f3da9ad4 Not converting the abs path relative to task dir for drivers which enforce FS isolation only in linux 2016-06-12 13:54:30 +02:00