Commit graph

17221 commits

Author SHA1 Message Date
Mahmood Ali d59f149597
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 f85cbddaf1
gopsutils: v2.20.2
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 09:36:59 +01:00
Yoan Blanc c8e69a0427
docker: v18.09.9
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 08:23:11 +01:00
Mahmood Ali 2de0310085
Merge pull request #7348 from greut/fix-govendor-sync
vendor: vendor.json cleanup
2020-03-14 20:12:59 -04:00
Yoan Blanc 490369515c
fixup! vendor: vendor.json cleanup
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-14 17:58:24 +01:00
Yoan Blanc 4c9754bcfb
vendor: vendor.json cleanup
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-14 14:38:05 +01:00
Jeff Escalante 206c38df8c clarify downloads page error, document version and prerelease flow 2020-03-13 18:11:20 -04:00
Chris Baker 4eb863c44f
Merge pull request #7337 from hashicorp/cgbaker-patch-1
fix typo in comment
2020-03-13 09:28:39 -05:00
Chris Baker d6364e13bc
fix typo in comment 2020-03-13 09:09:46 -05:00
Mahmood Ali dae4dcaa4e
Merge pull request #7331 from hashicorp/c-deflake-deploymentwatcher
tests: deflake deploymentwatcher package
2020-03-13 09:33:26 -04:00
Mahmood Ali 11cff33e4f
Merge pull request #7304 from hashicorp/c-check-non-vendored-libraries
ci: add a check for non-vendored packages
2020-03-13 09:12:30 -04:00
James Rasell f7b73cb0fb
Merge pull request #7324 from hashicorp/chngelog-entry-5970
Update CHANGELOG.md with #5970 entry.
2020-03-13 13:00:52 +01:00
Jeff Escalante 77e6ad8867 Revert "Merge pull request #7322 from hashicorp/docs-fix-guide-links"
This reverts commit 4311f5e95657a2eb7b231daf326af252e6c75ae7, reversing
changes made to 5d5469e6facfc4ab59235d5532664bb95a597728.
2020-03-12 18:18:14 -04:00
Charlie Voiselle 2e95097106
Merge pull request #7322 from hashicorp/docs-fix-guide-links
Working on "/guides" links
2020-03-12 16:04:28 -04:00
Charlie Voiselle e1f6cf4734 Working on "/guides" links 2020-03-12 15:46:39 -04:00
Mahmood Ali 9d88f1d568 tests: deflake deploymentwatcher package
This deflake the tests in the deploymentwatcher package.  The package
uses a mock deployment watcher backend, where the watcher in a
background goroutine calls UpdateDeploymentStatus .  If the mock isn't
configured to expect the call, the background goroutine will fail.  One
UpdateDeploymentStatus call is made at the end of the background
goroutine, which may occur after the test completes, thus explaining the
flakiness.
2020-03-12 15:42:01 -04:00
James Rasell 8a4641fa4a
Update CHANGELOG.md with #5970 entry. 2020-03-12 10:10:33 +01:00
James Rasell 8a5acf7fd5
Merge pull request #5970 from jrasell/bug-gh-5506
Fix returned EOF error when calling Nodes GC/GcAlloc API
2020-03-12 10:04:17 +01:00
Dane Harrigan c4f8d41720
Merge pull request #7301 from hashicorp/daneharrigan-patch-2
Update index.mdx
2020-03-11 23:17:58 -07:00
Michael Schurter ca9f92fb18
Merge pull request #7226 from hashicorp/daneharrigan-patch-1
Fix rendered backslash in group "<required>"
2020-03-11 13:27:43 -07:00
Michael Schurter 15b67dea37
Merge pull request #7310 from hashicorp/b-vault-grace
jobspec: fixup vault_grace deprecation
2020-03-11 09:14:13 -07:00
Michael Schurter 2dcc85bed1 jobspec: fixup vault_grace deprecation
Followup to #7170

- Moved canonicalization of VaultGrace back into `api/` package.
- Fixed tests.
- Made docs styling consistent.
2020-03-10 14:58:49 -07:00
Michael Schurter b72b3e765c
Merge pull request #7170 from fredrikhgrelland/consul_template_upgrade
Update consul-template to v0.24.1 and remove deprecated vault grace
2020-03-10 14:15:47 -07:00
Mahmood Ali b6f3effc5b ci: add a check for non-vendored packages
This check fails the lint-go CI job if nomad references a package that
is not vendored.
2020-03-09 15:25:00 -04:00
Chris Baker 8f1fc0fc56
Merge pull request #7300 from hashicorp/cgbaker-patch-1
updated /agent/monitor query parameter
2020-03-09 13:51:43 -04:00
Dane Harrigan 6685cf34f0
Update index.mdx
Addressing headers not being rendered. Missing space between "##" and text.
2020-03-09 10:38:47 -07:00
Chris Baker b5da96a633
updated /agent/monitor query parameter
query param is `log_json`, not `json`
2020-03-09 12:38:15 -05:00
Michael Schurter 452b6f004f
Merge pull request #7231 from hashicorp/b-alloc-dev-panic
api: fix panic when displaying devices w/o stat
2020-03-09 07:34:59 -07:00
Mahmood Ali 1c081f4c5b
Merge pull request #7286 from hashicorp/deflake-tests-20200306
Deflake TestServer_ReconcileMember and some leadership related tests
2020-03-06 17:36:05 -05:00
Mahmood Ali 0a539c629f tests: wait until leadership loop finishes
Reverts d5c7d6e491e36a11159211f5236c19a41bed4d8e .

