open-nomad/command/agent
Michael Schurter 99d1486f32 Never remove unknown agent services
Fixes #2827

This is a tradeoff. The pro is that you can run separate client and
server agents on the same node and advertise both. The con is that if a
Nomad agent crashes and isn't restarted on that node in the same mode
its entry will not be cleaned up.

That con scenario seems far less likely to occur than the scenario on
the pro side, and even if we do leak an agent entry the checks will be
failing so nothing should attempt to use it.
2017-07-18 13:23:01 -07:00
..
config-test-fixtures Add config options 2017-07-07 12:05:56 -07:00
consul Never remove unknown agent services 2017-07-18 13:23:01 -07:00
test-resources Add test to verify order 2015-12-04 17:12:47 -08:00
agent.go Add config options 2017-07-07 12:05:56 -07:00
agent_endpoint.go Changing the API to use the new servermember datastructure 2016-11-06 10:30:43 -08:00
agent_endpoint_test.go Fixed a test 2016-11-08 13:01:56 -08:00
agent_test.go Fix path used by Nomad Server HTTP Check 2017-06-21 10:41:28 -07:00
alloc_endpoint.go Merge pull request #2128 from hashicorp/f-dispatch 2017-01-06 05:22:49 +08:00
alloc_endpoint_test.go Merge pull request #2128 from hashicorp/f-dispatch 2017-01-06 05:22:49 +08:00
command.go Remove unnecessary parameter from NewHTTPServer 2017-04-10 16:24:49 +02:00
command_test.go Fix TestRetryJoin 2016-11-15 15:28:21 -08:00
config.go Add config options 2017-07-07 12:05:56 -07:00
config_parse.go Add config options 2017-07-07 12:05:56 -07:00
config_parse_test.go Add config options 2017-07-07 12:05:56 -07:00
config_test.go Properly normalize IPv6 addresses 2017-06-29 10:46:31 -07:00
deployment_endpoint.go HTTP Endpoints 2017-07-07 12:03:11 -07:00
deployment_endpoint_test.go Rename CreateDeployments and remove cancelling behavior in state_store 2017-07-07 12:10:04 -07:00
eval_endpoint.go http: list results are never null 2015-09-07 10:03:10 -07:00
eval_endpoint_test.go Fixed more tests 2016-07-25 17:31:40 -07:00
fs_endpoint.go Fix truncate test 2017-05-11 13:05:53 -07:00
fs_endpoint_test.go Fix tests 2017-05-03 12:38:49 -07:00
http.go HTTP Endpoints 2017-07-07 12:03:11 -07:00
http_test.go Remove extra Travis logging 2017-05-04 17:35:54 -07:00
job_endpoint.go Disallow update stanza on batch jobs 2017-07-07 12:11:39 -07:00
job_endpoint_test.go test fixes 2017-07-07 14:11:27 -07:00
keyring.go Enable serf encryption (#1791) 2016-10-17 10:48:04 -07:00
keyring_test.go Enable serf encryption (#1791) 2016-10-17 10:48:04 -07:00
log_levels.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
log_levels_test.go Add LevelFilter test 2016-07-27 13:42:24 +09:00
log_writer.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
log_writer_test.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
node_endpoint.go Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00
node_endpoint_test.go Fixed some bugs 2016-07-25 17:26:38 -07:00
operator_endpoint.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
operator_endpoint_test.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
region_endpoint.go website: document regions endpoint 2015-11-24 09:38:07 -08:00
region_endpoint_test.go nomad: testing region list 2015-11-23 22:27:07 -08:00
stats_endpoint.go fix test 2016-06-12 16:48:55 -07:00
stats_endpoint_test.go fix test 2016-06-12 16:48:55 -07:00
status_endpoint.go http: adding status APIs 2015-09-06 18:39:03 -07:00
status_endpoint_test.go http: adding status APIs 2015-09-06 18:39:03 -07:00
syslog.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
syslog_test.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
system_endpoint.go Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
system_endpoint_test.go Updated tests and comments 2016-08-04 11:29:36 -07:00