Danielle
41d86750c2
Merge pull request #6240 from EvanErcolano/remove-unused-param-consul-client
...
Remove unused canary param from MakeTaskServiceID
2019-09-02 12:38:08 +02:00
Zhiguang Wang
832df1091b
Add default value "3m" to image_delay, making it consistent with docs.
2019-09-02 16:40:00 +08:00
Danielle
fe027f3fd5
Merge pull request #6210 from hashicorp/f-update-node-response
...
docs: Update /v1/node/{node-id} example response
2019-09-01 19:17:30 +02:00
Danielle
dfe1fc5c7d
Merge pull request #6119 from rlewkowicz/master
...
bumped hadoop version
2019-09-01 08:41:51 +02:00
Danielle
857c85b25b
Merge pull request #6208 from pcgeek86/patch-1
...
Update AWS logo to current version
2019-09-01 08:41:23 +02:00
Evan Ercolano
fcf66918d0
Remove unused canary param from MakeTaskServiceID
2019-08-31 16:53:23 -04:00
Danielle Lancashire
d970d5ee00
ci: Support non amd64 architectures
2019-08-31 18:34:22 +02:00
Danielle Lancashire
4fcb7394e9
client: Fix memory fingerprinting on 32bit
...
Also introduce regression ci for 32 bit fingerprinting
2019-08-31 18:33:59 +02:00
Danielle
4da16eb44a
Merge pull request #6238 from hashicorp/e2e-ami-filters
...
e2e: filter default AMI by OS
2019-08-31 13:34:36 +02:00
Danielle
b14436cd14
Merge pull request #6233 from hashicorp/chore/more-circle
...
ci: Migrate remaining jobs to CircleCI
2019-08-31 13:28:51 +02:00
Preetha
eba025f35d
Merge pull request #6237 from hashicorp/f-rkt-deprecated
...
rkt deprecation notice
2019-08-30 16:45:40 -05:00
Tim Gross
7ee3333a2d
e2e: filter default AMI by OS
...
Add an OS tag to Packer builds of our e2e test AMIs and then filters
by this in Terraform.
2019-08-30 16:51:13 -04:00
Preetha Appan
4ebe5e3daf
fix casing
2019-08-30 15:31:28 -05:00
Lang Martin
ed51d37095
CHANGELOG go-getter upgrade
2019-08-30 16:22:34 -04:00
Michael Schurter
4bd53deba9
Merge pull request #6236 from hashicorp/b-ignore-connect-services
...
consul: ignore connect services when syncing
2019-08-30 13:11:09 -07:00
Preetha Appan
284ec935ea
Wording changes
2019-08-30 14:36:08 -05:00
Michael Schurter
67b7bc1e90
consul: ignore connect services when syncing
...
Consul registers Connect services automatically, however Nomad thinks it
owns them due to the _nomad prefix. Since the services are managed by
Consul, Nomad needs to explicitly ignore them or otherwies they will be
removed.
2019-08-30 11:53:41 -07:00
Tim Gross
3ac3ceb2cc
test: add NOMAD_TEST_LOG_LEVEL env var to tune log levels
2019-08-30 13:25:36 -04:00
Tim Gross
b79021adfd
cli: split -dev and -dev-connect flags
2019-08-30 09:33:30 -04:00
Danielle Lancashire
bc198d9328
chore: Remove unused travis scripts
2019-08-30 13:51:05 +02:00
Danielle Lancashire
67488e2b19
ci: Migrate remaining jobs to CircleCI
2019-08-30 13:44:23 +02:00
Danielle Lancashire
f7b55bd965
chore: Update changelog
2019-08-30 13:31:01 +02:00
Danielle
7d3cc532d9
Merge pull request #6228 from hashicorp/chore/remove-go-travis
...
chore: Remove Go Tests from Travis
2019-08-30 09:09:20 +02:00
Mahmood Ali
11b9212673
Merge pull request #6226 from hashicorp/b-defensive-rawexec
...
raw_exec: be defensive when disabled
2019-08-29 21:19:05 -04:00
Mahmood Ali
f98d4ee3f1
tests: enable raw_exec driver
2019-08-29 20:26:50 -04:00
Buck Doyle
c1310a48c6
Update recent entries with consistent tenses
2019-08-29 17:36:21 -05:00
Preetha Appan
c8f5130978
Deprecation notice for rkt
2019-08-29 13:38:12 -05:00
Tim Gross
2df7bac630
ci: require Consul 1.6.0
2019-08-29 14:15:56 -04:00
Tim Gross
aa12b87ac2
dev: bump vagrant consul version to match CI
2019-08-29 14:15:56 -04:00
Grégoire Delattre
c6ac788258
Fix the ExecTask function in DriverExecTaskNotSupported ( #6145 )
...
This fixes the ExecTask definition to match with the DriverPlugin
interface.
2019-08-29 11:36:29 -04:00
Mahmood Ali
32ab75c3f1
Merge pull request #6227 from hashicorp/b-drivers-check
...
schedulers: check all drivers on node
2019-08-29 09:48:07 -04:00
Danielle Lancashire
b4ea277ecd
chore: Remove Go Tests from Travis
...
This commit removes the travis tests that duplicate ones ran in
CircleCI.
2019-08-29 15:43:09 +02:00
Mahmood Ali
28e473aaff
raw_exec: be defensive when disabled
...
Ensure that no raw_exec task can run on a client where it's disabled,
even if a flaw lead to client being assigned a raw_exec task
unexpectedly.
2019-08-29 09:09:40 -04:00
Mahmood Ali
3a1cb51539
schedulers: check all drivers on node
...
When checking driver feasability for an alloc with multiple drivers, we
must check that all drivers are detected and healthy.
Nomad 0.9 and 0.8 have a bug where we may check a single driver only,
but which driver is dependent on map traversal order, which is
unspecified in golang spec.
2019-08-29 09:03:31 -04:00
Mahmood Ali
3da10b5cb3
scheduler: tests for multiple drivers in TG
2019-08-29 09:03:31 -04:00
Mahmood Ali
a67f5f0565
update tests to run with v2
2019-08-28 16:42:08 -04:00
Mahmood Ali
6eabf53b91
Default raft protocol to version 3
2019-08-28 15:56:59 -04:00
Michael Schurter
f5792635ca
Merge pull request #6218 from hashicorp/f-consul-defaults
...
consul: use Consul's defaults and env vars
2019-08-28 11:54:44 -07:00
Mahmood Ali
0bd2eee87f
Merge pull request #6216 from hashicorp/b-recognize-pending-allocs
...
alloc_runner: wait when starting suspicious allocs
2019-08-28 14:46:09 -04:00
Charlie Voiselle
6f9a481648
Small typo fixes
2019-08-28 14:09:42 -04:00
Mahmood Ali
e0da3c5d0e
rename to hasLocalState, and ignore clientstate
...
The ClientState being pending isn't a good criteria; as an alloc may
have been updated in-place before it was completed.
Also, updated the logic so we only check for task states. If an alloc
has deployment state but no persisted tasks at all, restore will still
fail.
2019-08-28 11:44:48 -04:00
Mahmood Ali
33673be4a6
Merge pull request #6219 from hashicorp/c-circleci-upgrade-machine-img
...
upgrade machine image for most jobs
2019-08-28 11:27:04 -04:00
Lang Martin
a1936e3add
Merge pull request #6215 from hashicorp/f-upgrade-go-getter
...
upgrade go-getter, leave compiled protobuf at version 1.2
2019-08-28 11:01:31 -04:00
Nick Ethier
cf014c7fd5
ar: ensure network forwarding is allowed for bridged allocs ( #6196 )
...
* ar: ensure network forwarding is allowed in iptables for bridged allocs
* ensure filter rule exists at setup time
2019-08-28 10:51:34 -04:00
Mahmood Ali
acec5a751a
upgrade machine image for most jobs
...
Looks like the host unattended upgrades is interferring with chroot
creation. Here, we upgrade machine image to one without unattended
upgrades misconfigured, across the board except for the `test-docker`
job.
Docker seems to be misbehaving on that image, and we get some unexpected
cgroups errors, e.g. https://circleci.com/gh/hashicorp/nomad/3854 .
Sample recent failures of `test-exec`:
https://circleci.com/gh/hashicorp/nomad/3633
https://circleci.com/gh/hashicorp/nomad/3696
https://circleci.com/gh/hashicorp/nomad/3714
https://circleci.com/gh/hashicorp/nomad/3764
https://circleci.com/gh/hashicorp/nomad/3770
https://circleci.com/gh/hashicorp/nomad/3834
2019-08-28 09:50:56 -04:00
Nick Ethier
9e96971a75
cli: display group ports and address in alloc status command output ( #6189 )
...
* cli: display group ports and address in alloc status command output
* add assertions for port.To = -1 case and convert assertions to testify
2019-08-27 23:59:36 -04:00
Nick Ethier
cbb27e74bc
Add environment variables for connect upstreams ( #6171 )
...
* taskenv: add connect upstream env vars + test
* set taskenv upstreams instead of appending
* Update client/taskenv/env.go
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-08-27 23:41:38 -04:00
Michael Schurter
3b0e1d8ef7
consul: use Consul's defaults and env vars
...
Use Consul's API package defaults and env vars as Nomad's defaults.
2019-08-27 14:56:52 -07:00
Mahmood Ali
90c5eefbab
Alternative approach: avoid restoring
...
This uses an alternative approach where we avoid restoring the alloc
runner in the first place, if we suspect that the alloc may have been
completed already.
2019-08-27 17:30:55 -04:00
Lang Martin
5ae153900f
match pinned versions for sub-modules
2019-08-27 12:58:12 -04:00