Commit graph

18920 commits

Author SHA1 Message Date
Seth Hoenig 6154181a64 connect/native: update connect native hook tests 2020-06-23 12:07:35 -05:00
Seth Hoenig c5d3f58bee connect/native: give tls files an extension 2020-06-23 12:06:28 -05:00
James Rasell bc40665f1d
cli: fix license get command help Synopsis text. 2020-06-23 18:47:39 +02:00
Seth Hoenig 6c5ab7f45e consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
Noel Quiles ed862e9cec
Add quote for CaseStudy carousel from BetterHelp 2020-06-23 11:18:31 -04:00
Mahmood Ali 0a3e355162
Merge pull request #8029 from hashicorp/alexandrafreeman-community-discuss-updates
Update resources index.jsx
2020-06-23 08:48:33 -04:00
Alexandra Freeman 8918408967 Update index.jsx
Per Slack conversation on April 30 with Schmichael and Gale. Aligning navigation verbiage with other .io sites (Community instead of Resources). Page updates remove Gitter and Mailing List links to direct users to the Forum. Also changed some header content and positioning. If this all doesn't work based on full content of page, happy to brainstorm a better approach. Thank you for reviewing!
2020-06-23 08:47:06 -04:00
Mahmood Ali d30a7c3e37
Merge pull request #8031 from BijanJohn/reschedule_delay_requirement
add notes about delay requirement for reschedule
2020-06-23 08:39:03 -04:00
Mahmood Ali e1c4109384
Merge pull request #8245 from rkettelerij/patch-3
[Docs] Add missing CLI flag to Nomad snapshot save example
2020-06-23 08:34:36 -04:00
Mahmood Ali 7506d9aa8e
Merge pull request #8246 from hashicorp/vendor-libcontainer-20200622
Upgrade libcontainer
2020-06-23 07:59:19 -04:00
Mahmood Ali e7a3d6e358 Update github.com/syndtr/gocapability
runc requires a more recent version
2020-06-22 17:10:41 -04:00
Mahmood Ali 7423f38771 Upgrade libcontainer dependency
Upgrade libcontainer dependency to pick up fix for CVE-2019-19921 .
2020-06-22 16:56:54 -04:00
Richard Kettelerij 01fc6e9525
Add missing CLI flag to Nomad snapshot example 2020-06-22 21:52:33 +02:00
Seth Hoenig 4d71f22a11 consul/connect: add support for running connect native tasks
This PR adds the capability of running Connect Native Tasks on Nomad,
particularly when TLS and ACLs are enabled on Consul.

The `connect` stanza now includes a `native` parameter, which can be
set to the name of task that backs the Connect Native Consul service.

There is a new Client configuration parameter for the `consul` stanza
called `share_ssl`. Like `allow_unauthenticated` the default value is
true, but recommended to be disabled in production environments. When
enabled, the Nomad Client's Consul TLS information is shared with
Connect Native tasks through the normal Consul environment variables.
This does NOT include auth or token information.

If Consul ACLs are enabled, Service Identity Tokens are automatically
and injected into the Connect Native task through the CONSUL_HTTP_TOKEN
environment variable.

Any of the automatically set environment variables can be overridden by
the Connect Native task using the `env` stanza.

