Commit Graph

430 Commits

Author SHA1 Message Date
Alex Dadgar
859f4c5d5e Increase the timeout to be greater than the RPC hold threshold 2016-08-26 11:13:20 -07:00
Diptanu Choudhury
4a3eee92ff Merge pull request #1645 from capone212/failing_cehcks_fix
issue #1636:  start CheckRunner if check exists in consul already
2016-08-24 16:27:05 -05:00
capone
7f53d0258e Fixed CR defects 2016-08-24 01:33:44 +03:00
Alex Dadgar
1c45799c49 Merge pull request #1580 from hashicorp/f-disk-usage-monitoring
Monitor and enforce shared allocation directory disk usage
2016-08-23 09:49:53 -07:00
capone
1a37bc33c6 First attemt to fix issue #1636 2016-08-23 19:09:20 +03:00
Alex Dadgar
b082bdd52f test fixes 2016-08-18 10:30:47 -07:00
Ivo Verberk
13071e9846 Disk resource monitoring and enforcement 2016-08-18 07:59:03 +02:00
Alex Dadgar
2eed545daa Address field name feedback 2016-08-17 16:23:29 -07:00
Alex Dadgar
4efecc01ea Pass Vault config to client 2016-08-17 16:23:29 -07:00
Alex Dadgar
7a3e69fe96 Add enabled field 2016-08-17 16:23:29 -07:00
Alex Dadgar
be93647df0 Add Vault config to server 2016-08-17 16:23:29 -07:00
Alex Dadgar
2c1fd77dfd Change token/role names 2016-08-17 16:23:29 -07:00
Alex Dadgar
f7f86941a3 change config variable names to match vault 2016-08-17 16:23:29 -07:00
Alex Dadgar
9ab0de1877 Parse Vault Config 2016-08-17 16:23:29 -07:00
Diptanu Choudhury
11a77c0ede Merge pull request #1601 from hashicorp/b-fix-node-alloc-test
get a free port from the kernel
2016-08-16 17:09:03 -07:00
Diptanu Choudhury
20a0398752 Fixed a test 2016-08-16 16:36:15 -07:00
Diptanu Choudhury
bc3aab72fc get a free port from the kernel 2016-08-16 16:05:37 -07:00
Diptanu Choudhury
53ab5d52d8 Cleaning up some code 2016-08-16 15:22:26 -07:00
Marin
fbb9108ed5 Add support for initial check status 2016-08-16 12:05:15 -07:00
Alex Dadgar
47f10d1baf Merge pull request #1584 from novilabs/stream-framer-order
duplicate check for deep equals of frame order
2016-08-15 10:30:42 -07:00
Cameron Davison
53c244b855 use last job eval if multiple exist, when looking for registration 2016-08-13 22:37:35 -05:00
Cameron Davison
ebb026f47e duplicate check for deep equals of frame order 2016-08-13 22:26:53 -05:00
Diptanu Choudhury
0d35216164 Merge pull request #1562 from dbresson/support-query-strings-in-checks
support query strings in checks
2016-08-12 13:06:02 -07:00
Alex Dadgar
32172ec06a Merge pull request #1571 from hashicorp/t-logs-tests
Fixing logs tests on travis
2016-08-11 19:24:46 -07:00
Alex Dadgar
014d8fe0e8 lock heartbeat 2016-08-11 18:37:08 -07:00
Alex Dadgar
2de52849db up timeouts 2016-08-11 18:30:46 -07:00
Alex Dadgar
091d0e3eeb Add travis multiplier 2016-08-11 18:16:10 -07:00
David Bresson
e41b70ca7d Add a test for query string support 2016-08-11 12:22:46 -07:00
David Bresson
7a78bf4836 Add error handling to check registration 2016-08-11 11:49:48 -07:00
David Bresson
e191b0e198 Add support for query strings in check paths 2016-08-11 11:27:29 -07:00
Mathias Lafeldt
107dbba69a Fix reload of retry_join server addresses on SIGHUP
The current code does not update the actual config, but only the local
reference to it.
2016-08-11 16:03:21 +02:00
Kenjiro Nakayama
fbb2d5cd5d Return error when client failed to collect host stats 2016-08-11 09:38:28 +09:00
Diptanu Choudhury
6811e084f4 Merge pull request #1518 from pubnub/feature/chroot-map-rebase
Add config field to specify chroot mapping for exec driver
2016-08-10 17:00:03 -07:00
Alex Dadgar
08628fea90 consul syncer uses multi-error 2016-08-09 12:24:50 -07:00
Jay Oster
95c1d76544 Fix ConfigMerge test with chroot config 2016-08-08 18:59:18 -07:00
Jay Oster
593669ada2 Address review comments
- Simplify map length check in Linux Executor
- Added a `chroot_env` test for config parser
- Moved `ChrootEnv` field from ExecutorCommand to ExecutorContext
- Added a test for `chroot_env` functionality
2016-08-04 15:33:06 -07:00
Diptanu Choudhury
ece625166f Merge pull request #1501 from hashicorp/f-stats-opt-in
Allow operators to opt into publishing node and alloc metrics
2016-08-04 13:33:56 -07:00
Diptanu Choudhury
3bdaf91dd1 Updated tests and comments 2016-08-04 11:29:36 -07:00
Jay Oster
1876fc2b10 Add config field to specify chroot mapping for exec driver
- Same format as used by the internal chroot mapping
- Map: source_path -> dest_path
- Example HCL:

client {
  chroot_env {
    "/etc" = "/etc"
    "/lib" = "/lib"
    "/opt/projects/foo/bin" = "/usr/bin"
  }
}
2016-08-03 17:17:17 -07:00
Diptanu Choudhury
72cd53d6e5 Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
Diptanu Choudhury
3593649e18 Allow operators to opt into publishing node and alloc metrics 2016-08-01 19:52:20 -07:00
Kenjiro Nakayama
9449a34385 Add LevelFilter test 2016-07-27 13:42:24 +09:00
Diptanu Choudhury
c91f477d6f Renamed Job.GetJobSummary to Job.Summary 2016-07-25 17:31:40 -07:00
Diptanu Choudhury
c18e431298 Fixed more tests 2016-07-25 17:31:40 -07:00
Diptanu Choudhury
03c6692f98 Fixed some bugs 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
7628283c78 Moved the job endpoint around 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
38b1ba7e4e Added the job summary related endpoints 2016-07-25 17:26:38 -07:00
Alex Dadgar
449ba5a531 remove unused file 2016-07-25 16:24:28 -07:00
Alex Dadgar
d322eb5297 Merge pull request #1465 from 42wim/ipv6-1318
Fix IPv6 advertise addresses
2016-07-25 16:14:15 -07:00
Wim
c576c2339b Use net.JoinHostPort 2016-07-25 23:34:08 +02:00