Commit Graph

9106 Commits

Author SHA1 Message Date
Michael Schurter
911a044ee8 Merge pull request #3388 from hashicorp/b-migration-fixes
Test fixes from #3383
2017-10-13 16:03:12 -07:00
Michael Schurter
f6f8c3dafd Test fixes from #3383 2017-10-13 15:45:35 -07:00
Alex Dadgar
002e31ae1b Merge pull request #3386 from hashicorp/f-sync
sync
2017-10-13 15:32:58 -07:00
Alex Dadgar
f6fbb36054 sync 2017-10-13 14:36:02 -07:00
Michael Schurter
dd17810706 Merge pull request #3383 from hashicorp/b-migrate-token
base64 migrate token
2017-10-13 13:46:54 -07:00
Alex Dadgar
f4e93d9047 remove bad test 2017-10-13 12:40:21 -07:00
Michael Schurter
897df36b4f Merge pull request #3376 from hashicorp/f-node-acls
Allow Node.SecretID for Node.GetNode and Allocs.GetAlloc
2017-10-13 11:51:48 -07:00
Michael Schurter
99e8a45fa2 Remove support for pre-0.5 nodes
Nodes before 0.5 did not have a SecretID. Since SecretID is now a
required field and 0.4.x is >2 point releases ago, drop support for it.
2017-10-13 11:28:47 -07:00
Michael Schurter
0d535aea95 base64 migrate token
HTTP header values must be ASCII.

Also constant time compare tokens and test the generate and compare
helper functions.
2017-10-13 10:59:13 -07:00
Alex Dadgar
ae1883e2ae vault_grace doc 2017-10-13 10:15:44 -07:00
Alex Dadgar
1f3920ffdf rkt remove allocid 2017-10-13 10:07:50 -07:00
Alex Dadgar
4cd807aa06 Merge pull request #3382 from sheerun/patch-5
Remove AllocID from ExecutorContext
2017-10-13 10:06:06 -07:00
Michael Schurter
94a7d45232 Fix Request.SecretID -> Request.AuthToken 2017-10-13 09:56:56 -07:00
Alex Dadgar
ea84ab55e6 Merge pull request #3379 from sheerun/docs-1
Fix typo: job -> task
2017-10-13 09:51:35 -07:00
Adam Stankiewicz
79eccb2b1e Remove AllocID from ExecutorContext 2017-10-13 17:07:49 +02:00
Adam Stankiewicz
891813fb1f Fix typo: job -> task 2017-10-13 11:51:17 +02:00
Michael Lange
6f9972ac19 Merge pull request #3358 from hashicorp/f-ui-namespaces
UI for Namespaces (enterprise only)
2017-10-12 17:22:15 -07:00
Michael Schurter
455e9150ea Fix AuthToken use on Node.GetAllocs 2017-10-12 17:12:41 -07:00
Michael Schurter
3ed3d1b925 Merge pull request #3374 from hashicorp/f-auth-token
SecretID -> AuthToken
2017-10-12 16:57:49 -07:00
Michael Schurter
5317c17e93 Alloc watcher must send Node.SecretID as AuthToken
An auth token is required if ACLs are enabled
2017-10-12 16:38:02 -07:00
Michael Schurter
6c5ac10db8 Allow Node.SecretID for GetNode and GetAlloc 2017-10-12 16:27:33 -07:00
Alex Dadgar
f0f75abd32 Merge pull request #3372 from hashicorp/b-versions
Fix sorting of job versions
2017-10-12 15:48:01 -07:00
Alex Dadgar
be053a4327 Merge pull request #3373 from hashicorp/f-403
Permission denied results in 403
2017-10-12 15:47:29 -07:00
Alex Dadgar
f1965d6305 Handle invalid token as well 2017-10-12 15:39:05 -07:00
Michael Schurter
89ccbcd3c4 Add StateStore.NodeBySecretID 2017-10-12 15:27:29 -07:00
Michael Schurter
0ac080b1ea Add index to Node.SecretID 2017-10-12 15:21:20 -07:00
Michael Schurter
fae8e7f699 SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
Michael Schurter
918f4753cb Merge pull request #3371 from hashicorp/d-sentinel-link
Link to the Sentinel docs from the guide
2017-10-12 14:33:58 -07:00
Alex Dadgar
21c2ba33e5 403 instead of 500 for permission denied 2017-10-12 14:10:20 -07:00
Alex Dadgar
5d724d619d ACL command options 2017-10-12 13:51:39 -07:00
Alex Dadgar
3dd28105b9 changelog 2017-10-12 13:36:46 -07:00
Alex Dadgar
06646253f6 Fix sorting of job versions
Fixes an issue in which the versions were improperly sorted which would
cause pruning of the wrong job version. This essentially meant that job
versions above 255 would be dropped from the job version table (note
this was due to the prefix walk crossing from the 1-byte to 2-byte
threshold).

Fixes https://github.com/hashicorp/nomad/issues/3357
2017-10-12 13:33:55 -07:00
Michael Lange
ae1cdd97ef Merge pull request #3370 from hashicorp/b-ui-release-error-state-on-transition
Allow users to escape error pages with the back button
2017-10-12 13:03:31 -07:00
Rob Genova
867722025f Update sentinel-policy.html.markdown 2017-10-12 12:56:55 -07:00
Michael Lange
6bbf3ac992 Allow users to escape error pages with the back button 2017-10-12 12:35:00 -07:00
Michael Lange
88fea83bc1 Add a generic catch-all error message 2017-10-12 12:34:10 -07:00
Michael Schurter
d87434710e Merge pull request #3362 from hashicorp/b-3326-malformed-consul-resp
Don't panic on unexpeced Consul response
2017-10-12 11:34:40 -07:00
Alex Dadgar
45a16a4794 Merge pull request #3361 from hashicorp/d-ui
UI command documentation
2017-10-12 09:42:22 -07:00
Alex Dadgar
9ae009eadb Update ui.html.md.erb 2017-10-12 09:42:11 -07:00
Michael Schurter
300740ee77 Merge pull request #3353 from hashicorp/f-acl-prefix-search
Prefix Search ACL enforcement
2017-10-11 20:26:03 -07:00
Michael Schurter
1b21130dae Don't panic on unexpeced Consul response
Fixes #3326
2017-10-11 18:25:54 -07:00
Alex Dadgar
580e1685e5 UI command documentation 2017-10-11 18:24:58 -07:00
Alex Dadgar
b1e67a44ec Merge pull request #3360 from hashicorp/f-consul-template
Use Vault default grace
2017-10-11 18:11:17 -07:00
Alex Dadgar
5fdadc9224 fix test 2017-10-11 18:11:03 -07:00
Alex Dadgar
980d833073 Merge pull request #3322 from hashicorp/f-authenticated-volumes
Authenticated client volumes
2017-10-11 18:09:21 -07:00
Alex Dadgar
0bb80816f9 fix test 2017-10-11 18:08:37 -07:00
Michael Schurter
f4e3fa6770 Refactor permissions checks into funcs
funcs are in the _oss file to ease creating Enterprise versions which
support Quotas and Namespaces.
2017-10-11 18:05:27 -07:00
Alex Dadgar
040c35f186 documentation 2017-10-11 17:48:18 -07:00
Alex Dadgar
232b4a2de4 changelog 2017-10-11 17:43:14 -07:00
Alex Dadgar
412f475750 vendor consul-template 2017-10-11 17:23:09 -07:00