open-nomad/client
Seth Hoenig 423ea1a5c4 client/logmon: acquire executable in init block
This PR causes the logmon task runner to acquire the binary of the
Nomad executable in an 'init' block, so as to almost certainly get
the name while the nomad file still exists.

This is an attempt at fixing the case where a deleted Nomad file
(e.g. during upgrade) may be getting renamed with a mysterious
suffix first.

If this doesn't work, as a last resort we can literally just trim
the mystery string.

Fixes: #14079
2022-08-24 13:17:20 -05:00
..
allocdir build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
allochealth build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
allocrunner template: custom change_mode scripts (#13972) 2022-08-24 17:43:01 +02:00
allocwatcher test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
config fix minor issues found durint ENT merge (#14250) 2022-08-23 17:22:18 -04:00
consul
devicemanager cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
dynamicplugins build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
fingerprint build: update aws env cpu info 2022-08-02 07:59:58 -05:00
interfaces artifact: fix numerous go-getter security issues 2022-05-24 16:29:39 -04:00
lib deps: update opencontainers/runc to v1.1.3 2022-08-04 12:56:49 -05:00
logmon client/logmon: acquire executable in init block 2022-08-24 13:17:20 -05:00
pluginmanager build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
servers feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
serviceregistration nsd: add support for setting request body in http checks 2022-08-04 14:40:23 -05:00
state build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
stats
structs client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
taskenv cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
testutil
vaultclient
acl.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
acl_test.go
agent_endpoint.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
agent_endpoint_test.go
alloc_endpoint.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
alloc_endpoint_test.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
alloc_watcher_e2e_test.go job_hooks: add implicit constraint when using Consul for services. (#12602) 2022-04-20 14:09:13 +02:00
client.go client: stats need latest allocdir (#14204) 2022-08-22 09:28:53 -07:00
client_stats_endpoint.go
client_stats_endpoint_test.go
client_test.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
csi_endpoint.go
csi_endpoint_test.go
driver_manager_test.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
enterprise_client_oss.go
fingerprint_manager.go
fingerprint_manager_test.go
fs_endpoint.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
fs_endpoint_test.go raw_exec: make raw exec driver work with cgroups v2 2022-04-04 16:11:38 -05:00
gc.go
gc_test.go
heartbeatstop.go client: fix race in heartbeat tracker (#14119) 2022-08-16 09:41:08 -07:00
heartbeatstop_test.go
node_updater.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
rpc.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
rpc_test.go
testing.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
util.go