Commit graph

18020 commits

Author SHA1 Message Date
Michael Schurter 4bd6372284
Merge pull request #7675 from hashicorp/release-post-0110
Prepare for 0.11.1 release
2020-04-09 12:20:39 -07:00
Michael Schurter 084c6bb94b docs: add #7673 to changelog 2020-04-09 12:18:34 -07:00
Mahmood Ali c64a79f6d1
Merge pull request #7673 from hashicorp/b-http2-cached-connections
vendor: upgrade golang.org/x/net packages
2020-04-09 15:14:40 -04:00
Michael Schurter c763cb3b37 docs: prep changelog for 0.11.1 2020-04-09 12:11:54 -07:00
Michael Schurter f93ee566cf release: bump version to 0.11.1 for development 2020-04-09 12:11:13 -07:00
James Rasell 20fd17c166
Merge pull request #7666 from hashicorp/add-0.11.0-changelog-release-date
changelog: add 0.11.0 release date.
2020-04-09 21:10:15 +02:00
Mahmood Ali 63d15d7e5c vendor: upgrade golang.org/net/...
golang.org/net packages are ancient - upgrading them to pick up
important fixes, e.g. https://go-review.googlesource.com/c/go/+/87298/
2020-04-09 14:57:39 -04:00
Mahmood Ali 1271c4ce96
Merge pull request #7672 from hashicorp/dev-e2e-tweaks-20200409
e2e: add a convenient creation script
2020-04-09 11:30:48 -04:00
Mahmood Ali c8eddb9f6b fixup! e2e: add a convenient creation script 2020-04-09 11:04:26 -04:00
Mahmood Ali 8a4937d9ce e2e: add a convenient creation script
Add a convenience Makefile for creating e2e environment for manual
debugging.
2020-04-09 10:54:30 -04:00
James Rasell cb2719b7e6
changelog: add 0.11.0 release date. 2020-04-09 10:35:17 +02:00
Mahmood Ali 030e40ac5c
Merge pull request #7652 from hashicorp/v-gomod-msgpaack
dev: Use go mod for managing hashicorp/go-msgpack
2020-04-08 14:42:39 -04:00
Mahmood Ali 00ea28b0cd go mod for go-bindata
Use go mod for github.com/hashicorp/go-bindata/go-bindata and
github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs but use
`@master` to pull the latest master.  These packages don't have release
tags so `@master` worksaround it.
2020-04-08 14:30:37 -04:00
Mahmood Ali c3ac0ecf7a
Merge pull request #7650 from hashicorp/deflake-set-server-tests
tests: deflake some SetServer related tests
2020-04-08 14:28:30 -04:00
Michael Schurter 65615768c2
Merge pull request #7658 from hashicorp/docs-0110
docs: update downloads+banner for 0.11.0 GA
2020-04-08 08:58:24 -07:00
Tim Gross 00bcb579e8
dist: make README consistent with service unit (#7648) 2020-04-08 09:32:03 -04:00
Mahmood Ali 3d49a31135
Merge pull request #7662 from hashicorp/docs-external-rkt
docs: move rkt to external drivers
2020-04-08 07:59:26 -04:00
Mahmood Ali 2ef4ce04bb
change tense
Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-04-08 07:59:11 -04:00
Mahmood Ali fa4a6f7052 docs: move rkt to external drivers 2020-04-07 23:13:16 -04:00
Michael Schurter 5938115e30 docs: update downloads+banner for 0.11.0 GA 2020-04-07 15:14:22 -07:00
Michael Schurter e80b53c3d4
Merge pull request #7654 from hashicorp/docs-beta
docs: update changelog/upgrade for 0.11.0
2020-04-07 11:31:45 -07:00
Michael Schurter 34581070f8 docs: remove 0.11 from scaling docs
Keep beta label for now.
2020-04-07 11:22:13 -07:00
Michael Schurter 75018847ec docs: remove beta marker from lifecycle 2020-04-07 11:22:04 -07:00
Michael Schurter fa9bf43cad
Update website/pages/docs/upgrade/upgrade-specific.mdx
Co-Authored-By: Buck Doyle <buck@hashicorp.com>
2020-04-07 11:08:40 -07:00
Michael Schurter cfecae904b
Update CHANGELOG.md
Co-Authored-By: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-04-07 10:45:18 -07:00
Michael Schurter a338597ec1 docs: update changelog/upgrade for 0.11.0 2020-04-07 10:32:23 -07:00
Tim Gross 457b83a967
build: remove working dir from stack traces (#7653)
Adding `-trimpath` to builds removes the local working directory from
the goroutine stack traces, which makes our builds more reproducible
and doesn't leak information about our local development workstations
or CI environment.
2020-04-07 13:32:07 -04:00
dependabot[bot] 7e6a05370f
build(deps): bump next from 9.3.1 to 9.3.2 in /website (#7571)
Bumps [next](https://github.com/zeit/next.js) from 9.3.1 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases)
- [Commits](https://github.com/zeit/next.js/compare/v9.3.1...v9.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-07 12:31:27 -04:00
Mahmood Ali 89be4e23c3 dev: Use go mod for managing hashicorp/go-msgpack 2020-04-07 10:52:04 -04:00
Michael Schurter b48be2838c
Merge pull request #7651 from hashicorp/docs-0110rc1
docs: add 0.11.0-rc1 to download page
2020-04-07 07:51:08 -07:00
dependabot[bot] f565841782
build(deps): bump acorn from 5.7.3 to 5.7.4 in /ui (#7346)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-07 10:50:21 -04:00
Michael Schurter 85d4309128 docs: add 0.11.0-rc1 to download page
update banner from "Beta" to "Release Candidate"
2020-04-07 07:48:53 -07:00
Mahmood Ali 14d6fec05a tests: deflake some SetServer related tests
Some tests assert on numbers on numbers of servers, e.g.
TestHTTP_AgentSetServers and TestHTTP_AgentListServers_ACL . Though, in dev and
test modes, the agent starts with servers having duplicate entries for
advertised and normalized RPC values, then settles with one unique value after
Raft/Serf re-sets servers with one single unique value.

This leads to flakiness, as the test will fail if assertion runs before Serf
update takes effect.

Here, we update the inital dev handling so it only adds a unique value if the
advertised and normalized values are the same.

Sample log lines illustrating the problem:

```
=== CONT  TestHTTP_AgentSetServers
    TestHTTP_AgentSetServers: testlog.go:34: 2020-04-06T21:47:51.016Z [INFO]  nomad.raft: initial configuration: index=1 servers="[{Suffrage:Voter ID:127.0.0.1:9008 Address:127.0.0.1:9008}]"
    TestHTTP_AgentSetServers: testlog.go:34: 2020-04-06T21:47:51.016Z [INFO]  nomad: serf: EventMemberJoin: TestHTTP_AgentSetServers.global 127.0.0.1
    TestHTTP_AgentSetServers: testlog.go:34: 2020-04-06T21:47:51.035Z [DEBUG] client.server_mgr: new server list: new_servers=[127.0.0.1:9008, 127.0.0.1:9008] old_servers=[]
...
    TestHTTP_AgentSetServers: agent_endpoint_test.go:759:
                Error Trace:    agent_endpoint_test.go:759
                                                        http_test.go:1089
                                                        agent_endpoint_test.go:705
                Error:          "[127.0.0.1:9008 127.0.0.1:9008]" should have 1 item(s), but has 2
                Test:           TestHTTP_AgentSetServers
```
2020-04-07 09:27:48 -04:00
Charles Z 42e1070aa4
Fix wrong title in sidecar_task stanza docs (#7335) 2020-04-07 08:28:30 -04:00
Spencer Owen 51741f7aad
Improve vault language (#7644) 2020-04-07 07:54:25 -04:00
Tim Gross caa258b924
docs: add warnings for CSI plugin jobspec (#7642)
* Node/monolith plugins require root privileges and this wasn't being
  made super clear.
* Node/monolith plugins should always be run as system jobs.
2020-04-07 07:51:50 -04:00
Lang Martin c0dbcbef5f
e2e: csi: wait for volume write claims to be released before starting read jobs (#7641) 2020-04-07 07:40:44 -04:00
Michael Schurter b5104e5b6a
Merge pull request #7643 from hashicorp/b-7537
ar/bridge_networking: ensure cni configuration is loaded
2020-04-06 20:25:40 -07:00
Michael Schurter 3c5205c534 docs: add #7643 to changelog 2020-04-06 20:25:09 -07:00
Nick Ethier 44ad5d96d8
ar/bridge: use cni.IsCNINotInitialized helper 2020-04-06 21:44:01 -04:00
Nick Ethier 58fe326090
ar/bridge: better cni status err handling 2020-04-06 21:21:42 -04:00
Nick Ethier 6a286777c7
ar/bridge: ensure cni configuration is always loaded 2020-04-06 21:02:26 -04:00
Nick Ethier 5166806993
Merge pull request #7600 from hashicorp/b-5767
tr/service_hook: prevent Update from running before Poststart finish
2020-04-06 16:52:42 -04:00
Tim Gross 0a9b32e94e
docs: fix broken internal link on job plan page (#7640) 2020-04-06 16:39:11 -04:00
Michael Lange 35d4b48644
Merge pull request #7577 from hashicorp/f-ui/csi-beta-label
UI: Change CSI to Storage and mark it as beta
2020-04-06 13:21:11 -07:00
Nick Ethier 567609e101
tr/service_hook: reset initialized flag during deregister 2020-04-06 16:05:36 -04:00
Buck Doyle f10906e006
UI: add exec handling for dead jobs/task states (#7637)
This closes #7456. It hides the terminal when the job is dead and
displays an error when trying to open an exec session for a task
that isn’t running. There’s a skipped test for the latter behaviour
that I’ll have to come back for.
2020-04-06 14:08:22 -05:00
Buck Doyle fc7de8b153
UI: add live-updating to exec sidebar (#7499)
This closes #7454. It makes use of the existing watchable tools to
allow the exec popup sidebar to be live-updating. It also adds
alphabetic sorting of task groups and tasks.
2020-04-06 13:52:42 -05:00
Drew Bailey 476ca7e7b6
Merge pull request #7638 from hashicorp/audit-docs-queryparams
add note about query params for filtering
2020-04-06 13:08:55 -04:00
Drew Bailey 71b687e7d8
add note about query params for filtering 2020-04-06 13:07:38 -04:00