Commit graph

11957 commits

Author SHA1 Message Date
Alex Dadgar ac02e7cbc2
Merge pull request #4379 from hashicorp/b-consul-deregister
Fix bug with determining when agent is a client
2018-06-05 17:59:55 -07:00
Preetha Appan 82837839eb
Fix bug with determining when agent is a client
This fixes a bug introduced in commit e27caadca6 that sets a boolean flag
when the agent is a client. It incorrectly checked state before initializing
the client. This leads to Nomad clients not deregistering any services registered
in Consul after allocs are destroyed
2018-06-05 19:19:52 -05:00
Preetha 54f9b2d76e
Merge pull request #4378 from hashicorp/e2e-progress-deadline
Add more end to end tests for progress deadline and fix flaky test
2018-06-05 16:17:40 -07:00
Preetha Appan 06cef731c3
Update CHANGELOG 2018-06-05 17:33:28 -05:00
Preetha d098f4ea34
Merge pull request #4377 from hashicorp/b-create-deployment-job-index
Fix reconciler bug with deployment not being created
2018-06-05 15:31:19 -07:00
Preetha Appan b64788043e
make test create index clearer 2018-06-05 17:29:59 -05:00
Preetha Appan 27308b7c5e
Add more end to end tests for progress deadline and fix flaky test 2018-06-05 17:25:28 -05:00
Preetha Appan 3e264dcb79
Fix reconciler bug with deployment not being created if job create index is different
This fixes an issue where if a job is purged and resubmitted Nomad does not create
a new deployment. Adds unit test that failed before this fix
2018-06-05 13:58:53 -05:00
Michael Lange 334325e624
Merge pull request #4369 from hashicorp/b-ui-use-network-ip
UI: Use the network ip for the task address instead of the node ip
2018-06-05 11:15:48 -07:00
Alex Dadgar d7ec121ca1
Merge pull request #4375 from listrophy/patch-3
README: newer Vault init command
2018-06-05 09:55:07 -07:00
Alex Dadgar d6ec8ab407
Merge pull request #4374 from listrophy/patch-2
README: use newer command
2018-06-05 09:54:47 -07:00
Brad Grzesiak 28e50dfcb8
README: newer Vault init command
Got a warning message:

```
WARNING! The "vault init" command is deprecated. Please use "vault operator
init" instead. This command will be removed in Vault 0.11 (or later).
```
2018-06-05 11:37:06 -05:00
Brad Grzesiak ede9cb9437
README: use newer command
Got:

```
WARNING! The "nomad server-members" command is deprecated. Please use "nomad
server members" instead. This command will be removed in Nomad 0.10 (or
later).
```
2018-06-05 11:35:03 -05:00
Charlie Voiselle 9c05bbc518
Merge pull request #4373 from listrophy/patch-1
Update README.md
2018-06-05 12:25:27 -04:00
Brad Grzesiak 2daff8cec8
Update README.md
git-clone'ing doesn't automatically jump you into the dir, so this doc update fixes a missing step
2018-06-05 10:29:57 -05:00
Michael Lange bd9d2c50d8 Remove test for removed behavior 2018-06-04 16:40:55 -07:00
Alex Dadgar 3469abfd26
Merge pull request #4346 from hashicorp/d-10k-nodes
Update "Nomad vs. Other Software" navigation order and reflect 10k node cluster sizes.
2018-06-04 16:09:09 -07:00
Michael Lange 8b364c1e27 Use the network ip as the task address instead of the node ip 2018-06-04 15:34:16 -07:00
Alex Dadgar 11cac62e97 Changelog 2018-06-04 15:24:20 -07:00
Rob Genova 9297870327 Reorder Other Software alphabetically 2018-06-04 22:21:40 +00:00
Alex Dadgar 98705824ed
Merge pull request #4185 from jesusvazquez/add-counter-metric-for-oom-killer-events
Add driver.docker counter metric for OOM Killer events
2018-06-04 15:12:51 -07:00
Alex Dadgar 23cd56dc78 remove generated structs 2018-06-01 16:11:28 -07:00
Alex Dadgar f21921d512
Release v0.8.4-rc1 2018-06-01 16:08:38 -07:00
Alex Dadgar b34d8829fc
Merge pull request #4366 from hashicorp/b-exec
Disable Exec on non-linux platforms
2018-06-01 22:57:18 +00:00
Alex Dadgar bf5b5747ab fix test message 2018-06-01 15:51:54 -07:00
Alex Dadgar 98fc885b3e changelog 2018-06-01 15:50:34 -07:00
Alex Dadgar 3e3d3c7445 Disable Exec on non-linux platforms
This PR disables exec on non-linux platforms
2018-06-01 15:48:14 -07:00
Alex Dadgar c0386819b3 bump version/lint/generated files 2018-06-01 15:23:10 -07:00
Alex Dadgar 1e2b4a355e changelog 2018-06-01 14:57:08 -07:00
Alex Dadgar 247f1edb11 spelling 2018-06-01 14:53:08 -07:00
Preetha 791d1bd246
Merge pull request #4365 from hashicorp/b-consul-server-resync
Fix consul server resync when server and client point to the same Consul agent
2018-06-01 14:50:55 -07:00
Preetha Appan ce6d4a8d7a
Fix tests and move isClient to constructor 2018-06-01 15:59:53 -05:00
Alex Dadgar 71a0f43ab0 dev files 2018-06-01 13:29:11 -07:00
Preetha Appan a5bfaa098c
Fix unnecessary deregistration in consul sync
This commit fixes an issue where if a nomad client and server shared the same consul instance, the server would deregister any services and checks registered by clients for running tasks.
2018-06-01 14:48:25 -05:00
Alex Dadgar ac0a158f9f changelog 2018-06-01 10:43:00 -07:00
Alex Dadgar a62dd2aadb
Merge pull request #4350 from hashicorp/b-raw-exec-cgroups
Raw exec can use cgroups to manage PIDs
2018-06-01 17:37:49 +00:00
Alex Dadgar 8da42940c9 wait for result 2018-06-01 10:14:53 -07:00
Alex Dadgar 006d4d64a8 changelog 2018-06-01 09:59:50 -07:00
Alex Dadgar 40fec81315
Merge pull request #4277 from hashicorp/f-retry-join-clients
Add go-discover support to Nomad clients
2018-06-01 16:57:40 +00:00
Alex Dadgar ebb45a6e87 retry-join flag docs 2018-06-01 09:57:13 -07:00
Alex Dadgar 460ecb8705 Comments 2018-05-31 18:05:03 -07:00
Alex Dadgar de98774f2c Add test and docs 2018-05-31 18:05:03 -07:00
Alex Dadgar ff28b04c46 Use more appropriate name than cgroup 2018-05-31 18:05:03 -07:00
Alex Dadgar 37e900b1d3 Only use freezer/devices when in the basic cgroup only 2018-05-31 18:05:03 -07:00
Alex Dadgar ffd9270f2f Use cgroup when possible 2018-05-31 18:05:03 -07:00
Alex Dadgar 7affe3bd40
Merge pull request #4359 from hashicorp/b-tests
test fixes
2018-06-01 01:01:51 +00:00
Alex Dadgar 0ff0ed290d Fix TestDockerDriver_StartNVersions 2018-05-31 17:14:59 -07:00
Alex Dadgar 7e6dd498c9 Remove debug logging 2018-05-31 15:52:42 -07:00
Alex Dadgar 62665d8619 Fix node drain monitor 2018-05-31 15:50:05 -07:00
Alex Dadgar b1b908527f spelling 2018-05-31 15:29:55 -07:00