Commit Graph

683 Commits

Author SHA1 Message Date
Sean Chittenden
800d1db732 Improve the error messages when obtaining node and alloc stats 2016-06-17 13:24:10 -07:00
Sean Chittenden
59666bad74 Lump this fix in with gopsutils: guard against errors from stats. 2016-06-17 13:24:10 -07:00
Sean Chittenden
cb792ea036 Merge pull request #1310 from hashicorp/b-logger
Create and pass only one `logger` object around per Agent
2016-06-17 12:16:35 -07:00
Sean Chittenden
451c685f1c Provide nomad.Config with a default LogOutput of os.StdErr 2016-06-17 06:44:10 -07:00
Sean Chittenden
bcf0929c95 Pass a logger arg to NewClient and NewServer 2016-06-16 23:29:23 -07:00
Sean Chittenden
d8d78d72f2 Remove the shutdownCh as an argument, it was already present in the receiver 2016-06-16 23:15:41 -07:00
Sean Chittenden
c093f4caf5 Teach config.ConsulConfig how to construct a consulapi TLS client.
Said differently, centralize the creation of consul's client config
in one place and use it everywhere.
2016-06-16 22:51:06 -07:00
Sean Chittenden
5c118d8fdf Fix tests 2016-06-16 22:26:45 -07:00
Sean Chittenden
e5f65e5c7c Fix tests, don't take the address of DefaultConsulCommand() 2016-06-16 21:21:39 -07:00
Sean Chittenden
7dc7fcf052 Create config.DefaultConsulConfig() 2016-06-16 20:41:05 -07:00
Sean Chittenden
d82de05b57 Remove client registration of RPC services, only servers have an RPC interface 2016-06-16 18:14:59 -07:00
Sean Chittenden
15e42b00b9 Merge pull request #1305 from hashicorp/f-autoreg-checks
F autoreg checks
2016-06-16 17:41:25 -07:00
Sean Chittenden
25aed9826a Use /v1/agent/servers (vs /v1/agent/self). 2016-06-16 17:40:47 -07:00
Sean Chittenden
6035dbfbe4 Automatically register service checks for HTTP, RPC, and Serf. 2016-06-16 17:34:25 -07:00
Sean Chittenden
e5eb863e27 Whitespace police 2016-06-16 17:34:09 -07:00
Alex Dadgar
86737986e7 Merge pull request #1304 from hashicorp/d-plan-cli
plan cli docs
2016-06-16 17:24:24 -07:00
Alex Dadgar
de178ca037 plan cli docs 2016-06-16 17:23:49 -07:00
Alex Dadgar
3ad78119b4 Merge pull request #1299 from hashicorp/d-node-status
Update node-status docs
2016-06-16 17:21:37 -07:00
Sean Chittenden
4bb6309fd3 Misc typos 2016-06-16 16:17:17 -07:00
Alex Dadgar
69c0851ee0 Update node-status docs 2016-06-16 14:50:41 -07:00
Sean Chittenden
8e1777ae3a Test for errors 2016-06-16 14:43:46 -07:00
Sean Chittenden
5708560527 Merge pull request #1276 from hashicorp/f-consul-server-autojoin
Teach Nomad servers how to fall back to Consul.
2016-06-16 14:40:45 -07:00
Diptanu Choudhury
f10df99e5d Removed the stats block from client configuration 2016-06-16 21:30:29 +01:00
Sean Chittenden
4d149888cc Define BootstrapExepct as an int32 so it can be manipulated atomically. 2016-06-16 12:00:15 -07:00
Alex Dadgar
c692478a39 Give relative time 2016-06-15 15:28:35 -07:00
Alex Dadgar
e8b69052aa plan displays launch time of periodic jobs 2016-06-15 13:34:45 -07:00
Sean Chittenden
ea89976d9d Teach Nomad servers how to fall back to Consul. 2016-06-15 12:40:51 -07:00
Diptanu Choudhury
9f598d4367 Merge pull request #1284 from hashicorp/add-warn-message
Added a warn message for deprecated consul options
2016-06-15 11:33:24 +02:00
Diptanu Choudhury
eb4a719f67 Added a warn message for deprecated consul options 2016-06-15 02:31:57 +02:00
Alex Dadgar
d8e79759fc Document consul configuration 2016-06-14 15:21:57 -07:00
Sean Chittenden
f1a40c0deb Disambiguate auto_join from auto_register, rename reg to auto_advertise.
Provide an option that describes the value to the user vs the
operation performed by the software.  Momentarily introducing
`auto_join`
2016-06-14 12:11:38 -07:00
Sean Chittenden
aea3e2c360 Temporarily disable various syncer checks due to the API changes made earlier today. 2016-06-13 19:52:17 -07:00
Sean Chittenden
388ef7f6af Drive-by comment correction 2016-06-13 18:14:50 -07: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
Chris Bednarski
6669cf8460 Change Modfied to Modified 2016-06-13 15:09:13 -07:00
Diptanu Choudhury
d64ec9d138 Removing unwated line of code 2016-06-13 15:37:55 +02:00
Diptanu Choudhury
02b320c81e implemented reconciliation of unwanted services 2016-06-13 14:52:26 +02:00
Alex Dadgar
73600066c4 agent just calls run 2016-06-12 22:30:52 -07: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
0c3b7b2537 fix test 2016-06-12 16:48:55 -07:00
Alex Dadgar
d0e3dc6a81 Merge pull request #1264 from hashicorp/b-rename-services
Rename ConsulService back to Service
2016-06-12 16:44:49 -07:00
Diptanu Choudhury
b6d9623b9d Remove initial delay of registering services with consul 2016-06-13 01:42:56 +02:00
Alex Dadgar
c5059fc7c4 Rename ConsulService back to Service 2016-06-12 16:36:49 -07:00
Alex Dadgar
f3c1ef20fe use base 1024 for bytes not 1000 2016-06-12 14:20:39 -07:00
Alex Dadgar
dd444ba869 reworked alloc-status command 2016-06-12 14:08:47 -07:00
Alex Dadgar
fb81caa1bb unify cli output 2016-06-12 13:16:07 -07:00
Alex Dadgar
b1bd788c55 unify units 2016-06-12 11:19:45 -07:00
Alex Dadgar
6c25978d9a show allocation resources seperate from host 2016-06-12 11:19:45 -07:00