Mahmood Ali
08d1b4e18a
it's running now
2020-03-21 17:52:37 -04:00
Jasmine Dahilig
8fac2b5094
change TaskLifecycle RunLevel to Hook and add Deadline time duration
2020-03-21 17:52:37 -04:00
Mahmood Ali
98cc65b68c
update structs with lifecycle
2020-03-21 17:52:36 -04:00
Mahmood Ali
a556c0d923
add lifecycle to api and parser
2020-03-21 17:52:36 -04:00
Mahmood Ali
729743a136
Merge pull request #7408 from greut/vault-sdk
...
vendor: vault api and sdk
2020-03-21 14:52:49 -04:00
Yoan Blanc
ac9b99e956
fixup! vendor: add golang.org/x/crypto/ed25519
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-21 18:03:09 +01:00
Yoan Blanc
80e7f1fc29
vendor: add golang.org/x/crypto/ed25519
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-21 18:00:41 +01:00
Yoan Blanc
77cf2f0573
vendor: vault api and sdk
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-21 17:57:48 +01:00
Mahmood Ali
33af299b53
Merge pull request #7407 from greut/runc-v1.0.0-rc7
...
Runc v1.0.0 rc7
2020-03-21 11:08:31 -04:00
Yoan Blanc
ef36f20386
vendor: opencontainrs/runc v1.0.0-rc7
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-21 15:43:02 +01:00
Yoan Blanc
95f3ab8388
remove all opencontainers/runc
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-21 15:33:30 +01:00
Mahmood Ali
88bab87afb
Merge pull request #7403 from hashicorp/tests-deflake-TestRPC_Limits_Streaming
...
Deflake TestRPC_Limits_Streaming test
2020-03-20 18:57:48 -04:00
Mahmood Ali
ff7c747633
Deflake TestRPC_Limits_Streaming test
...
The test starts enough connections to hit the limit, then closes the
connection and immediately starts one expecting the new one to succeed.
We must wait until the server side recognizes the connection
closing and free up a limits slot. The current test attempts to achieve
that by waiting to get an error on conn.Read, however, this error is
returned from local client without waiting for server update.
As such, I change the logic so it retries on connection rejection but
force the first non-EOF failure to be a deadline error.
2020-03-20 17:21:43 -04:00
Mahmood Ali
bf55da4e1b
Merge pull request #7402 from hashicorp/km.docker-env-debug
...
update website docker job to use proper git url
2020-03-20 15:53:40 -04:00
Kyle MacDonald
31ea0853c3
update website docker job to use proper git url
2020-03-20 15:43:36 -04:00
Mahmood Ali
2949c441fb
Merge pull request #7391 from greut/bump-containerd-console
...
vendor: update containerd/console
2020-03-20 07:47:01 -04:00
Yoan Blanc
2734e9a0f2
vendor: update containerd/console
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-20 08:27:10 +01:00
Michael Schurter
d496f7b030
Merge pull request #7254 from jboero/patch-1
...
Completed a ppc64le build for testing.
2020-03-19 11:07:20 -07:00
Mahmood Ali
ffbc3e9f98
Merge pull request #7385 from greut/direct-vendors
...
vendors: avoid vendors from docker's vendors
2020-03-19 11:53:22 -04:00
Yoan Blanc
8711bf9122
vendors: avoir vendors from docker's vendors
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-19 14:31:58 +01:00
James Rasell
6b7b741fab
Merge pull request #7379 from hashicorp/b-fix-agent-cmd--dev-connect-help
...
cli: fix indentation issue with -dev-connect agent help output.
2020-03-19 08:34:45 +01:00
Mahmood Ali
10eb9556f4
Merge pull request #7369 from DerekStrickland/ambiguous-use-of-filter
...
clarify log output
2020-03-18 14:44:17 -04:00
Drew Bailey
be39ab37ba
Merge pull request #7269 from hashicorp/checklist-jobspec-update
...
add note to check for job diff
2020-03-18 11:18:39 -04:00
James Rasell
45fc9270a6
Merge pull request #7313 from hashicorp/docs-gh-7294
...
docs: explicitly detail IAM instance profile S3 artifact auth.
2020-03-18 15:43:41 +01:00
Mahmood Ali
3e95e3571b
Merge pull request #7370 from hashicorp/b-leader-forwarding-client-detection
...
server: node connections must not be forwarded
2020-03-18 08:29:48 -04:00
Mahmood Ali
63b8e45a12
Protect against args being modified
2020-03-18 08:11:16 -04:00
James Rasell
9fb4aa4d77
cli: fix indentation issue with -dev-connect agent help output.
2020-03-18 12:25:20 +01:00
Mahmood Ali
429f5311b5
server: node connections must not be forwarded
...
This fixes a bug where a forwarded node update request may be assumed
to be the actual direct client connection if the server just lost
leadership.
When a nomad non-leader server receives a Node.UpdateStatus request, it
forwards the RPC request to the leader, and holds on the request
Yamux connection in a cache to allow for server<->client forwarding.
When the leader handles the request, it must differentiate between a
forwarded connection vs the actual connection. This is done in
https://github.com/hashicorp/nomad/blob/v0.10.4/nomad/node_endpoint.go#L412
Now, consider if the non-leader server forwards to the connection to a
recently deposed nomad leader, which in turn forwards the RPC request to
the new leader.
Without this change, the deposed leader will mistake the forwarded
connection for the actual client connection and cache it mapped to the
client ID. If the server attempts to connect to that client, it will
attempt to start a connection/session to the other server instead and
the call will hang forever.
This change ensures that we only add node connection mapping if the
request is not a forwarded request, regardless of circumstances.
2020-03-17 16:39:01 -04:00
Derek Strickland
3ed990296b
update log output to clarify that nodes were filtered out rather than down
2020-03-17 14:45:11 -04:00
Michael Schurter
0ecda99231
Merge pull request #7342 from hashicorp/docs-acl-link
...
docs: add some links to the acl guide
2020-03-17 08:38:22 -07:00
Mahmood Ali
ac53c110a6
Merge pull request #7236 from hashicorp/b-remove-rkt
...
Remove rkt as a built-in driver
2020-03-17 09:07:35 -04:00
Brandon Romano
92e1c0fe2c
Merge pull request #7353 from hashicorp/website-code-inline
...
website: Fix bug with new lines in code samples
2020-03-16 21:02:32 -07:00
Jonathan Neal
77b7b4f4d5
Use Head Component ( #7334 )
2020-03-16 13:10:31 -04:00
Mahmood Ali
641ab4a992
Merge pull request #7355 from hashicorp/v-gopsutil-macos
...
Vendor shirou/gopsutil C files
2020-03-16 09:58:49 -04:00
Mahmood Ali
8ac2faeaad
Vendor shirou/gopsutil c files
...
This change adds Darwin and FreeBSD C code of gopsutil library, that is
needed for these platforms. `shirou/gopsutil` uses some C code that
isn't in a go package, so don't get vendored automatically.
2020-03-16 09:43:44 -04:00
Mahmood Ali
aaf15e624f
Merge pull request #7352 from hashicorp/c-e2e-fs-creation-token
...
e2e: use unique CSI token
2020-03-16 08:20:50 -04:00
Brandon Romano
c0a653ce33
Fix bug with new lines in code samples
...
Previously we were adding in an invisible space to force a newline here.
That is no longer needed.
2020-03-15 22:20:12 -07:00
Brandon Romano
a2b471ff9d
Merge pull request #7319 from jescalan/nf.swap-guide-icons
...
Update Icons for Guides
2020-03-15 21:59:16 -07:00
Mahmood Ali
c290a97069
e2e: use unique CSI token
...
Use a unique per-cluster efs creation token, as https://www.terraform.io/docs/providers/aws/r/efs_file_system.html#creation_token .
Using a static value prevents having multiple test clusters.
[ci skip]
2020-03-15 21:55:26 -04:00
Mahmood Ali
d1f40c8c2d
Merge pull request #7350 from greut/docker-18.09.9
...
docker: v18.09.9
2020-03-15 08:17:36 -04:00
Yoan Blanc
600186dbac
ci: bump consul and vault
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-15 11:01:55 +01:00
Yoan Blanc
d925125bc4
bump golang.org/x/sys
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-15 09:53:21 +01:00
Mahmood Ali
4e4c3873cb
Update gopsutil code
...
Latest gosutil includes two backward incompatible changes:
First, it removed unused Stolen field in
cae8efcffa (diff-d9747e2da342bdb995f6389533ad1a3d)
.
Second, it updated the Windows cpu stats calculation to be inline with
other platforms, where it returns absolate stats rather than
percentages. See https://github.com/shirou/gopsutil/pull/611 .
2020-03-15 09:37:05 +01:00
Yoan Blanc
f80cbe86a1
gopsutils: v2.20.2
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-15 09:36:59 +01:00
Yoan Blanc
9032cbe304
docker: v18.09.9
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-15 08:23:11 +01:00
Mahmood Ali
240b09bc5b
Merge pull request #7348 from greut/fix-govendor-sync
...
vendor: vendor.json cleanup
2020-03-14 20:12:59 -04:00
Yoan Blanc
b7ab84cbb2
fixup! vendor: vendor.json cleanup
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-14 17:58:24 +01:00
Yoan Blanc
e42205cde5
vendor: vendor.json cleanup
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-03-14 14:38:05 +01:00
Jeff Escalante
d286018536
clarify downloads page error, document version and prerelease flow
2020-03-13 18:11:20 -04:00
Michael Schurter
6d0e3b3058
docs: add some links to the acl guide
...
ACL APIs already have osme links, but the command and configuration
pages did not.
2020-03-13 10:16:01 -07:00