Commit Graph

11887 Commits

Author SHA1 Message Date
Alex Dadgar
a4e11c8134 Comments 2018-05-31 18:05:03 -07:00
Alex Dadgar
ec95677a4d Add test and docs 2018-05-31 18:05:03 -07:00
Alex Dadgar
207fece24e Use more appropriate name than cgroup 2018-05-31 18:05:03 -07:00
Alex Dadgar
c5d2c7def5 Only use freezer/devices when in the basic cgroup only 2018-05-31 18:05:03 -07:00
Alex Dadgar
1adf3f9047 Use cgroup when possible 2018-05-31 18:05:03 -07:00
Alex Dadgar
8c8814650a Merge pull request #4359 from hashicorp/b-tests
test fixes
2018-06-01 01:01:51 +00:00
Alex Dadgar
0e85d2032d Fix TestDockerDriver_StartNVersions 2018-05-31 17:14:59 -07:00
Alex Dadgar
ca30e0ff6d Remove debug logging 2018-05-31 15:52:42 -07:00
Alex Dadgar
304b76e1e2 Fix node drain monitor 2018-05-31 15:50:05 -07:00
Alex Dadgar
60ef13c521 spelling 2018-05-31 15:29:55 -07:00
Alex Dadgar
4150296b46 Force close stdout/stderr after grace
This commit changes the force closing of the stdout/stderr file
descriptor from closing immediately to being closed after a grace
period. This allows the created process to close its own file and allows
copying of the data.
2018-05-31 15:21:36 -07:00
Michael Lange
69a94bae89 UI changelog entries for 0.8.4 2018-05-31 15:08:45 -07:00
Alex Dadgar
09b90e4944 Actually disable the schedulers 2018-05-31 13:11:11 -07:00
Preetha Appan
b6e0ceff1b Fix test setup for FSMSnapshotRestore_Deployments to use a valid job that exists 2018-05-31 14:39:39 -05:00
Alex Dadgar
b5fa7209c4 test build 2018-05-31 12:22:31 -07:00
Alex Dadgar
96b366cda2 Disable schedulers for TestHTTP_AllocSnapshot_Atomic 2018-05-31 12:05:44 -07:00
Alex Dadgar
1b7809319a Log more info for TestExecutor_IsolationAndConstraints 2018-05-31 11:57:44 -07:00
Alex Dadgar
7f09b019c3 changelog 2018-05-31 11:00:45 -07:00
Alex Dadgar
4fb3b9f7b3 Merge pull request #4341 from hashicorp/f-docker-pids
Support Docker Pids Limit
2018-05-31 17:59:29 +00:00
Alex Dadgar
269ad04c08 Merge pull request #4354 from hashicorp/b-job-modify
Deployment adds JobSpecModifyIndex
2018-05-31 17:57:38 +00:00
Alex Dadgar
a5d0fe6574 code review fixes 2018-05-31 10:57:08 -07:00
Preetha
2092973fb9 Update CHANGELOG.md 2018-05-31 06:36:24 -05:00
Preetha
46a6cf5532 Merge pull request #4357 from hashicorp/b-compat-drain-eligible
Set node eligibility to true when old client calls disable
2018-05-30 15:27:41 -07:00
Preetha Appan
d053e5323d Use constant in test 2018-05-30 17:27:04 -05:00
Preetha Appan
44aef6567e Add unit test to verify compatibility code for node drains 2018-05-30 17:14:53 -05:00
Preetha Appan
bcf34c3449 Set node eligibility to true when old client calls disable 2018-05-30 16:54:07 -05:00
Michael Lange
400ca29ac9 Merge pull request #4353 from hashicorp/f-ui-node-drain
UI: Node drain and eligibility
2018-05-30 14:40:21 -07:00
Michael Lange
83e0b10451 Account for the 0 case in format-duration 2018-05-30 14:30:45 -07:00
Preetha Appan
265dee76ee Update CHANGELOG 2018-05-30 15:23:36 -05:00
Preetha
4495ad94fc Merge pull request #4355 from hashicorp/b-test-fixes
test fixes
2018-05-30 13:18:57 -07:00
Preetha
93e7dc8472 Merge pull request #4349 from hashicorp/b-reconcile-raft-upgrade
Remove an unnecessary check in nomad member reconciliation
2018-05-30 13:17:38 -07:00
Preetha Appan
51a5b592c5 Fix failing test TestClientStatusRequest 2018-05-30 15:11:54 -05:00
Preetha Appan
6b192593a1 Fix failing test TestHTTP_AllocAllGC 2018-05-30 15:11:54 -05:00
Alex Dadgar
b1e7edaf6a changelog 2018-05-30 13:06:57 -07:00
Alex Dadgar
84383bc0fd Merge pull request #4329 from hashicorp/b-leaked-deployments
Clean up leaked deployments on restoration
2018-05-30 20:06:03 +00:00
Alex Dadgar
aaf1e197aa Merge pull request #4342 from gkrizek/gkrizek/404-update
Update 404 page to match other HashiCorp sites
2018-05-30 20:05:36 +00:00
Alex Dadgar
ceb075bf63 docs 2018-05-30 12:58:03 -07:00
Alex Dadgar
5902ea433c test pid limit 2018-05-30 12:55:24 -07:00
Preetha
2c1693532a Merge pull request #4352 from hashicorp/b-update-drain-no-drainstrategy
fix bug with node eligibility staying disabled even after drain is disabled
2018-05-30 11:48:48 -07:00
Preetha Appan
024354f99a Add section on peers.json new format and upgrading to raft protocol 3 2018-05-30 13:47:56 -05:00
Michael Lange
d5cbcc6ab2 Merge pull request #4335 from hashicorp/b-ui-safari-log-streaming
UI: Use polling instead of streaming for following logs in Safari
2018-05-30 11:36:03 -07:00
Alex Dadgar
b683439b0d Deployment adds JobSpecModifyIndex
Deployment tracks the Job.JobModifyIndex so that PUTS against /v1/jobs
can be more easily coorelated with the created deployment.

Fixes https://github.com/hashicorp/nomad/issues/4301
2018-05-30 11:33:56 -07:00
Michael Lange
9aabe13b46 New traits for node states 2018-05-30 11:27:21 -07:00
Michael Lange
03aee6f270 Acceptance testing for node drain information 2018-05-30 11:27:21 -07:00
Michael Lange
d649f6245f Display node drain strategy information on the client detail page 2018-05-30 11:27:21 -07:00
Michael Lange
4d00f2f46d Duration formatting utility
The cloest Moment.js has is "homanize" which isn't precise enough.
2018-05-30 11:27:21 -07:00
Michael Lange
c949b4acd3 Color-code node drain and eligibility in the full client list
This makes it easier to scan for interesting nodes
2018-05-30 11:27:21 -07:00
Michael Lange
df81f316af Add drain and eligibility to the client details strip 2018-05-30 11:27:21 -07:00
Michael Lange
bb855b5f21 Add ineligibility to the status light 2018-05-30 11:27:21 -07:00
Michael Lange
c193a1dc4a Update the clients list table to include drain and eligibility
This makes it match the CLI node status output
2018-05-30 11:27:20 -07:00