Commit graph

11411 commits

Author SHA1 Message Date
Nick Ethier c67c4f2d6e
Merge pull request #4176 from hashicorp/i-cli-error-help
Improve help text when invalid arguments are given
2018-04-19 12:45:22 -04:00
Nick Ethier 50bab2dd83
command: fix job dispatch arg check 2018-04-18 21:21:43 -04:00
Michael Schurter fdbcbd4e5b
Merge pull request #4058 from hashicorp/f-mock-by-default
[Post-0.8] test: build with mock_driver by default
2018-04-18 15:57:00 -07:00
Michael Schurter 4d8c65300d
Merge pull request #4174 from hashicorp/tests-fix-ar-race
tests: fix race in alloc_runner_test.go
2018-04-18 14:49:00 -07:00
Michael Schurter d3650fb2cd test: build with mock_driver by default
`make release` and `make prerelease` set a `release` tag to disable
enabling the `mock_driver`
2018-04-18 14:45:33 -07:00
Michael Schurter 04b62e9056
Merge pull request #4160 from hashicorp/docs-job-telemetry
Document job telemetry from #3467
2018-04-18 13:57:33 -07:00
Nick Ethier d0326503ac
command: use ':' instead of ',' in error msg 2018-04-18 13:55:51 -04:00
Nick Ethier bde560a863
command: update tests to check for new error message 2018-04-18 13:51:17 -04:00
Preetha 7bc122dd5b
Merge pull request #4172 from omame/patch-1
Typo fix on a link
2018-04-18 12:05:34 -05:00
Nick Ethier 71fd07d4d0
command: fix misspelling in comment 2018-04-18 12:19:53 -04:00
Nick Ethier 182e3bec1b
command: improve help text when invalid arguments are given 2018-04-18 12:02:11 -04:00
Charlie Voiselle 8aa9b8fda3
Merge pull request #4173 from hashicorp/docs-acl-vault-typos
Fix typos in example commands
2018-04-18 11:41:27 -04:00
Laura Uva 7f2b036031 Fix typos in example commands in the Vault Integration Configuration section of ACL guide 2018-04-17 17:16:35 -07:00
Michael Schurter a991923389 tests: fix race in alloc_runner_test.go
I could not reproduce the failure locally even with `stress -cpu ...`
eating all the cpu it could on my machine.

But I think the race was in one of two places:
* The task could restart which could create new events
* I think there could be a race between the updater's version of events
  and alloc runners as updates are async

