Commit Graph

18683 Commits

Author SHA1 Message Date
Tim Gross
68dfb25874 multiregion: add support for 'job plan' (#8266)
Add a scatter-gather for multiregion job plans. Each region's servers
interpolate the plan locally in `Job.Plan` but don't distribute the plan as
done in `Job.Run`.

Note that it's not possible to return a usable modify index from a multiregion
plan for use with `-check-index`. Even if we were to force the modify index to
be the same at the start of `Job.Run` the index immediately drifts during each
region's deployments, depending on events local to each region. So we omit
this section of a multiregion plan.
2020-06-24 13:24:55 -04:00
Tim Gross
cede9b5fb4 multiregion validation fixes (#8265)
Multi-region jobs need to bypass validating counts otherwise we get spurious
warnings in Job.Plan.
2020-06-24 12:18:51 -04:00
Kevin Pruett
ae2d3f0afb Merge pull request #8201 from pruett/pruett.algolia-index-ci
Stub Algolia indexing job via CI
2020-06-24 12:17:47 -04:00
Tim Gross
5716fb9375 docs: fix broken link in server config (#8267)
* missing the trailing `)`
* consistency with the code span
* minor grammar fix ("is" to "are")
2020-06-24 11:53:19 -04:00
Seth Hoenig
41b94eedc2 Merge pull request #8011 from hashicorp/f-cnative-host
consul/connect: implement initial support for connect native
2020-06-24 10:33:12 -05:00
Seth Hoenig
ef52328eb4 connect/native: doc and comment tweaks from PR 2020-06-24 10:13:22 -05:00
Seth Hoenig
cd3ec2f783 connect/native: check for pre-existing consul token 2020-06-24 09:16:28 -05:00
Seth Hoenig
3a1129c6b7 connect/native: fixup command/agent/consul/connect test cases 2020-06-24 09:05:56 -05:00
James Rasell
811fb90a83 Merge pull request #8260 from hashicorp/docs-fix-license-index
docs: fix license command index page formatting.
2020-06-24 12:27:32 +02:00
James Rasell
a190d529de docs: fix license command index page formatting. 2020-06-24 08:16:41 +02:00
Kevin Pruett
12467fdaae Update job and config via make 2020-06-23 22:56:29 -04:00
Kevin Pruett
7f3d8e9ad0 Utilize Next.js env variable conventions 2020-06-23 22:40:37 -04:00
Kevin Pruett
f0ad062d8e Setup Algolia indexing job in CI 2020-06-23 22:40:17 -04:00
Kevin Pruett
d86ff236ee Merge pull request #8092 from hashicorp/je.website-maintenance-6-1-20
🌷 Website Maintenance
2020-06-23 18:14:36 -04:00
Jeff Escalante
b56428862f Dependency updates and improvements 2020-06-23 17:43:43 -04:00
Michael Schurter
8bb066b10f Merge pull request #8257 from hashicorp/docs-port-comments
docs: add comments to structs.Port struct
2020-06-23 13:47:48 -07:00
Tim Gross
a74c9a9af8 multiregion: job stop across regions with -global flag (#8258)
Adds a `-global` flag for stopping multiregion jobs in all regions at
once. Warn the user if they attempt to stop a multiregion job in a single
region.
2020-06-23 15:56:04 -04:00
Michael Schurter
e45cf8673a docs: add comments to structs.Port struct 2020-06-23 11:38:01 -07:00
James Rasell
6181588957 Merge pull request #8255 from hashicorp/fix-license-get-help
cli: fix license get command help Synopsis text.
2020-06-23 19:44:57 +02:00
Seth Hoenig
193e355ec3 connect/native: update connect native hook tests 2020-06-23 12:07:35 -05:00
Seth Hoenig
a87130c0e8 connect/native: give tls files an extension 2020-06-23 12:06:28 -05:00
James Rasell
74db43ce49 cli: fix license get command help Synopsis text. 2020-06-23 18:47:39 +02:00
Seth Hoenig
520d35e085 consul/connect: split connect native flag and task in service 2020-06-23 10:22:22 -05:00
Mahmood Ali
7ffea86845 Merge pull request #8029 from hashicorp/alexandrafreeman-community-discuss-updates
Update resources index.jsx
2020-06-23 08:48:33 -04:00
Alexandra Freeman
7adb0d4108 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
8febccf97e 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
f4d0afe11b 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
2cb680db70 Merge pull request #8246 from hashicorp/vendor-libcontainer-20200622
Upgrade libcontainer
2020-06-23 07:59:19 -04:00
Mahmood Ali
06bf10c908 Update github.com/syndtr/gocapability
runc requires a more recent version
2020-06-22 17:10:41 -04:00
Mahmood Ali
b191d84b78 Upgrade libcontainer dependency
Upgrade libcontainer dependency to pick up fix for CVE-2019-19921 .
2020-06-22 16:56:54 -04:00
Richard Kettelerij
8728f959c8 Add missing CLI flag to Nomad snapshot example 2020-06-22 21:52:33 +02:00
Seth Hoenig
7e8d5c2392 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
4a769f886e changelog for CSI volume context (#8243) 2020-06-22 14:49:56 -04:00
Buck Doyle
08691407eb 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
ffd783e6c3 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
f22058d782 Merge pull request #8241 from hashicorp/docs-agent-unresponsive-note
Docs: note agent unresponsive
2020-06-22 12:08:04 -04:00
Mahmood Ali
df232a1a8f docs: note 0.11.3 fixes a critical issue 2020-06-22 12:02:01 -04:00
Michael Lange
c079112160 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
068ad06a94 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
f7040c9078 Merge pull request #8238 from hashicorp/pruett.update-banner-text
Update banner contents
2020-06-22 11:21:24 -04:00
Kevin Pruett
e61fbbc806 Update banner contents 2020-06-22 11:20:06 -04:00
Mahmood Ali
1681161d22 Merge pull request #8237 from hashicorp/notnoop-followup-20200622
Assorted follow ups
2020-06-22 10:50:37 -04:00
Mahmood Ali
efbc23c55b changelog: 0.11.3 fixes a unresponsiveness bug 2020-06-22 10:31:24 -04:00
Mahmood Ali
b00d226c40 this is OSS 2020-06-22 10:28:45 -04:00
Mahmood Ali
5333d019b4 accomodate enterprise specific commands
`nomad operator snapshot agent` is an Enterprise specific command
2020-06-22 10:27:25 -04:00
Mahmood Ali
935816b643 testS: add all namespaces test for allocations 2020-06-22 10:26:08 -04:00
Chris Baker
162b98f4dc reverted current version back to 0.11.3 2020-06-22 13:09:42 +00:00
Chris Baker
857a75487b added download link for 0.12.0-beta1 2020-06-22 12:54:09 +00:00
Yishan Lin
389252247d 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
b941519352 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