Alex Dadgar
bcb1a2e216
Do not allow path to escape the alloc dir for the FS commands
2016-10-03 14:58:44 -07:00
Michael Schurter
95af8374f0
Merge pull request #1735 from hashicorp/b-bootstrap-flapping
...
Retry all servers on RPC call failure
2016-09-27 16:33:15 -07:00
Seth Vargo
04c7163aa2
Clarify server-members is server-only ( #1761 )
...
* Add a note to the CLI that only servers can run this command
* Add a callout that this is a server command
* Remove the annoying bottom margin on callouts
2016-09-27 13:51:54 -07:00
Michael Schurter
6b9be92dea
Fix agent server set test
...
Test asserted endpoint appendend servers, but the new/desired behavior
is for the endpoint to set/overwrite servers.
2016-09-26 11:57:06 -07:00
Seth Vargo
c1ee623c78
Update the sample jobfile syntax
...
- Uses spaces instead of tabs for the sample job file. Even though Nomad
is written in Go, the HCL style guide uses two spaces for indentation,
and this will match Terraform and Vault in terms of configuration.
- Locks to redis:3.2 instead of floating latest. Running latest in
production is a bad idea and we shouldn't encourage it even via
example.
- Removes the linux constraint (native docker exists for both Mac and
Windows now)
- Aligns equal signs and stuff as per the HCL formatter
- Closes #1743
2016-09-24 14:42:25 -04:00
Seth Vargo
279c4c62fd
Convert example job file constraint to comment
...
This improves the "getting started" happy path experience for non-linux
users who are running the native Docker tools on their machines. There
is no need to constrain this job to linux, since driver detection for
docker will already (basically) do this.
2016-09-24 14:12:30 -04:00
Michael Schurter
64ac9b9359
Retry all servers on RPC call failure
...
rpcproxy is refactored into serverlist which prioritizes good servers
over servers in a remote DC or who have had a failure.
Registration, heartbeating, and alloc status updating will retry faster
when new servers are discovered.
Consul discovery will be retried more quickly when no servers are
available (eg on startup or an outage).
2016-09-23 11:44:48 -07:00
Diptanu Choudhury
dd3af85114
Adding a snapshot endpoint on the client ( #1730 )
2016-09-21 21:28:12 -07:00
Alex Dadgar
d49dda45e3
Merge pull request #1713 from hashicorp/f-alloc-runner-vault
...
Vault integration in client
2016-09-20 16:15:55 -07:00
Alex Dadgar
7f608add4f
alloc-status
2016-09-14 18:27:13 -07:00
Diptanu Choudhury
396e45629b
Renaming LocalDisk to EphemeralDisk ( #1710 )
...
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Alex Dadgar
bec6adb2ee
Vault token threaded
2016-09-14 13:30:01 -07:00
Mathias Lafeldt
af2072237d
Fix typo in alloc-status output
2016-09-13 17:47:11 +02:00
Robert Neumayer
5b0c04d84b
Fix typo
...
Telementry -> Telemetry
2016-09-11 09:46:05 +02:00
Michal Wieczorek
3c020b1421
Close job temp file
2016-09-05 23:40:53 +02:00
Diptanu Choudhury
df102f921c
Removing warn msg
2016-09-04 17:22:49 -07:00
Alex Dadgar
e2c179821e
Vault config flags
2016-09-01 15:41:07 -07:00
Michael Schurter
5f04e2a398
Merge pull request #1668 from hashicorp/b-fix-consul-updates
...
Fix old services not getting removed from consul on update
2016-08-31 17:17:09 -07:00
Michael Schurter
ff21ded331
Query consul without helpers in test to be safe
2016-08-31 14:14:17 -07:00
Diptanu Choudhury
2176115957
Merge pull request #1670 from hashicorp/b-telemetry-config
...
Merging telemetry configs
2016-08-31 11:47:50 -07:00
Diptanu Choudhury
5e1fdd9784
Added a test
2016-08-31 11:46:51 -07:00
Diptanu Choudhury
3c39195771
Merging telemetry configs
2016-08-31 11:24:01 -07:00
Michael Schurter
8c9f5b7858
Make comment more precise
2016-08-31 10:43:55 -07:00
Michael Schurter
75e18f2419
Fix error message when querying consul fails
2016-08-31 10:42:51 -07:00
Michael Schurter
bcbe49ee2f
Assert syncer state is consistent with consul's state
2016-08-31 09:19:54 -07:00
Michael Schurter
1d8d6b57dc
Remove extra consul service tracking entirely
...
Instead just remove all associated services on shutdown.
2016-08-30 17:10:15 -07:00
Michael Schurter
a63b2ccfdc
Fix old services not getting removed from consul on update
...
Fixes #1661
2016-08-30 16:36:42 -07:00
Diptanu Choudhury
fae5e519d8
Merge pull request #1654 from hashicorp/f-sticky-spec
...
Server side changes for sticky volumes
2016-08-29 14:00:32 -07:00
Mathias Lafeldt
464e1c8b78
Make node-status -short work without node stats
2016-08-29 17:45:37 +02:00
Mathias Lafeldt
385552ddea
Make alloc-status -short work without allocation stats
2016-08-29 17:45:23 +02:00
Alex Dadgar
859f4c5d5e
Increase the timeout to be greater than the RPC hold threshold
2016-08-26 11:13:20 -07:00
Diptanu Choudhury
efb0d3de8a
Fixed some more tests
2016-08-25 23:05:21 -05:00
Alex Dadgar
5298753b48
Merge pull request #1613 from nak3/plan255
...
command.plan: tiny: Fix expect error code message from 1 to 255
2016-08-24 15:33:40 -07:00
Diptanu Choudhury
4a3eee92ff
Merge pull request #1645 from capone212/failing_cehcks_fix
...
issue #1636 : start CheckRunner if check exists in consul already
2016-08-24 16:27:05 -05:00
capone
7f53d0258e
Fixed CR defects
2016-08-24 01:33:44 +03:00
Alex Dadgar
1c45799c49
Merge pull request #1580 from hashicorp/f-disk-usage-monitoring
...
Monitor and enforce shared allocation directory disk usage
2016-08-23 09:49:53 -07:00
capone
1a37bc33c6
First attemt to fix issue #1636
2016-08-23 19:09:20 +03:00
Diptanu Choudhury
5036f24591
Attempting to fix alloc status test
2016-08-22 15:07:49 -05:00
Alex Dadgar
467fa9c6fa
format error
2016-08-19 16:16:15 -07:00
Cameron Davison
89d3feb420
add Created At to nomad alloc-status
2016-08-18 21:25:32 -05:00
Alex Dadgar
b082bdd52f
test fixes
2016-08-18 10:30:47 -07:00
Ivo Verberk
13071e9846
Disk resource monitoring and enforcement
2016-08-18 07:59:03 +02:00
Alex Dadgar
176a71690b
add import
2016-08-17 16:49:05 -07:00
Kenjiro Nakayama
5b91e24e50
command.plan: tiny: Fix expect error code message from 1 to 255
2016-08-18 08:26:23 +09:00
Alex Dadgar
dd7d827eb0
Run command
2016-08-17 16:25:38 -07:00
Alex Dadgar
2eed545daa
Address field name feedback
2016-08-17 16:23:29 -07:00
Alex Dadgar
4efecc01ea
Pass Vault config to client
2016-08-17 16:23:29 -07:00
Alex Dadgar
7a3e69fe96
Add enabled field
2016-08-17 16:23:29 -07:00
Alex Dadgar
be93647df0
Add Vault config to server
2016-08-17 16:23:29 -07:00
Alex Dadgar
2c1fd77dfd
Change token/role names
2016-08-17 16:23:29 -07:00