Fixes #6083
2020-06-22 14:07:44 -05:00
Tim Gross 3b84c2d464
changelog for CSI volume context (#8243) 2020-06-22 14:49:56 -04:00
Buck Doyle b891dc88ff
Remove non-classic use of this.set (#8242)
This will fix a linting error introduced in 068ad06.
2020-06-22 13:23:28 -05:00
Tim Gross 3d38592fbb
csi: add VolumeContext to NodeStage/Publish RPCs (#8239)
In #7957 we added support for passing a volume context to the controller RPCs.
This is an opaque map that's created by `CreateVolume` or, in Nomad's case,
in the volume registration spec.

However, we missed passing this field to the `NodeStage` and `NodePublish` RPC,
which prevents certain plugins (such as MooseFS) from making node RPCs.
2020-06-22 13:54:32 -04:00
Mahmood Ali ad9d959d45
Merge pull request #8241 from hashicorp/docs-agent-unresponsive-note
Docs: note agent unresponsive
2020-06-22 12:08:04 -04:00
Mahmood Ali 9669446b56 docs: note 0.11.3 fixes a critical issue 2020-06-22 12:02:01 -04:00
Michael Lange a113346728
Merge pull request #8227 from hashicorp/d-ui/changelog-entries
UI changelog entries for 0.12
2020-06-22 08:50:03 -07:00
Buck Doyle ca7c252a96
Add linting for classic decorator (#8182)
This completes an installation step I missed when making #8144 and
marks classes that are using the EmberObject APIs as classic.
2020-06-22 10:48:53 -05:00
Kevin Pruett 62894f1d35
Merge pull request #8238 from hashicorp/pruett.update-banner-text
Update banner contents
2020-06-22 11:21:24 -04:00
Kevin Pruett 7043e4227e
Update banner contents 2020-06-22 11:20:06 -04:00
Mahmood Ali c76cd2b35b
Merge pull request #8237 from hashicorp/notnoop-followup-20200622
Assorted follow ups
2020-06-22 10:50:37 -04:00
Mahmood Ali 12ae1cb6cc changelog: 0.11.3 fixes a unresponsiveness bug 2020-06-22 10:31:24 -04:00
Mahmood Ali 1c1fb5da0a this is OSS 2020-06-22 10:28:45 -04:00
Mahmood Ali fa4e898c45 accomodate enterprise specific commands
`nomad operator snapshot agent` is an Enterprise specific command
2020-06-22 10:27:25 -04:00
Mahmood Ali 862834a792 testS: add all namespaces test for allocations 2020-06-22 10:26:08 -04:00
Chris Baker 0f04e3a7ab reverted current version back to 0.11.3 2020-06-22 13:09:42 +00:00
Chris Baker 39ad962f64 added download link for 0.12.0-beta1 2020-06-22 12:54:09 +00:00
Bryant Menn f2958b534c docs: fixes Nvidia plugin configuration docs (#7711) 2020-06-21 20:48:35 -04:00
Yishan Lin 2105d30692
Merge pull request #8231 from hashicorp/yishan-update-nomad-resources-website-page
Updated Nomad Resources Page
2020-06-20 21:43:52 -07:00
Michael Lange 44556d0acb
Fix flaky task-group-row test. (#8221)
Sometimes a job would be created with a running deployment which made
the increment button disabled.

While I was finding the root cause, I also changed the waitUntil pattern
to match the StepperInput technique which is more resilient to code
changes.
2020-06-20 09:48:32 -05:00
Yishan Lin c249ec267f Added missing HashiTalk from Dingo 2020-06-19 22:32:42 -07:00
Yishan Lin edfa6dea10 Fixed opening sentence typo 2020-06-19 22:29:27 -07:00
Yishan Lin 6b67deca6d Updated Nomad Resources Page
- Changed boilerplate intro copy to match messaging in approved 0.12 announcement copy launching next Monday
- Added Virtual Talks section with each of their Youtube links and year timestamps from this year
- Updated the Who Uses Nomad section in alignment with Nomad GitHub READDME in ordering
- Added new customer talks such as Cloudflare and yearly timestamps to each of them
- Removed outdated Community Tools and Integrations section
2020-06-19 20:13:00 -07:00
Chris Baker 838f63f202
Merge pull request #8228 from hashicorp/make-sync
`make sync`
2020-06-19 18:47:18 -05:00
Michael Lange f79ad482fb
Merge branch 'master' into d-ui/changelog-entries 2020-06-19 16:29:34 -07:00
Chris Baker b79e25efb9 make sync 2020-06-19 23:27:00 +00:00
Chris Baker d3f4d5b91a
Merge pull request #8226 from hashicorp/docs-changelog-net012
docs: add CNI and MIN to changelog for 0.12-beta1
2020-06-19 18:01:54 -05:00
Michael Lange d28b630b46 UI changelog entries for 0.12 2020-06-19 15:55:02 -07:00
Michael Schurter d9a946dae2 docs: add CNI and MIN to changelog for 0.12-beta1 2020-06-19 15:52:18 -07:00
Michael Schurter 562704124d
Merge pull request #8208 from hashicorp/f-multi-network
multi-interface network support
2020-06-19 15:46:48 -07:00
Michael Lange ac056b14db
Merge pull request #8218 from hashicorp/b-ui/plugin-allocation-healthy-flakiness
UI: Add cycling to factory healthy flags
2020-06-19 14:39:47 -07:00
Mahmood Ali d0c3275132
Merge pull request #8217 from hashicorp/revert-5906-b-alloc-stale-updates
Revert "client: defensive against getting stale alloc updates"
2020-06-19 17:02:01 -04:00
Buck Doyle 0dd9ffdab3 Add cycling to factory healthy flags
This is meant to address the plugin test failure seen here:
https://app.circleci.com/pipelines/github/hashicorp/nomad/10015/workflows/ace5d615-db03-4cfc-86b2-31e9e00473ec/jobs/77014/tests

I believe the problem was that on rare occasions, the set
of mock storage controllers and nodes were all unhealthy,
so the facet test had no rows to iterate through. Since
there are always three of each, this guarantees some
healthy ones will be present.
2020-06-19 15:43:32 -05:00
Michael Lange 98be6b0274
Merge pull request #8216 from hashicorp/b-ui/stats-request-thrashing
UI: Add a key to the alloc table on the task group detail page
2020-06-19 13:37:05 -07:00
Mahmood Ali 3824e0362c
Revert "client: defensive against getting stale alloc updates" 2020-06-19 15:39:44 -04:00
Michael Lange a9bf04675f Add a key to the alloc table on the task group detail page
Adding keys tells Ember to rerender matching entries instead of
destroying and recreating.

Without this key, every time the allocation collection changes, every
allocation row gets destroyed and recreated.

This happens a lot, since each allocation needs to be reloaded which
dirties the collection.

Since allocation rows fetch stats on init, each of these many many
renders results in a stats request.

By using key and rerendering matching records, this all goes away. Since
the rows aren't being destroyed and recreated, the init stats request
isn't being made overnumerously.
2020-06-19 11:27:57 -07:00
Mahmood Ali bf08b7a890
Merge pull request #8214 from hashicorp/docs-snapshot-update
Update changelog and snapshot docs
2020-06-19 14:27:12 -04:00