Commit Graph

11484 Commits

Author SHA1 Message Date
Alex Dadgar
67df44cd5e UX touchups 2018-04-26 15:24:27 -07:00
Chelsea Holland Komlo
14d46f579d handle potential panic in cron parsing 2018-04-26 16:57:45 -04:00
Alex Dadgar
a4f32ea189 Merge pull request #4190 from hashicorp/je.remove-turbolinks
Turbolinks adjustments
2018-04-26 10:42:42 -07:00
Alex Dadgar
36404709b1 Merge pull request #4216 from hashicorp/b-signal-constraints
Sort signals in implicit constraint
2018-04-26 10:14:03 -07:00
Alex Dadgar
822693dde5 changelog 2018-04-26 10:13:33 -07:00
Alex Dadgar
f1e2177ab7 Sort signals in implicit constraint
Fixes https://github.com/hashicorp/nomad/issues/4212
2018-04-26 10:12:47 -07:00
Alex Dadgar
3a244d4256 Merge pull request #4205 from hashicorp/docs-drain-cli
Update docs CLI output for node drain
2018-04-25 16:45:38 -07:00
Alex Dadgar
6e8aac70a6 Merge pull request #4217 from hashicorp/f-govendor-update
Update go-getter to pick up file access time fix
2018-04-25 16:33:31 -07:00
Alex Dadgar
240889ad5a Changelog 2018-04-25 16:33:00 -07:00
Preetha Appan
ed2c2abf75 Fix vendor file format 2018-04-25 16:32:36 -07:00
Preetha Appan
0559dfb9ee Update go-getter to pick up file accesstime fix 2018-04-25 16:32:36 -07:00
Alex Dadgar
f595e9fbfb Merge pull request #4215 from hashicorp/b-drain
Fix panic draining when alloc on non-existent node
2018-04-25 16:03:12 -07:00
Alex Dadgar
7bdbe43b16 Changelog 2018-04-25 16:01:17 -07:00
Alex Dadgar
913a4d30c6 Safety guard 2018-04-25 16:00:56 -07:00
Alex Dadgar
9fd5847433 Fix detecting drain strategy on GC'd node 2018-04-25 16:00:56 -07:00
Michael Lange
267fdeddfe UI changes in 0.8.2 added to changelog 2018-04-25 15:53:35 -07:00
Alex Dadgar
88aa953d59 Merge pull request #4209 from herver/patch-1
Fix typo in cap_add whitelisting
2018-04-25 15:18:19 -07:00
Nick Ethier
2bb71363a2 Merge pull request #4214 from hashicorp/f-4176-changelog
CHANGELOG: add line for #4176
2018-04-25 14:57:42 -04:00
Nick Ethier
fdcabf0508 CHANGELOG: add line for #4176 2018-04-25 14:51:17 -04:00
herver
104ed21314 Fix typo in cap_add whitelisting 2018-04-25 08:40:37 +02:00
Michael Schurter
c79a820042 Merge pull request #4188 from hashicorp/f-rkt-stats
rkt: create parent cgroup to enable stats
2018-04-24 14:54:36 -07:00
Michael Lange
8cba531391 Merge pull request #4195 from hashicorp/b-ui-retry-stats-requests
UI: Retry stats requests
2018-04-24 14:13:34 -07:00
Michael Schurter
a98ec5a801 docs: add changelog entry for rkt stats #4188 2018-04-24 14:10:10 -07:00
Michael Schurter
a3dba1db78 rkt: test Stats() and always run tests
Remove the NOMAD_TEST_RKT flag as a guard for rkt tests. Still require
Linux, root, and rkt to be installed. Only check for rkt installation
once in hopes of speeding up rkt tests a bit.
2018-04-24 11:05:42 -07:00
Michael Schurter
016734e21f docs: update cli output for node drain
CLI output changed in #4202
2018-04-24 11:02:34 -07:00
Michael Schurter
98ed56013b Merge pull request #4202 from jrasell/gh_4183
Update node-drain logging message to be clearer for operators.
2018-04-24 10:49:24 -07:00
Alex Dadgar
639662da73 Merge pull request #4196 from jvrplmlmn/driverContext/add-taskGroup-job-details
DriverContext: Add the TaskGroup and the Job name
2018-04-24 09:52:57 -07:00
James Rasell
805b5278e7 Update node-drain logging message to clearer for operators.
This change updates the console log message when performing a node
drain and particulary when a node has marked all allocs for
migration. Previously it logged 'drain complete' which was a little
confusing to operators as the node is not drained at this point.

