Mahmood Ali
a15bdc130d
Add tests for orphaned processes
2019-11-18 21:31:29 -05:00
Luiz Aoqui
39f1d61938
update CHANGELOG
2019-11-15 15:45:38 -05:00
Luiz Aoqui
b0615a7132
Merge pull request #6698 from hashicorp/f-add-drain-start-time
...
api: add `StartedAt` in `Node.DrainStrategy`
2019-11-15 15:38:38 -05:00
Charlie Voiselle
455f9dd165
Merge pull request #6705 from hashicorp/docs-index-redir
...
Update redirects.txt
2019-11-14 16:47:03 -05:00
Charlie Voiselle
c8712dbbf2
a few more redirects
2019-11-14 16:38:24 -05:00
Charlie Voiselle
a1eb910423
Update redirects.txt
2019-11-14 16:29:06 -05:00
Luiz Aoqui
527290cc10
api: use the same initial time for all drain properties
2019-11-14 16:06:09 -05:00
Drew Bailey
e27e323a59
Merge pull request #6691 from hashicorp/f-nomad-monitor-leader
...
Nomad monitor - target remote servers
2019-11-14 11:47:43 -05:00
Drew Bailey
e46c41553d
serverID to target remote leader or server
...
handle the case where we request a server-id which is this current server
update docs, error on node and server id params
more accurate names for tests
use shared no leader err, formatting
rm bad comment
remove redundant variable
2019-11-14 10:07:35 -05:00
Drew Bailey
fb49f3c35b
add server-id to monitor specific server
2019-11-14 09:53:41 -05:00
Drew Bailey
5a31bd62ca
Allows monitor to target leader server
...
Allows user to pass in node-id=leader to forward monitor request to
remote a remote leader.
2019-11-14 09:53:40 -05:00
Drew Bailey
ed111c3b1b
Merge pull request #6693 from hashicorp/update-consul-template-0.22.1
...
updates consul template deps to v0.22.1
2019-11-14 09:47:43 -05:00
Drew Bailey
0719f5983f
updates consul template deps to v0.22.1
...
pin to v0.22.1
2019-11-14 08:58:34 -05:00
Luiz Aoqui
10241039d4
api: add StartedAt in Node.DrainStrategy
2019-11-13 17:54:40 -05:00
Drew Bailey
7ab3e7f73e
Merge pull request #6696 from alrs/nomad-fix-dropped-test-error
...
nomad: fix dropped test error
2019-11-13 16:12:43 -05:00
Lars Lehtonen
7004ff3a9d
nomad: fix dropped test error
2019-11-13 12:49:41 -08:00
Drew Bailey
c24a631def
Merge pull request #6670 from hashicorp/api/fallthrough-test
...
test rootfallthrough handler
2019-11-13 10:51:31 -05:00
Charlie Voiselle
d696de6df7
Merge pull request #6688 from hashicorp/docs-fix-constraint-link
...
[docs] Fix link; discuss meta; lint fixes
2019-11-13 09:34:42 -05:00
Lars Lehtonen
75476e350d
command/agent: Prune Dead Code ( #6682 )
...
* remove unused MockPeriodicJob() from tests
* remove unused getIndex() from tests
* remove unused checkIndex() from tests
* remove unused assertIndex() from tests
* remove unused Agent.findLoopbackDevice()
2019-11-13 08:20:01 -05:00
Lars Lehtonen
bbefae5506
command: error handling before file close ( #6681 )
2019-11-13 08:18:20 -05:00
Charlie Voiselle
d8789ece42
Fix link; discuss meta; lint fixes
2019-11-12 17:32:21 -05:00
Michael Schurter
1596a62ce3
Merge pull request #6687 from hashicorp/f-override-vault-constraint
...
vault: allow overriding implicit vault constraint
2019-11-12 12:47:57 -08:00
Michael Schurter
a1b36c949f
Merge branch 'master' into f-override-vault-constraint
2019-11-12 12:47:41 -08:00
Michael Schurter
063cf1219a
vault: allow overriding implicit vault constraint
...
There's a bug in version parsing that breaks this constraint when using
a prerelease enterprise version of Vault (eg 1.3.0-beta1+ent). While
this does not fix the underlying bug it does provide a workaround for
future issues related to the implicit constraint. Like the implicit
Connect constraint: *all* implicit constraints should be overridable to
allow users to workaround bugs or other factors should the need arise.
2019-11-12 12:26:36 -08:00
Drew Bailey
e187a7f3f9
fix so assertions are test case driven
2019-11-12 14:28:21 -05:00
Mahmood Ali
f7cfab3af2
backfill Mahmood's changelog items
2019-11-12 13:50:32 -05:00
Mahmood Ali
11517745d9
Merge pull request #6685 from hashicorp/b-api-separation-20191112
...
remove accidental project leakage in api/ package
2019-11-12 13:47:06 -05:00
Mahmood Ali
fe7696ccae
tests appear as github.com/hashicorp/nomad/api.test
2019-11-12 11:33:20 -05:00
Mahmood Ali
764d0c2096
Merge pull request #6680 from hashicorp/b-gh-6570-explicit_max_ttl
...
vault: check token_explicit_max_ttl as well
2019-11-12 16:03:06 +00:00
Mahmood Ali
f118def827
api: go-uuid is no longer needed
2019-11-12 11:02:33 -05:00
Mahmood Ali
7f027a68ea
api: avoid depending on helper internal package
2019-11-12 11:02:33 -05:00
Mahmood Ali
d3b41e18a3
api: avoid depending on nomad in test files
2019-11-12 09:32:13 -05:00
Mahmood Ali
b094d915ba
vault: check token_explicit_max_ttl as well
...
Vault 1.2.0 deprecated `explicit_max_ttl` in favor of
`token_explicit_max_ttl`.
2019-11-12 08:47:23 -05:00
Lars Lehtonen
2784f166e5
command: fix TestHelpers_LineLimitReader_TimeLimit() goroutine ( #6678 )
2019-11-12 08:35:11 -05:00
James Rasell
33ba439721
Set OOMScoreAdjust within systemd dist example ( #6679 )
...
closes #6672
2019-11-12 08:30:54 -05:00
Tim Gross
75c10ce0c4
changelog: windows service manager
2019-11-11 15:18:54 -05:00
Charlie Voiselle
1ec6388145
Added service wrapper code ( #6220 )
...
This is the basic code to add the Windows Service Manager hooks to Nomad.
Includes vendoring golang.org/x/sys/windows/svc and added Docs:
* guide for installing as a windows service.
* configuration for logging to file from PR #6429
2019-11-11 15:16:07 -05:00
Chris Baker
cd9f68d79e
Merge pull request #6675 from hashicorp/docs-fix-bad-vault-url
...
there was a bad (localhost) URL in the vault docs (cherry pick of #6674 )
2019-11-11 13:28:20 -06:00
Chris Baker
a8e1a21dc8
there was a bad (localhost) URL in the vault docs
2019-11-11 19:24:40 +00:00
Chris Raborg
ddfa9a8ad5
Update MonitorDrain comment to indicate channel is closed on errors ( #6671 )
...
Fixes #6645
2019-11-11 14:15:17 -05:00
Drew Bailey
3fea25bf30
Merge pull request #6666 from hashicorp/drew-changelog
...
update changelog
2019-11-11 12:17:07 -05:00
Drew Bailey
e84eed84d4
test /ui/ path
2019-11-11 12:12:42 -05:00
Drew Bailey
6ad44f7ea6
test rootfallthrough handler
2019-11-11 12:08:44 -05:00
Charlie Voiselle
38d06d790a
Merge pull request #6668 from hashicorp/docs-firecracker-lint
...
linter fixes
2019-11-11 10:59:01 -05:00
Charlie Voiselle
b4ce4dfdb2
linter fixes
2019-11-11 10:04:17 -05:00
Lars Lehtonen
101d0373ee
command/agent: TestAgent_ServerConfig() fix dropped errors ( #6659 )
2019-11-11 09:46:46 -05:00
Drew Bailey
2973c7ce60
update changelog
2019-11-11 08:56:14 -05:00
Tim Gross
0ec039eddb
doc: add missing fields to LXC driver documentation ( #6640 )
...
The LXC task driver documentation is missing for many of the optional
task config fields, and for the recently added `gc` field on the
driver configuration.
2019-11-11 08:51:30 -05:00
Drew Bailey
2f0c588baf
Merge pull request #6658 from hashicorp/b-404-redirect
...
return a 404 if not found instead of redirect to ui
2019-11-11 08:50:56 -05:00
Carlos Neira
6e59e9b208
Added firecracker-task-driver to community docs ( #6654 )
...
* Added firecracker-task-driver to community docs
Signed-off-by: Carlos Neira <cneirabustos@gmail.com >
2019-11-11 08:50:27 -05:00