Nick Ethier
af60396f0c
update CHANGELOG
2019-11-08 04:37:40 -05:00
Nick Ethier
e947aaed4f
nomad: fix bug that didn't allow for multiple connect services in same tg
2019-11-08 04:33:39 -05:00
Chris Baker
d59eb44417
Merge pull request #6647 from hashicorp/b-6644-reschedule-on-device-changes
...
Consider devices in tasksUpdated
2019-11-07 16:46:20 -06:00
Chris Baker
e0105f817a
changed all tests to require from t.Fatalf
2019-11-07 22:39:47 +00:00
Lars Lehtonen
6deae70e35
TestEvalBroker_PauseResumeNackTimeout() proper goroutine error handling ( #6649 )
...
TestEvalBroker_PauseResumeNackTimeout() improve test readability
2019-11-07 16:04:59 -05:00
Chris Baker
5ca77ab9dc
Update CHANGELOG.md
...
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-11-07 14:11:40 -06:00
RJ Spiker
6740bbe828
website - add -moz-osx-font-smoothing for smooth firefox osx fonts
2019-11-07 12:29:21 -07:00
Chris Baker
96fa52000a
updated CHANGELOG
2019-11-07 17:56:21 +00:00
Chris Baker
95ae01a9f4
the scheduler checks whether task changes require a restart, this needed
...
to be updated to consider devices
2019-11-07 17:51:15 +00:00
Drew Bailey
2befab6900
Merge pull request #6573 from hashicorp/update-cci-consul
...
updates default consul version to 1.6.1
2019-11-07 11:01:22 -05:00
Lars Lehtonen
2638cbb31d
nomad: TestEvalBroker_EnqueueAll_Dequeue_Fair() proper goroutine error handling ( #6636 )
...
nomad: TestEvalBroker_EnqueueAll_Dequeue_Fair() improve test readability
2019-11-07 10:39:29 -05:00
Drew Bailey
1c2af019c6
update vagrant & packer consul versions
2019-11-07 10:13:14 -05:00
Ben Barnard
b87ecd5f8c
Escape job ID in API requests ( #2411 )
...
Jobs can be created with user-provided IDs containing any character
except spaces. The jobId needs to be escaped when used in a request
path, otherwise jobs created with names such as "why?" can't be managed
after they are created.
2019-11-07 08:35:39 -05:00
Drew Bailey
a5e2e1805f
return after request has been forwarded
2019-11-07 08:33:53 -05:00
Tim Gross
3216c62cdb
doc: switch README to CircleCI build status badge ( #6634 )
2019-11-06 17:00:48 -05:00
Lars Lehtonen
e64f98837c
nomad: fix dropped error in TestJobEndpoint_Deregister_ACL ( #6602 )
2019-11-06 16:40:45 -05:00
Tim Gross
4909adb32c
fix broken test expectation from message change ( #6635 )
2019-11-06 16:33:13 -05:00
Charlie Voiselle
404aa6837e
Merge pull request #6596 from rjspiker/rj.fonts
...
website - font and brand update
2019-11-06 13:01:58 -05:00
Robert James Hernandez
f7588df7df
Bumping freebsd vagrant to 11.3-STABLE ( #6500 )
2019-11-06 08:58:34 -05:00
James Rasell
4ee23df7ae
Remove trailing dot on drain message to ensure better consistency. ( #5956 )
2019-11-05 16:53:38 -05:00
Drew Bailey
059b671bbe
Merge pull request #6623 from hashicorp/monitor-docs
...
Monitor docs
2019-11-05 14:43:13 -05:00
Drew Bailey
6fd1901ef0
fix long lines, add possible values
2019-11-05 14:24:52 -05:00
Drew Bailey
8e1fa5ca06
agent api docs for monitor
...
update CHANGELOG
2019-11-05 13:53:35 -05:00
Drew Bailey
fa5156acc0
Merge pull request #6499 from hashicorp/f-nomad-monitor
...
Nomad Monitor
2019-11-05 12:42:36 -05:00
Drew Bailey
7b2ad28ef6
unlock before returning, no need for label
...
comment, trigger build
return length written
2019-11-05 11:44:29 -05:00
Drew Bailey
d3b48a3e45
simplify logch goroutine
2019-11-05 11:44:28 -05:00
Drew Bailey
df57f70a68
wireup plain=true|false query param
2019-11-05 11:44:28 -05:00
Drew Bailey
f4a7e3dc75
coordinate closing of doneCh, use interface to simplify callers
...
comments
2019-11-05 11:44:26 -05:00
Drew Bailey
fe542680dc
log-json -> json
...
fix typo command/agent/monitor/monitor.go
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>
Update command/agent/monitor/monitor.go
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>
address feedback, lock to prevent send on closed channel
fix lock/unlock for dropped messages
2019-11-05 09:51:59 -05:00
Drew Bailey
ddfa20b993
address feedback, fix gauge metric name
2019-11-05 09:51:57 -05:00
Drew Bailey
84c8e79f90
simplify assert message
2019-11-05 09:51:56 -05:00
Drew Bailey
298b8358a9
move forwarded monitor request into helper
2019-11-05 09:51:56 -05:00
Drew Bailey
8726b685de
address feedback
2019-11-05 09:51:56 -05:00
Drew Bailey
e4b3e1d7d4
allow more time for streaming message
...
remove unused struct
2019-11-05 09:51:55 -05:00
Drew Bailey
318b6c91bf
monitor command takes no args
...
rm extra new line
fix lint errors
return after close
fix, simplify test
2019-11-05 09:51:55 -05:00
Drew Bailey
0e759c401c
moving endpoints over to frames
2019-11-05 09:51:54 -05:00
Drew Bailey
c7b633b6c1
lock in sub select
...
rm redundant lock
wip to use framing
wip switch to stream frames
2019-11-05 09:51:54 -05:00
Drew Bailey
fb23c1325d
fix deadlock issue, switch to frames envelope
2019-11-05 09:51:54 -05:00
Drew Bailey
32f62edbb0
return 400 if invalid log_json param is given
...
Addresses feedback around monitor implementation
subselect on stopCh to prevent blocking forever.
Set up a separate goroutine to check every 3 seconds for dropped
messages.
rename returned ch to avoid confusion
2019-11-05 09:51:53 -05:00
Drew Bailey
17d876d5ef
rename function, initialize log level better
...
underscores instead of dashes for query params
2019-11-05 09:51:53 -05:00
Drew Bailey
8178beecf0
address feedback, use agent_endpoint instead of monitor
2019-11-05 09:51:53 -05:00
Drew Bailey
8e3915c7fc
use channel instead of empty string to determine close
2019-11-05 09:51:52 -05:00
Drew Bailey
da6229d704
update go-hclog dep
...
remove duplicate lock
2019-11-05 09:51:52 -05:00
Drew Bailey
db65b1f4a5
agent:read acl policy for monitor
2019-11-05 09:51:52 -05:00
Drew Bailey
f46fd5b3e1
only look up rpchandler for node if we have nodeid
...
fix some comments and nomad monitor -h output
2019-11-05 09:51:51 -05:00
Drew Bailey
2533617888
rpc acl tests for both monitor endpoints
2019-11-05 09:51:51 -05:00
Drew Bailey
3c33747e1f
client monitor endpoint tests
2019-11-05 09:51:50 -05:00
Drew Bailey
4bc68855d0
use intercepting loggers for rpchandlers
2019-11-05 09:51:50 -05:00
Drew Bailey
3b9c33a5f0
new hclog with standardlogger intercept
2019-11-05 09:51:49 -05:00
Drew Bailey
a45ae1cd58
enable json formatting, use queryoptions
2019-11-05 09:51:49 -05:00