Michael Schurter
70bf5456d3
docs: remove old client.options migration note
...
There's no reason to give the `client.options` to `plugins` migration
top billing on the client configuration page. Remove and and clarify the
more appropriately placed note down below.
2021-01-05 10:56:14 -08:00
Michael Schurter
5d7713bb4e
docs: remove duplicate PreserveCounts entry
2021-01-05 10:41:38 -08:00
Michael Schurter
b91b941b79
Merge pull request #9731 from hashicorp/docs-upgrade-102
...
docs: note that 1.0.2 is unreleased
2021-01-05 10:12:25 -08:00
Michael Schurter
1cede6cff8
docs: note that 1.0.2 is unreleased
2021-01-05 10:06:39 -08:00
Kris Hicks
be6580bd28
Refactor alloc exec command ( #9718 )
...
This re-arranges the alloc exec Run implementation to have validation
hoisted as high as possible.
2021-01-05 09:33:04 -08:00
Luiz Aoqui
af5fd4bb89
Merge pull request #9429 from hashicorp/docs-update-autoscale-policy
...
docs: update file scaling policy docs
2021-01-05 11:10:11 -05:00
Seth Hoenig
b88996b2dd
Merge pull request #9727 from hashicorp/b-empty-ingress-proxy
...
consul/connect: avoid NPE from unset connect gateway proxy
2021-01-05 10:09:46 -06:00
Seth Hoenig
3636ff8f80
Merge pull request #9726 from hashicorp/f-add-tf-lockfile
...
e2e: add terraform lockfile
2021-01-05 10:03:38 -06:00
Seth Hoenig
c46a503fdb
docs: update changelog
2021-01-05 09:31:22 -06:00
Seth Hoenig
6c9366986b
consul/connect: avoid NPE from unset connect gateway proxy
...
Submitting a job with an ingress gateway in host networking mode
with an absent gateway.proxy block would cause the Nomad client
to panic on NPE.
The consul registration bits would assume the proxy stanza was
not nil, but it could be if the user does not supply any manually
configured envoy proxy settings.
Check the proxy field is not nil before using it.
Fixes #9669
2021-01-05 09:27:01 -06:00
Seth Hoenig
7da808b43a
e2e: add terraform lockfile
...
Terraform v0.14 is producing a lockfile after running `terraform init`.
The docs suggest we should include this file in the git repository:
> You should include this file in your version control repository so
> that you can discuss potential changes to your external dependencies
> via code review, just as you would discuss potential changes to your
> configuration itself.
Sounds similar to go.sum
https://www.terraform.io/docs/configuration/dependency-lock.html#lock-file-location
2021-01-05 08:55:37 -06:00
Seth Hoenig
0ed44a82b0
Merge pull request #9720 from hashicorp/b-consul-sreg-update
...
consul: always include task services hook
2021-01-05 08:48:44 -06:00
Seth Hoenig
59f230714f
e2e: add e2e test for service registration
2021-01-05 08:48:12 -06:00
Seth Hoenig
bc7dd881dd
docs: add changelog entry
2021-01-05 08:48:12 -06:00
Seth Hoenig
b4eafe6f2d
consul: always include task services hook
...
Previously, Nomad would optimize out the services task runner
hook for tasks which were initially submitted with no services
defined. This causes a problem when the job is later updated to
include service(s) on that task, which will result in nothing
happening because the hook is not present to handle the service
registration in the .Update.
Instead, always enable the services hook. The group services
alloc runner hook is already always enabled.
Fixes #9707
2021-01-05 08:47:19 -06:00
Gunadhya
3ac3c93485
Added Enterprise Badges in Docs ( #9706 )
2021-01-05 09:44:37 -05:00
Chris Baker
b886e5a4fc
Merge pull request #9724 from hashicorp/7410-simple-consistency-test
...
simple stale read test
2021-01-05 08:01:21 -06:00
Chris Baker
fd6beefe11
simple test to ensure that scaling endpoint methods support IsRead for
...
stale read support
2021-01-05 13:42:18 +00:00
Tim Gross
c2952d0539
resolve comments from code review
2021-01-04 18:52:14 -05:00
Luiz Aoqui
11b8bcddf8
docs: update file scaling policy docs
2021-01-04 18:52:11 -05:00
Chris Baker
9fea300de4
Merge pull request #9671 from hashicorp/b-9610-template-interpolation-paths-refactor
...
address interpolation of artifact and template src/dest
2021-01-04 17:00:45 -06:00
Chris Baker
57b70a27ec
modified e2e test so that it explicitly tested the use case in #6929
2021-01-04 22:25:39 +00:00
Chris Baker
02980b55cb
added documenting unit tests for new TaskEnv.ClientPath method
2021-01-04 22:25:38 +00:00
Chris Baker
60095f47a5
changelog
2021-01-04 22:25:37 +00:00
Chris Baker
5e73c62f2b
Update client/taskenv/env.go
...
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2021-01-04 22:25:36 +00:00
Chris Baker
c7072258af
enabled broken test that is no longer broken
2021-01-04 22:25:35 +00:00
Chris Baker
9b125b8837
update template and artifact interpolation to use client-relative paths
...
resolves #9839
resolves #6929
resolves #6910
e2e: template env interpolation path testing
2021-01-04 22:25:34 +00:00
Tim Gross
724f82e32d
docs: add metrics and API docs to RPC contributors checklist
2021-01-04 15:41:12 -05:00
Tim Gross
26f4ee7fb1
e2e: dnsmasq configuration fixes
...
* systemd units require absolute paths
* ensure directory exists for dnsmasq
2021-01-04 15:40:57 -05:00
Michael Schurter
7a6e55b21f
Merge pull request #9686 from hashicorp/golang1.15.6
...
build: upgrade from Go 1.15.5 -> 1.15.6
2021-01-04 12:07:41 -08:00
nileshcs
65a973b098
Version update for demo Vagrant: Nomad 1.0.1, Consul 1.9.0 ( #9716 )
2021-01-04 13:20:59 -05:00
Tim Gross
86d7ad6d7b
docs: update metrics tables
2021-01-04 12:47:35 -05:00
Tim Gross
c24f4d9925
client: improve alloc GC API error messages ( #9488 )
...
The client allocation GC API returns a misleading error message when the
allocation exists but is not yet eligible for GC. Make this clear in the error
response.
Note in the docs that the allocation will still show on the server responses.
2021-01-04 11:34:12 -05:00
Michael Schurter
772ab5502d
build: upgrade from Go 1.15.5 -> 1.15.6
...
Also updated scripts/update_golang_version.sh to handle new CircleCI
file layout.
2021-01-04 08:34:00 -08:00
James Rasell
2cf75537cd
Merge pull request #9584 from hashicorp/f-docs-api-job-reg-preserve-counts
...
docs: add PreserveCounts param to job API doc.
2021-01-04 16:01:17 +01:00
Mahmood Ali
e6c46e0b8c
Merge pull request #9672 from hashicorp/b-bootstrapping-unexpectedly
...
Don't bootstrap when `bootstrap_expect` is zero
2021-01-04 09:26:48 -05:00
Mahmood Ali
66c0e85b9c
add changelog
2021-01-04 09:09:58 -05:00
Mahmood Ali
ae0be24abb
tweak bootstrap testing
2021-01-04 09:00:40 -05:00
Michael Schurter
e243548cc8
build: prep for 1.0.2 development ( #9687 )
2021-01-04 08:38:16 -05:00
Jerome Gravel-Niquet
c50e0de903
print the actual fingerprint error instead of an unrelated (and probably nil) error
2021-01-04 08:20:29 -05:00
James Rasell
4bc30b8368
Merge pull request #9714 from goodoldneon/patch-1
...
Fixed typo in index.mdx
2021-01-04 09:48:26 +01:00
Aaron Harper
86275f5004
Fixed typo in index.mdx
2021-01-01 23:04:04 -05:00
Drew Bailey
793b5f242d
Docs/operator subpages ( #9689 )
...
* operator subpages
* line wrapping, fixed
2020-12-21 10:29:06 -05:00
Kris Hicks
16bacad930
docs: Remove network_speed client config field ( #9685 )
2020-12-21 07:26:25 -08:00
Michael Lange
78eb871230
Remove all unused images
2020-12-18 15:48:39 -08:00
Michael Lange
3a8b1b58e1
Remove unlinked getting started pages. These are all on Learn now
2020-12-18 15:32:41 -08:00
Michael Lange
2bb4edfc35
Unused old images
2020-12-18 15:32:18 -08:00
Michael Lange
49d6f0ee3f
Unused guide images. These are now in Learn
2020-12-18 15:31:02 -08:00
Chris Baker
d1b1d8303a
Merge pull request #9696 from hashicorp/docs-7655-lifecycle-json
...
docs: added lifecycle example to JSON Jobs API docs
2020-12-18 16:41:10 -06:00
Kris Hicks
4dacba3684
docs: Document required name for expose=true check ( #9691 )
2020-12-18 14:34:47 -08:00