Nick Ethier
45b0ce9177
command: improve help text when invalid arguments are given
2018-04-18 12:02:11 -04:00
Charlie Voiselle
60a4952da8
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
b1b29cd3e2
Fix typos in example commands in the Vault Integration Configuration section of ACL guide
2018-04-17 17:16:35 -07:00
Michael Schurter
55dcadc132
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
0dbf00efd2
bump vagrant version
2018-04-17 14:13:14 -07:00
Alex Dadgar
ce180326ac
changelog and version
2018-04-17 14:06:14 -07:00
Alex Dadgar
3916791537
gofmt -s nomad/structs/structs_test.go
2018-04-17 13:39:32 -07:00
Michael Lange
d84bb51d21
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
367dc27a6f
Typo fix on a link
2018-04-17 22:17:48 +02:00
Fabien Ninoles
3eba6ca8c2
Merge branch 'master' into b-2117-windows-group-process
2018-04-17 13:47:25 -04:00
Fabien Ninoles
d6cc8895ca
Update based on PR request.
2018-04-17 13:43:04 -04:00
Michael Lange
61c0b321a0
Track requests in test mode
...
This is now necessary in mirage 0.4
2018-04-17 10:28:59 -07:00
Michael Lange
c84ae85578
Upgrade ember-cli-mirage
2018-04-17 10:28:58 -07:00
Michael Lange
f5d8324d18
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
69251628f7
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
30cd227763
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
0596828eb5
add test for node copy
2018-04-17 12:58:07 -04:00
Michael Schurter
081ef6bfee
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
3ebecb676c
fix up comments
2018-04-17 11:53:08 -04:00
Nick Ethier
059ea949be
minor code review fixes to api/jobs
2018-04-17 10:18:36 -04:00
Peter Dave Hello
4b3dce2614
Use CONSUL_VERSION variable in demo Vagrantfile
2018-04-17 13:51:30 +08:00
Nick Ethier
8ef7d208c9
website: fix type in api/jobs/parse
2018-04-16 19:32:37 -04:00
Nick Ethier
815c9fcce2
add changelog entry for new jobs/parse endpoint
2018-04-16 19:24:05 -04:00
Nick Ethier
2e31bbe333
website: add standard blocking query/ACL table to jobs/parse ep
2018-04-16 19:21:09 -04:00
Nick Ethier
4303941098
command/agent: fix url in jobs parse ep test
2018-04-16 19:21:09 -04:00
Nick Ethier
4952c52d49
api: add test for canonicalized jobs/parse
2018-04-16 19:21:09 -04:00
Nick Ethier
c5945204a6
command/agent: fix ptr ref in job endpoint test
2018-04-16 19:21:09 -04:00
Nick Ethier
a5ffa2271a
website: add api docs for v1/jobs/parse endpoint
2018-04-16 19:21:09 -04:00
Nick Ethier
14c44da757
command/agent: add Canonicalize option to parse args
2018-04-16 19:21:09 -04:00
Nick Ethier
03f5c2f6f9
command/agent: add HCL mock for parse endpoint
2018-04-16 19:21:09 -04:00
Nick Ethier
b2b999249b
command/agent: add /v1/jobs/parse endpoint
...
The parse endpoint accepts a hcl jobspec body within a json object
and returns the parsed json object for the job. This allows users to
register jobs with the nomad json api without specifically needing
a nomad binary to parse their hcl encoded jobspec file.
2018-04-16 19:21:06 -04:00
Alex Dadgar
cc3f264a35
Cleanup
2018-04-16 15:48:34 -07:00
Alex Dadgar
3cf87e0dc8
Copy the config given to the alloc runner
2018-04-16 15:45:52 -07:00
Alex Dadgar
741975657d
fix race node access
2018-04-16 15:45:51 -07:00
Alex Dadgar
89fa9a1e10
Fix copying drivers
2018-04-16 15:45:51 -07:00
Alex Dadgar
9929019b9a
Operate on copy
2018-04-16 15:45:49 -07:00
Michael Schurter
cd066b8cd9
docs: document job telemetry from #3467
2018-04-16 11:48:43 -07:00
Rob Genova
e0913af23b
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
4cbaec4374
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
b703a5ed88
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
f13a38f36c
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
bb4d7be2d0
[Docs] Update output message of nomad node status
2018-04-16 15:29:38 +08:00
Peter Dave Hello
dfc28f4813
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
da8bd05d36
Fix consul download url in Vagrant demo
...
This issue was introduced in 07cbe23b8c
```
$ 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
500c397366
Update to Nomad 0.8, Consul 1.0.7 and Vault 0.10
2018-04-15 23:00:55 +00:00
Fabien Ninoles
3260fc88be
Add changelog.
2018-04-14 13:58:42 -04:00
Fabien Ninoles
7023b63ffa
- 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
07cbe23b8c
Bump versions
2018-04-13 16:16:16 -07:00
Michael Schurter
04e781df21
Add changelog entry for #3572
2018-04-13 11:58:57 -07:00
Michael Schurter
1e67780f1e
Merge pull request #3572 from emate/master
...
Create new process group on process startup.
2018-04-13 11:56:38 -07:00