Michael Schurter
f141bf3fe5
Add Agent.Health to api package
2017-10-13 16:43:00 -07:00
Alex Dadgar
2c193a08e2
Update acl_token_self.go
2017-10-13 16:38:13 -07:00
Alex Dadgar
b6d2d1f6af
List does json/template
2017-10-13 16:37:33 -07:00
Alex Dadgar
f0215b91e6
add missing namespace commands
2017-10-13 16:32:47 -07:00
Alex Dadgar
919fc3ce70
policy list and token self commands
2017-10-13 16:31:46 -07:00
Alex Dadgar
96ef879c24
Self token lookup
2017-10-13 16:31:46 -07:00
Alex Dadgar
377e63dc60
ListPolicies and GetPolicy work w/o management token
2017-10-13 16:31:46 -07:00
Michael Schurter
9d3f5a043e
Better client health check and error handling
2017-10-13 16:25:25 -07:00
Alex Dadgar
bf88fd8dd1
quota command docs
2017-10-13 16:16:36 -07:00
Michael Schurter
799a928812
Merge pull request #3388 from hashicorp/b-migration-fixes
...
Test fixes from #3383
2017-10-13 16:03:12 -07:00
Michael Schurter
b5fd075d74
Test fixes from #3383
2017-10-13 15:45:35 -07:00
Michael Schurter
c53aac9eea
Agent Health Endpoint
2017-10-13 15:37:44 -07:00
Alex Dadgar
c559f6652f
Merge pull request #3386 from hashicorp/f-sync
...
sync
2017-10-13 15:32:58 -07:00
Alex Dadgar
c1cc51dbee
sync
2017-10-13 14:36:02 -07:00
Michael Schurter
b63eee17e9
Merge pull request #3383 from hashicorp/b-migrate-token
...
base64 migrate token
2017-10-13 13:46:54 -07:00
Alex Dadgar
dd3920d681
Self token lookup
2017-10-13 13:12:20 -07:00
Alex Dadgar
5d4f467519
ListPolicies and GetPolicy work w/o management token
2017-10-13 13:12:20 -07:00
Alex Dadgar
77f6768575
changelog
2017-10-13 12:40:37 -07:00
Alex Dadgar
746cd7403f
Allow batch jobs to be rerun if purged
...
This PR allows batch jobs to be rerun if they have been purged.
2017-10-13 12:40:37 -07:00
Alex Dadgar
44927ca449
remove bad test
2017-10-13 12:40:21 -07:00
Michael Schurter
dfd2967cdb
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
93cea382dd
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
15b991e039
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
56c4a50ba1
vault_grace doc
2017-10-13 10:15:44 -07:00
Alex Dadgar
85178d6048
rkt remove allocid
2017-10-13 10:07:50 -07:00
Alex Dadgar
949fce4fee
Merge pull request #3382 from sheerun/patch-5
...
Remove AllocID from ExecutorContext
2017-10-13 10:06:06 -07:00
Michael Schurter
6a1a509ea5
Fix Request.SecretID -> Request.AuthToken
2017-10-13 09:56:56 -07:00
Alex Dadgar
87f550403b
Merge pull request #3379 from sheerun/docs-1
...
Fix typo: job -> task
2017-10-13 09:51:35 -07:00
Adam Stankiewicz
cefbc72b49
Remove AllocID from ExecutorContext
2017-10-13 17:07:49 +02:00
Adam Stankiewicz
eb4dd2f3ba
Fix typo: job -> task
2017-10-13 11:51:17 +02:00
Michael Lange
4a35f3c5a5
Handle 403s gracefully
...
- When a list 403s, treat it as if it were empty
- When a single resource 403s, redirect to an application error page
that has a backdoor link to the tokens page
2017-10-12 17:40:49 -07:00
Michael Lange
f6f024235e
Handle the case where hash.Members is undefined
2017-10-12 17:40:04 -07:00
Michael Lange
1f6ce06744
Specialized error for 403s that links to the ACLs page
2017-10-12 17:24:32 -07:00
Michael Lange
f081bf57ec
Merge pull request #3358 from hashicorp/f-ui-namespaces
...
UI for Namespaces (enterprise only)
2017-10-12 17:22:15 -07:00
Michael Schurter
021b4c1ae9
Fix AuthToken use on Node.GetAllocs
2017-10-12 17:12:41 -07:00
Michael Schurter
15b3df0b80
Merge pull request #3374 from hashicorp/f-auth-token
...
SecretID -> AuthToken
2017-10-12 16:57:49 -07:00
Michael Schurter
4a70d4356a
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
ab7b6d1315
Allow Node.SecretID for GetNode and GetAlloc
2017-10-12 16:27:33 -07:00
Alex Dadgar
686c332d12
Merge pull request #3372 from hashicorp/b-versions
...
Fix sorting of job versions
2017-10-12 15:48:01 -07:00
Alex Dadgar
5940a1fbde
Merge pull request #3373 from hashicorp/f-403
...
Permission denied results in 403
2017-10-12 15:47:29 -07:00
Alex Dadgar
d6b970eec9
Handle invalid token as well
2017-10-12 15:39:05 -07:00
Michael Schurter
a003e3dd43
Add StateStore.NodeBySecretID
2017-10-12 15:27:29 -07:00
Michael Schurter
51bce7b1a3
Add index to Node.SecretID
2017-10-12 15:21:20 -07:00
Michael Schurter
84d8a51be1
SecretID -> AuthToken
2017-10-12 15:16:33 -07:00
Michael Schurter
a75e039c46
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
0b538ded83
403 instead of 500 for permission denied
2017-10-12 14:10:20 -07:00
Alex Dadgar
b5fc557253
ACL command options
2017-10-12 13:51:39 -07:00
Alex Dadgar
259595bcdb
changelog
2017-10-12 13:36:46 -07:00
Alex Dadgar
e7e18c931c
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
303eb3279b
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