Closes #4183
2018-04-24 07:50:01 +01:00
Javier Palomo Almena
92cbfd0cf3 docker tests: Fix usage of NewDriverContext 2018-04-23 22:51:06 +02:00
Jeff Escalante
5ac0f6d655 adjust analytics and scripts for turbolinks 2018-04-23 13:09:52 -04:00
Javier Palomo Almena
3e6c3437af DriverContext: Add the TaskGroup and the Job name
Adding this fields to the DriverContext object, will allow us to pass
them to the drivers.

An use case for this, will be to emit tagged metrics in the drivers,
which contain all relevant information:
- Job
- TaskGroup
- Task
- ...

Ref: https://github.com/hashicorp/nomad/pull/4185
2018-04-23 00:15:29 +02:00
Michael Lange
fb7e0c19d2 Merge pull request #4189 from hashicorp/f-ui-stop-job-button
UI: Stop job button
2018-04-20 18:12:24 -07:00
Michael Lange
191bf9e463 Test coverage for alloc stats retrying 2018-04-20 18:11:32 -07:00
Michael Lange
07471e9d55 Move resource generation helper to a common place 2018-04-20 18:10:41 -07:00
Michael Lange
71a4411b22 Keep polling for alloc stats when a request fails 2018-04-20 16:50:54 -07:00
Michael Schurter
443c1f3f3f Merge pull request #4178 from hashicorp/f-sort-drivers
cli: sort drivers in `node status <node_id>`
2018-04-20 14:03:26 -07:00
Michael Schurter
9b2a73ea19 Merge pull request #4181 from hashicorp/docs-move-operating-guide
Move Operating a Job from /docs/ to /guides/
2018-04-20 14:01:47 -07:00
Alex Dadgar
1a78d42635 Merge pull request #4164 from PeterDaveHello/update-demo-vagrantfile
Use CONSUL_VERSION variable in demo Vagrantfile
2018-04-20 13:59:01 -07:00
Michael Lange
10c9e7ab66 Add button type to the two-step-button buttons 2018-04-20 10:11:21 -07:00
Michael Schurter
4317ea795c Merge pull request #4170 from hashicorp/f-consul-periodic-sync
consul: periodically reconcile services/checks
2018-04-19 16:51:32 -07:00
Michael Schurter
972e861410 consul: periodically reconcile services/checks
Periodically sync services and checks from Nomad to Consul. This is
mostly useful when testing with the Consul dev agent which does not
persist state across restarts. However, this is a reasonable safety
measure to prevent skew between Consul's state and Nomad's
services+checks.

Also modernized the test suite a bit.
2018-04-19 15:45:42 -07:00
Michael Schurter
c06891956d rkt: create parent cgroup to enable stats
Having the Nomad executor create parent cgroups that rkt is launched
within allows the stats collection code used for the exec driver to Just
Work. The only downside is that now the Nomad executor's resource
utilization counts against the cgroups resource limits just as it does
for the exec driver.
2018-04-19 15:14:56 -07:00
Michael Lange
1d19d825f2 Move job-page helpers and repeat stop tests on the service type 2018-04-19 14:22:05 -07:00
Michael Lange
91c9e092d7 Refactor periodic job tests 2018-04-19 14:22:04 -07:00
Michael Lange
396c4b041c New tests for stop job action 2018-04-19 14:22:04 -07:00
Michael Lange
a3be7ef006 Refactor job-page components to use common title and error parts 2018-04-19 14:22:04 -07:00
Michael Lange
4738144478 New errorMessage format 2018-04-19 14:22:04 -07:00
Michael Lange
67df4dd304 Common error component for job pages 2018-04-19 14:22:04 -07:00
Michael Lange
842ef65487 Move common title parts into a part component 2018-04-19 14:22:04 -07:00
Michael Lange
9899b15bf3 Test coverage for the two-step-button component 2018-04-19 14:22:04 -07:00