Chris Baker
7696c7336f
update changelog to reflect metrics fix
2019-05-07 19:58:41 +00:00
Chris Baker
93ec1293be
stale allocation data leads to incorrect (and even negative) metrics ( #5637 )
...
* client: was not using up-to-date client state in determining which alloc count towards allocated resources
* Update client/client.go
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-05-07 15:54:36 -04:00
Preetha
7d4fde7d3a
Fixed links in changelog
2019-05-07 14:24:18 -05:00
Michael Schurter
d2742643fd
Merge pull request #5655 from hashicorp/docs-restarts
...
docs: fix default restart values
2019-05-07 10:43:53 -07:00
Michael Schurter
c7f01a0b7a
docs: add lots of links to plugin guide
...
Add links to plugin guide because its buried under Docs -> Internal. At
least one user couldn't find it:
https://groups.google.com/d/msg/nomad-tool/5sR8MTGZFrM/8bOExpcJAgAJ
Link from:
- Devices index
- Devices community page
- Drivers index
- Drivers community page
I erred on the side of over-linking because it's just a single concise
sentence and I'd hate for people to struggle finding the guide.
Also remove some very old (4 years!) and confusing docs from the driver
index page.
2019-05-07 10:40:22 -07:00
Lang Martin
014db9c023
CHANGELOG
2019-05-07 09:24:42 -04:00
Danielle
8bbfb609c6
Merge pull request #5656 from jweissig/patch-7
...
Fixed Typo
2019-05-07 14:12:44 +02:00
Justin Weissig
77e53de301
Fixed Typo
...
Fixed typo: schedular/scheduler.
2019-05-07 05:11:36 -07:00
Michael Schurter
a1c3ce36bc
Merge pull request #5647 from hashicorp/e2e-tf
...
E2E Test Terraform/Packer Improvements
2019-05-06 15:42:52 -07:00
Michael Schurter
e9526bec29
docs: fix default restart values
2019-05-06 14:52:44 -07:00
Preetha Appan
23b654a45a
Update changelog
2019-05-06 15:44:04 -05:00
Preetha
1538913a2a
Merge pull request #5628 from hashicorp/f-preemption-config
...
Add config to disable preemption for batch/service jobs
2019-05-06 15:40:35 -05:00
Michael Lange
3b1fc408e3
Merge pull request #5620 from Mongey/cm-color-ui
...
Converts ANSI terminal codes to HTML in logs
2019-05-06 13:01:44 -07:00
Preetha Appan
b063fc81a4
Remove unnecessary locking and serverlist syncing in heartbeats
...
This removes an unnecessary shared lock between discovery and heartbeating
which was causing heartbeats to be missed upon retries when a single server
fails. Also made a drive by fix to call the periodic server shuffler goroutine.
2019-05-06 14:44:55 -05:00
Mahmood Ali
f35ad92a8b
Merge pull request #5646 from hashicorp/some-ugorji-fixes
...
Codegen codec helpers for all nomad structs
2019-05-06 13:23:12 -04:00
Lang Martin
9f3f11df97
Merge pull request #5601 from hashicorp/b-config-parse-direct-hcl
...
config parse direct hcl
2019-05-06 12:05:19 -04:00
Lang Martin
2cae46bf31
Merge pull request #5631 from hashicorp/b-system-sched-constraint-errors
...
fix system sched constraint errors
2019-05-06 11:53:40 -04:00
Mahmood Ali
12208a8cd8
Merge pull request #5653 from hashicorp/b-s3-virtualbucket-style
...
docs: update s3 urls to use virtual bucket style
2019-05-06 11:40:48 -04:00
Mahmood Ali
835827ebcd
Merge pull request #5651 from hashicorp/f-peers-json-info
...
Update peers info with new raft config details
2019-05-06 11:40:35 -04:00
Mahmood Ali
bfc907827c
docs: update s3 urls to use virtual bucket style
...
In response to https://forums.aws.amazon.com/ann.jspa?annID=6776
2019-05-06 10:39:51 -04:00
Charlie Voiselle
175656ad46
Merge pull request #5652 from jweissig/patch-6
...
Fix Typo
2019-05-05 15:15:31 -04:00
Justin Weissig
e2ea24a0de
Fix Typo
...
Fixed Typo: Behing/Behind.
2019-05-05 05:42:40 -07:00
Lang Martin
1e5d851d23
executor_test cleanup old lookupBin tests
2019-05-04 10:21:59 -04:00
Preetha Appan
a4b9f53d43
update changelog
2019-05-03 17:07:27 -05:00
Preetha
116b7d0a61
Merge pull request #5645 from hashicorp/b-deploy-health
...
Update deployment health on failed allocations only if health is unset
2019-05-03 17:04:18 -05:00
Mahmood Ali
92c133b905
Update peers info with new raft config details
2019-05-03 16:55:53 -04:00
Lang Martin
c777271374
driver_test StartWait task calls a program inside it's chroot
2019-05-03 16:34:31 -04:00
Lang Martin
c0741e392d
executor lookupTaskBin also does PATH expansion, anchored in taskDIR
2019-05-03 16:22:09 -04:00
Lang Martin
1619d3e3cb
executor_linux_test test PATH lookup inside the container
2019-05-03 16:21:58 -04:00
Mahmood Ali
9325723e5e
Merge pull request #5629 from hbasappa/peersjon
...
Add support in nomad for supporting raft 3 protocol peers.json
2019-05-03 15:19:54 -04:00
Preetha Appan
ad3c263d3f
Rename to match system scheduler config.
...
Also added docs
2019-05-03 14:06:12 -05:00
Lang Martin
22e99e41c1
executor and executor_linux debug launch prep and process start
2019-05-03 14:42:57 -04:00
Lang Martin
47b9fc3d26
executor_linux_test new TestExecutor_EscapeContainer
2019-05-03 14:38:42 -04:00
Lang Martin
1cf936e90f
executor_test test for more edges of lookupBin behavior
2019-05-03 11:55:19 -04:00
Lang Martin
88ce590dac
executor_linux call new lookupTaskBin
2019-05-03 11:55:19 -04:00
Lang Martin
ed63d6743b
executor split up lookupBin
2019-05-03 11:55:19 -04:00
Michael Schurter
8c7b3ff45a
Fix comment
...
Co-Authored-By: preetapan <preetha@hashicorp.com>
2019-05-03 10:01:30 -05:00
Michael Schurter
e19fa33f9c
Remove unnecessary boolean clause
...
Co-Authored-By: preetapan <preetha@hashicorp.com>
2019-05-03 10:00:17 -05:00
Michael Schurter
93f3ac7a9c
e2e: explain these scripts are for packer
...
It took me way too long to figure out these weren't used by TF.
2019-05-03 07:55:28 -07:00
Michael Schurter
7558747694
e2e: let the unindex clients do anything...
...
...and be debugable!
2019-05-03 07:54:55 -07:00
Michael Schurter
f08dd66ffa
e2e: ssh instructions + remove redundant naming
2019-05-03 07:54:34 -07:00
Michael Schurter
19889d6468
e2e: update deps and install nomad in packer
...
Nomad on the packer image will be overwritten by the sha specified in
the TF var, but including a base version on the packer image makes the
image valid for independent use.
2019-05-03 07:53:08 -07:00
Michael Schurter
13b62a68f7
e2e: enable systemd units so they start on boot
2019-05-03 07:52:03 -07:00
Jasmine Dahilig
016495c368
add non-empty string validation for datacenters
2019-05-03 06:48:02 -07:00
Preetha Appan
b99a204582
Update deployment health on failed allocations only if health is unset
...
This fixes a confusing UX where a previously successful deployment's
healthy/unhealthy count would get updated if any allocations failed after
the deployment was already marked as successful.
2019-05-02 22:59:56 -05:00
Lang Martin
c32cce51f0
client fingerprinting can keep multi ips on a device
2019-05-02 18:11:28 -04:00
Lang Martin
94f23016a2
client_test new test fingerprinting can keep multi ips on a device
2019-05-02 18:11:28 -04:00
Conor Mongey
49afa42af3
Return a htmlSafe string rather than use triple curlies
2019-05-02 21:47:24 +01:00
Conor Mongey
9ab4ef52c0
Converts ANSI terminal codes to HTML in logs
2019-05-02 21:47:23 +01:00
Mahmood Ali
85760a13ae
Merge pull request #5641 from hashicorp/b-task-networks-ports
...
client: handle 0.8 server network resources
2019-05-02 13:45:07 -04:00