Commit Graph

718 Commits

Author SHA1 Message Date
Chris Hines
dff2460d03 Allow for low precision time.Now on Windows. 2015-12-21 10:43:45 -05:00
Alex Dadgar
95f93396e5 Fix test because of jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar
b48a8e3762 Add jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar
b46bb0a02d Make NewRestartTracker private 2015-12-18 12:17:54 -08:00
Alex Dadgar
3122433b47 merge 2015-12-18 12:17:13 -08:00
Diptanu Choudhury
042612d854 Moving the de-register once a task moves to DEAD state 2015-12-17 16:41:29 -08:00
Clint Shryock
dd6cc455fe Executors/Linux: Update Executor config struct 2015-12-17 10:25:42 -06:00
Diptanu Choudhury
06443a6629 Using cgo dependencies to look up users 2015-12-15 11:12:13 -08:00
Diptanu Choudhury
cbc70a5465 Changed some comments 2015-12-14 18:05:58 -08:00
Diptanu Choudhury
f089e249c8 Renamed serviceId to serviceID 2015-12-14 15:57:56 -08:00
Diptanu Choudhury
ed04b11862 Fixed tests 2015-12-14 15:47:01 -08:00
Diptanu Choudhury
d4d7572604 Making the allocs hold service ids 2015-12-14 15:08:35 -08:00
Diptanu Choudhury
68b1dd032e Changing the prefix of the service 2015-12-14 11:14:22 -08:00
Diptanu Choudhury
4b41cfc43e Fixed log printing logic 2015-12-11 15:45:49 -08:00
Alex Dadgar
d536fe9027 Remove all calls to the default logger 2015-12-11 15:02:13 -08:00
Diptanu Choudhury
6a1e615991 Refactored test and added some comments 2015-12-11 14:14:04 -08:00
Diptanu Choudhury
519dc4c65b Exctracted nomad- to a constant 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
45bdd1c5e5 Removing extra lines 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
568006247d Making a struct to hold consul service config 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
df14c98b3f Added a test for the filtering logic of service and clients 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
f182c13729 Deregister services and checks which are managed by Nomad 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
32c0177bc1 Merge pull request #567 from hashicorp/r-mute-consul-debug-messages
mute consul debug messages
2015-12-11 13:58:15 -08:00
Diptanu Choudhury
83c4650c94 Renaming constants 2015-12-11 13:47:35 -08:00
Diptanu Choudhury
c9277e27cf Renaming constants 2015-12-11 13:18:04 -08:00
Diptanu Choudhury
42b4a34046 Not continuing sync if we couldn't get services and checks from consul 2015-12-11 13:10:20 -08:00
Chris Hines
2bcab7cc0c Avoid leaking a time.Ticker. 2015-12-11 15:30:53 -05:00
Diptanu Choudhury
e1d2d5877a Printing most of the consul messages only when the agent is available 2015-12-11 09:22:47 -08:00
Diptanu Choudhury
b3ed3e4942 Changed the log line in consul fingerprinter 2015-12-11 09:10:21 -08:00
Diptanu Choudhury
deea0d6031 Print consul debug messages only when the consul agent is available 2015-12-11 09:06:03 -08:00
Diptanu Choudhury
6af01d2d6f Muted the consul debug messages 2015-12-11 09:06:03 -08:00
Diptanu Choudhury
4fd5036fef Merge pull request #561 from hashicorp/b-consul-sync
Generate check names, check id and service id on the server side
2015-12-10 16:48:01 -08:00
Diptanu Choudhury
56fa8f8a03 Changing naming and debug message schemes 2015-12-10 16:47:43 -08:00
Alex Dadgar
8be637b93f Merge pull request #556 from hashicorp/b-cache-docker-client
Do.Once docker client initialization
2015-12-10 16:19:06 -08:00
Diptanu Choudhury
ccfde99f82 Generate check names, check id and service id on the server side 2015-12-10 16:07:17 -08:00
Chris Bednarski
73c707c6cf Merge pull request #558 from hashicorp/b-raw-exec-dev
Enable raw exec in dev mode
2015-12-10 15:29:17 -08:00
Chris Bednarski
5bf8a1fff6 Move raw_exec enabled into the DevMode config block 2015-12-10 15:24:21 -08:00
Charlie Drage
d5fc7f6022 Fix minor spelling error 2015-12-10 18:09:14 -05:00
Chris Bednarski
1821db757b Use ReadBoolDefault 2015-12-10 15:03:25 -08:00
Chris Bednarski
462a721edb Enable raw exec in dev mode 2015-12-10 14:48:06 -08:00
Alex Dadgar
25e47465c1 Do Once docker client initialization 2015-12-10 13:49:29 -08:00
Chris Bednarski
52320c39d5 Merge pull request #519 from ChrisHines/windows-storage
client/fingerprint: Use GetDiskFreeSpaceEx instead of parsing output of fsutil on Windows.
2015-12-10 10:13:20 -08:00
Diptanu Choudhury
65c9a361aa Added some extra log lines 2015-12-10 06:05:07 -08:00
Chris Hines
6a2abc9466 Improve error messages. 2015-12-09 16:34:18 -05:00
Diptanu Choudhury
d53591052e Sending the user process sigint during shutdown on linux 2015-12-08 08:14:13 -08:00
Diptanu Choudhury
27a0097ab6 Fixing some log lines 2015-12-07 06:25:00 -08:00
Chris Bednarski
8267ffe8a6 Merge branch 'user-lookup-nocgo' of https://github.com/carlosdp/nomad into b-user-lookup 2015-12-01 13:44:56 -08:00
Carlos Diaz-Padron
eeaa84d52e Refactor out userLookup to helper package
Also replaces user.Lookup in exec driver
2015-12-01 11:59:55 -08:00
Alex Dadgar
9d583202a8 Merge pull request #514 from kaskavalci/master
Fixed git vet error on formatting
2015-12-01 08:58:19 -08:00
Chris Hines
bdce51b636 Use GetDiskFreeSpaceEx instead of parsing output of fsutil on Windows. 2015-11-30 16:43:25 -05:00
Halil Kaskavalci
728a6e3fd7 Fixed git vet error on formatting 2015-11-30 10:27:26 +00:00