I fixed both. Here's hoping that fixes this flaky test.
2018-04-17 17:14:59 -07:00
Alex Dadgar f7a450536e bump vagrant version 2018-04-17 14:13:14 -07:00
Alex Dadgar 8bf46dfb95 changelog and version 2018-04-17 14:06:14 -07:00
Alex Dadgar eeb85299ff gofmt -s nomad/structs/structs_test.go 2018-04-17 13:39:32 -07:00
Michael Lange e3433ac449
Merge pull request #4167 from hashicorp/ui-fix-flaky-tests
UI: Fix a couple flaky tests
2018-04-17 13:36:35 -07:00
Daniele Valeriani b318e78fdf
Typo fix on a link 2018-04-17 22:17:48 +02:00
Michael Lange b3c3548ccd Track requests in test mode
This is now necessary in mirage 0.4
2018-04-17 10:28:59 -07:00
Michael Lange 9331a02e67 Upgrade ember-cli-mirage 2018-04-17 10:28:58 -07:00
Michael Lange 5223a3f816 Don't read properties off of null objects
Somehow this controller code runs sometimes when the existing jobs
are dematerializing. This makes this.get('model') and array of null
2018-04-17 10:28:58 -07:00
Michael Lange 1f300eb4fb Make sure jobs and task groups have no spaces
Faker hacker nouns can sometimes be two words.
2018-04-17 10:28:58 -07:00
Alex Dadgar c4ad76091d
Merge pull request #4166 from hashicorp/b-panic-fix-update
Fixes races accessing node and updating it during fingerprinting
2018-04-17 10:02:19 -07:00
Chelsea Holland Komlo 788b23e17e add test for node copy 2018-04-17 12:58:07 -04:00
Michael Schurter 4e7786c2bb
Merge pull request #4153 from ninoles/b-2117-windows-group-process
B 2117 windows group process
2018-04-17 09:20:50 -07:00
Chelsea Holland Komlo 9b8a079558 fix up comments 2018-04-17 11:53:08 -04:00
Alex Dadgar 9d612c8cb0 Cleanup 2018-04-16 15:48:34 -07:00
Alex Dadgar 32adaf9dfc Copy the config given to the alloc runner 2018-04-16 15:45:52 -07:00
Alex Dadgar 3ff2d4d795 fix race node access 2018-04-16 15:45:51 -07:00
Alex Dadgar 4f2a7b6949 Fix copying drivers 2018-04-16 15:45:51 -07:00
Alex Dadgar 0b799822ff Operate on copy 2018-04-16 15:45:49 -07:00
Michael Schurter c97c754c4c docs: document job telemetry from #3467 2018-04-16 11:48:43 -07:00
Rob Genova 43c964ad63
Merge pull request #4155 from hashicorp/f-tf-update-ami
tf: Update to Nomad 0.8, Consul 1.0.7, and Vault 0.10
2018-04-16 11:30:28 -07:00
Alex Dadgar 6308444412
Merge pull request #4156 from PeterDaveHello/fix-console-in-Vagrant-demo
Fix consul download url in Vagrant demo
2018-04-16 09:51:33 -07:00
Alex Dadgar 300f134e1e
Merge pull request #4157 from PeterDaveHello/improve-vagrant-cpu-core-detection
Improve CPU core detection in Vagrantfile
2018-04-16 09:50:46 -07:00
Alex Dadgar 44f0e341f3
Merge pull request #4158 from PeterDaveHello/docs-update-node-status-output
[Docs] Update output message of `nomad node status`
2018-04-16 09:48:45 -07:00
Peter Dave Hello 564a9e592b [Docs] Update output message of nomad node status 2018-04-16 15:29:38 +08:00
Peter Dave Hello 5b7a5cc73a Improve CPU core detection in Vagrantfile
Use single `grep` with `^` condition instead of `grep` + `cat` + `wc`
2018-04-16 15:11:20 +08:00
Peter Dave Hello 180a59093c Fix consul download url in Vagrant demo
This issue was introduced in 07cbe23b8c5bc23a4290a577909f1731de81dc7c

```
$ curl -I https://releases.hashicorp.com/consul/1.0.0/consul_1.0.7_linux_amd64.zip
curl: (22) The requested URL returned error: 403 Forbidden

$ curl -I https://releases.hashicorp.com/consul/1.0.7/consul_1.0.7_linux_amd64.zip
HTTP/1.1 200 OK
Cache-Control: max-age=31536000, stale-white-revalidate=86400,
stale-if-error=604800, public
Content-Disposition: attachment
Last-Modified: Fri, 13 Apr 2018 17:21:08 GMT
ETag: "c5ed9baed01b2b3e52a7ecb9850cecc6"
Content-Type: application/zip
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Content-Length: 12317246
Accept-Ranges: bytes
Date: Mon, 16 Apr 2018 07:04:47 GMT
Connection: keep-alive
```
2018-04-16 15:04:55 +08:00
Rob Genova 276b4f5619 Update to Nomad 0.8, Consul 1.0.7 and Vault 0.10 2018-04-15 23:00:55 +00:00
Fabien Ninoles 5aac8c58b5 Add changelog. 2018-04-14 13:58:42 -04:00
Fabien Ninoles 27cf4995ce - Clean up for windows compilation.
- Set CREATE_NEW_PROCESS_GROUP for Windows subprocess.
- Ensure we only kill actual process that need to.
2018-04-14 13:58:42 -04:00
Alex Dadgar 315564ae94 Bump versions 2018-04-13 16:16:16 -07:00
Michael Schurter 3d163443bf Add changelog entry for #3572 2018-04-13 11:58:57 -07:00
Michael Schurter 3836b8a335
Merge pull request #3572 from emate/master
Create new process group on process startup.
2018-04-13 11:56:38 -07:00
Michael Schurter 0cc7800d76
Merge pull request #4150 from hashicorp/doc-fixes
docs: fix broken links
2018-04-12 18:07:29 -07:00
Michael Schurter 7fc8265281 docs: fix broken links 2018-04-12 18:04:53 -07:00
Michael Schurter 2775d80611 Fix more broken links 2018-04-12 17:55:20 -07:00
Michael Schurter 7d5049aa6c
Merge pull request #4149 from hashicorp/docs-fixes
Docs fixes
2018-04-12 17:32:51 -07:00