Commit graph

12022 commits

Author SHA1 Message Date
Michael Lange f86604d240
Merge pull request #4387 from hashicorp/b-ui-task-row-link
UI: Make task rows clickable.
2018-06-06 15:40:58 -07:00
Michael Schurter 0fc624133d
Merge pull request #4384 from hashicorp/b-global-log-flags
agent: global logger should use the same flags
2018-06-06 15:15:15 -07:00
Alex Dadgar 72effb8632 code review 2018-06-06 14:52:26 -07:00
Michael Lange ee093ffc16 Make task rows clickable.
Right now they are the only tables where the entire row isn't a
click-target to drill into the detail page.
2018-06-06 14:50:28 -07:00
Alex Dadgar c441c17927
Merge pull request #4382 from hashicorp/b-init
Progress deadline included in nomad init
2018-06-06 14:49:10 -07:00
Alex Dadgar d478b50393 indentation 2018-06-06 14:48:51 -07:00
Alex Dadgar f795f9073a
Merge pull request #4385 from hashicorp/b-node-status-drain
Handle force draining
2018-06-06 14:45:34 -07:00
Alex Dadgar 217231347f Handle force draining 2018-06-06 13:05:39 -07:00
Michael Schurter f8e12e6ee7 agent: global logger should use the same flags
Prior to this change logs from the global logger only used seconds:

```
2018/06/06 18:25:58 http: TLS handshake error from ...
```

After this change they properly use the microseconds flag:

```
2018/06/06 18:39:50.702447 http: TLS handshake error ...
```

They still lack a log level unfortunately.
2018-06-06 11:40:08 -07:00
Michael Lange 7e1e42be5f changelog update 2018-06-06 11:38:42 -07:00
Nick Ethier 0118f68710
Merge pull request #4383 from hashicorp/b-node-drain-empty-event
nomad: handle edge case where node drain event shouldn't be emitted
2018-06-06 14:21:28 -04:00
Nick Ethier 2555bff4f5
nomad: add error check in test 2018-06-06 14:08:42 -04:00
Nick Ethier d35bf6d184
nomad: handle edge case where node drain event shouldn't be emitted 2018-06-06 14:02:10 -04:00
Alex Dadgar 14c1bec157 progress deadline init 2018-06-06 10:30:47 -07:00
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
Alex Dadgar f4fccd7ed2 Monitoring non-draining node exits 2018-06-05 17:58:44 -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