Commit graph

9620 commits

Author SHA1 Message Date
Michael Lange 967d3a2e8e In dev mode, mask the local node port to 4200
This allows for local development with the client end points for the node
running on localhost.
2017-10-17 10:17:41 -07:00
Michael Schurter f58081f352 No need to leave this commented out code in 2017-10-17 09:56:54 -07:00
Chelsea Holland Komlo bcfebe032b update error message for invalid policy 2017-10-17 12:21:38 -04:00
Chelsea Holland Komlo a90205f16e policy must specify at least one namespace 2017-10-17 12:12:54 -04:00
James Phillips 9a5651e83a
Applies leader loop fixes from Consul.
There was a deadlock issue we fixed under https://github.com/hashicorp/consul/issues/3230,
and then discovered an issue with under https://github.com/hashicorp/consul/issues/3545. This
PR ports over those fixes, as well as makes the revoke actions only happen if leadership was
established. This brings the Nomad leader loop inline with Consul's.
2017-10-16 22:01:49 -07:00
Chelsea Komlo f7ee26502d Merge pull request #3400 from hashicorp/b-quota-guide
Small fix for quota guide
2017-10-16 20:37:02 -04:00
Michael Schurter 0aace3d749 Don't set Interval on TTL health checks 2017-10-16 17:35:47 -07:00
Alex Dadgar 21e170c0d2 Merge pull request #3401 from hashicorp/f-docker-build
build scripts
2017-10-16 17:07:13 -07:00
Michael Schurter 84f480528a Consul test server fork without porter/rpc.ports 2017-10-16 17:05:00 -07:00
Alex Dadgar e540de725d build scripts 2017-10-16 16:44:08 -07:00
Chelsea Holland Komlo 9005e2e8a5 small guide instruction fix 2017-10-16 19:05:01 -04:00
Michael Schurter c01efb0a6d Update vendored Consul to 1.0.0
Also install new porter dep
2017-10-16 16:04:14 -07:00
Chelsea Komlo 1ccc1f79f6 Merge pull request #3393 from hashicorp/b-delete-nonexistent-tokens
Return error if tokens cannot be deleted because they do not exist
2017-10-16 18:36:41 -04:00
Michael Lange e1b68ad7d6 Merge pull request #3389 from hashicorp/f-ui-token-v2
Improved ACL Token page
2017-10-16 14:56:19 -07:00
Alex Dadgar be053364ba no namespaces in oss test 2017-10-16 14:21:29 -07:00
Michael Schurter 15806cd766 Merge pull request #3396 from hashicorp/b-rkt-logging
Squelch repeated rkt version warnings
2017-10-16 14:14:58 -07:00
Chelsea Holland Komlo a8becb96c0 review feedback 2017-10-16 17:14:48 -04:00
Chelsea Holland Komlo 2377d97d51 return error if tokens cannot be deleted because they do not exist 2017-10-16 17:14:48 -04:00
Michael Schurter d214242556 Bump Consul to 1.0.0 in vagrant/travis 2017-10-16 14:10:39 -07:00
Michael Schurter 22ac450b2f Properly fail rkt fingerprinting on old vesions 2017-10-16 13:58:58 -07:00
Alex Dadgar e80c39459d Merge pull request #3397 from hashicorp/b-fix-build
Fix up spelling in quota guide
2017-10-16 13:55:20 -07:00
Chelsea Holland Komlo d2fc3c0158 fix up spelling in guide 2017-10-16 16:39:56 -04:00
Michael Lange 175acde8b6 Order keys consistently for enhanced readability 2017-10-16 13:27:52 -07:00
Michael Lange e9579b0977 Make sure token policy ids are unique
When they aren't unique, length checks will fail
2017-10-16 13:27:52 -07:00
Michael Lange 85f66ffa94 Use /acl/token/self instead of /acl/token/:accessor_id 2017-10-16 13:27:52 -07:00
Michael Lange f7feebb1ad Redo acceptance testing for ACL tokens 2017-10-16 13:27:52 -07:00
Michael Lange 21a9d9c4e5 Mirage factories for tokens and policies 2017-10-16 13:27:51 -07:00
Michael Lange d177cf90c3 Redo the tokens page to be a form that validates a token and lists policies 2017-10-16 13:27:51 -07:00
Michael Lange 040e3fec10 Data modeling for tokens and policies 2017-10-16 13:27:51 -07:00
Michael Lange c04d9020c2 Merge pull request #3377 from hashicorp/b-ui-gracefully-handle-403s
Gracefully handle 403s in the UI
2017-10-16 13:26:59 -07:00
Alex Dadgar fd5be6de76 Merge pull request #3395 from hashicorp/d-quota
Document Quotas
2017-10-16 12:41:05 -07:00
Alex Dadgar 12ff9e5da1 review feedback 2017-10-16 12:40:41 -07:00
Michael Schurter d7732c1a58 Squelch repeated rkt version warnings 2017-10-16 12:09:47 -07:00
Alex Dadgar 6f66332abc Merge pull request #3385 from hashicorp/f-acl-cli
Policy list and token self commands
2017-10-16 11:30:09 -07:00
Alex Dadgar 5172073db2 Merge branch 'master' into f-acl-cli 2017-10-16 11:29:48 -07:00
Alex Dadgar b940175933 Update acl-tokens.html.md 2017-10-16 11:29:08 -07:00
Alex Dadgar 49248b11ef guide 2017-10-16 11:23:18 -07:00
Michael Schurter 916682f8a0 Merge pull request #3387 from hashicorp/f-aclless-health
Agent Health Endpoint
2017-10-16 11:05:09 -07:00
Alex Dadgar 24eff68c37 clarify duration 2017-10-16 10:08:35 -07:00
Alex Dadgar 8540be6964 api 2017-10-15 21:15:14 -07:00
Alex Dadgar e961e36046 quota api 2017-10-15 16:41:24 -07:00
Alex Dadgar 44240ce440 Merge pull request #3375 from hashicorp/b-batch
Allow batch jobs to be rerun if purged
2017-10-13 17:11:45 -07:00
Alex Dadgar c3f06b2134 Merge pull request #3384 from hashicorp/f-self-policies
Ability to introspect self token
2017-10-13 17:11:22 -07:00
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