We actually need to forward the request to ensure that the leader is
properly configured and that establishedLeadership completes.
2020-03-06 14:41:59 -05:00
Mahmood Ali 005bd37758 tests: deflake TestServer_ReconcileMember
TestServer_ReconcileMember assumes that S3 isn't the leader:
`reconcileMembers` call would fail when attempting to remove itself!
2020-03-06 14:14:41 -05:00
Mahmood Ali 54299a4caa
Merge pull request #7274 from hashicorp/b-exec-tls
api: alloc exec recovers from bad client connection
2020-03-05 10:16:37 -05:00
Buck Doyle 70d3491c4c
UI: Remove build-binaries job for UI-only branches (#7273) 2020-03-04 17:36:18 -08:00
Mahmood Ali 37e0598344 api: alloc exec recovers from bad client connection
If alloc exec fails to connect to the nomad client associated with the
alloc, fail over to using a server.

The code attempted to special case `net.Error` for failover to rule out
other permanent non-networking errors, by reusing a pattern in the
logging handling.

But this pattern does not apply here.  `net/http.Http` wraps all errors
as `*url.Error` that is net.Error.  The websocket doesn't, and instead
returns the raw error.  If the raw error isn't a `net.Error`, like in
the case of TLS handshake errors, the api package would fail immediately
rather than failover.
2020-03-04 17:43:00 -05:00
Charlie Voiselle 0496232b59
Merge pull request #7263 from hashicorp/docs-more-guide-redirects
Add redirects to learn for migrated guides
2020-03-04 17:10:35 -05:00
Tim Gross 79222c36bf
e2e: add EBS and EFS volumes for testing CSI (#7266)
This changeset adds volumes but does not mount them to instances so
that we can test the mounting ("staging") via CSI plugins. The CSI
plugins themselves will be installed as Nomad jobs.

In order to ensure we can always mount the EFS volume, this changeset
pins the deployment of the cluster to a specific subnet. In future
work we should spread the cluster out among several AZs and test that
behavior explicitly.
2020-03-04 10:44:51 -05:00
Mahmood Ali 21e19ef40d
Merge pull request #7255 from hashicorp/vendor-update-grpc-20200302
update grpc
2020-03-04 09:32:16 -05:00
Jeff Escalante a78288b980
update bugsnag config (#7261) 2020-03-03 17:51:24 -05:00
Charlie Voiselle 2f723d4115 Add redirects to learn for migrated guides 2020-03-03 17:24:21 -05:00
Mahmood Ali 19f25f588f
Merge pull request #7252 from hashicorp/b-test-cluster-forming
Simplify Bootstrap logic in tests
2020-03-03 16:56:08 -05:00
Mahmood Ali 17ee94b52b fix typo 2020-03-03 16:55:54 -05:00
Mahmood Ali dd40d55cba
Merge pull request #7237 from hashicorp/b-config-cnipath-parsing
Honor CNI and bridge related config fields
2020-03-03 08:43:19 -05:00
Mahmood Ali 88cfe504a0 update grpc
Upgrade grpc to v1.27.1 and protobuf plugins to v1.3.4.
2020-03-03 08:39:54 -05:00
Nick Ethier 73d8fdbe31
Merge pull request #6930 from JanMa/add-nspawn-driver
docs: add nspawn as external task driver plugin
2020-03-03 07:33:13 -05:00
James Rasell 8eb62fccb8
Merge pull request #7242 from hashicorp/b-gh-7240
docs: remove Nomad binary size specifics from documentation.
2020-03-03 08:41:50 +01:00
Mahmood Ali 94a5b61d7a
Merge pull request #7247 from hashicorp/build-go1.14
use golang 1.14
2020-03-02 20:28:54 -05:00
Mahmood Ali 753c75f2bd
Merge pull request #7246 from hashicorp/b-e2e-args-parsing
e2e: avoid parsing Args in pkg init
2020-03-02 20:28:42 -05:00
Jeff Escalante 86f72a6c40
a couple more updates (#7211) 2020-03-02 17:15:29 -05:00
Jonathan Neal a3b6be0024
[website] add print styles (#7182) 2020-03-02 17:13:24 -05:00
Mahmood Ali 15c2504a30 changelog 2020-03-02 15:20:25 -05:00