Alex Dadgar
050a7bbcc7
Merge pull request #2486 from hashicorp/b-periodic-state
...
Fix periodic job state
2017-03-28 11:09:24 -07:00
Alex Dadgar
f6ea92a40b
Merge pull request #2484 from hashicorp/b-reference-restarts
...
Proper reference counting through task restarts
2017-03-28 11:03:38 -07:00
Michael Schurter
d58bcde183
Make test more accurate and add changelog entry
2017-03-28 10:53:26 -07:00
Alex Dadgar
d1645f47b1
Stop Vault token renew on task exit
...
This PR fixes an oversight in which the client would attempt to renew a
token even after the task exits.
Fixes https://github.com/hashicorp/nomad/issues/2475
2017-03-28 10:53:15 -07:00
Michael Schurter
9a0c66b55b
Don't take a reference a var in a loop
...
Fixes #2491
2017-03-28 10:16:27 -07:00
Seth Vargo
5358040a70
Update downloads page
2017-03-28 13:15:01 -04:00
Michael Schurter
cca840e4a7
Add #2290 #2490 to changelog
2017-03-28 09:48:44 -07:00
Alex Dadgar
55046ffa02
remote cli
2017-03-28 09:47:57 -07:00
Alex Dadgar
6488b4f5fd
Merge pull request #2492 from burdiyan/patch-1
...
Mention Nomad CLI remote usage
2017-03-28 09:41:29 -07:00
Michael Schurter
f2288b022d
Merge pull request #2490 from hashicorp/b-fix-api-tls
...
Fix TLS use in AllocFS API and region/dc detection
2017-03-28 09:40:22 -07:00
Seth Vargo
158d9e52bb
Remove old variables
2017-03-28 10:52:36 -04:00
Alexandr Burdiyan
90af58f392
Mention Nomad CLI remote usage
...
Added information about `NOMAD_ADDR` environment variable for Nomad CLI remote usage.
2017-03-28 12:08:35 +02:00
Michael Schurter
9a94b94bc8
Remove overly clever code
2017-03-27 20:54:43 -07:00
Seth Vargo
3d0a3806c7
Update styles
2017-03-27 23:37:59 -04:00
Michael Schurter
8310032c5c
Fix TLS use in AllocFS API and region/dc detection
2017-03-27 17:38:16 -07:00
Alex Dadgar
103e8d21fb
Fix dispatch of periodic job
...
This PR fixes an issue in which when a periodic and parameterized job
was dispatched, an allocation would be immediately created.
Fixes https://github.com/hashicorp/nomad/issues/2470
2017-03-27 16:55:17 -07:00
Michael Schurter
41dcc72033
Recoverable is a method now, not a field
2017-03-27 15:41:35 -07:00
Michael Schurter
507862ade3
Add WrapRecoverable helper
2017-03-27 15:37:15 -07:00
Alex Dadgar
23562d77c9
Access Node Meta and Attrs in template
...
This PR allows accessing the Node's attributes and metadata as in a
template.
```
template {
data = "{{ env \"attr.unique.network.ip-address\" }}"
destination = "local/out"
}
```
2017-03-27 15:15:33 -07:00
Michael Schurter
8af76ef796
Merge pull request #2483 from hashicorp/docs-artifact-source
...
Remove incorrect list of supported protocols
2017-03-27 15:12:56 -07:00
Alex Dadgar
68650f78b9
Merge branch 'master' of github.com:hashicorp/nomad
2017-03-27 11:44:58 -07:00
Alex Dadgar
7d74fb60ea
Fix update docs
2017-03-27 11:44:46 -07:00
Alex Dadgar
b364c2f1e6
Merge pull request #2471 from lnguyen/git_docs
...
added git docs to artifacts
2017-03-27 11:37:35 -07:00
Alex Dadgar
830d025755
Merge pull request #2485 from Sonna/patch-1
...
Fix typo in documentation link
2017-03-27 11:30:26 -07:00
Alex Dadgar
c9731671ad
more verbose documentation on role based vault integration
2017-03-27 11:26:18 -07:00
Alex Dadgar
1402e32c0a
document attr.unique.network.ip-address in common list
2017-03-27 10:45:16 -07:00
Alex Dadgar
787be30f13
Fix periodic job state
...
This PR fixes an issue in which a periodic job would incorrectly
transistion to status dead.
Fixes https://github.com/hashicorp/nomad/issues/2268
2017-03-27 10:35:36 -07:00
Alex Dadgar
a4ef87c6e5
bump vault
2017-03-27 10:10:42 -07:00
Alex Sonneveld
1e7a230d25
Remove localhost URL in nomad plan
command link
...
Remove the reference to `http://localhost:4567 ` within the Rolling Update
strategy documentation and fix the link to the `nomad plan` command
documentation.
2017-03-27 12:00:38 +11:00
Alex Dadgar
c2b718108a
Merge pull request #2477 from fiddyspence/bug_wrongshell_variable
...
Wrong shell variable used when changing directory
2017-03-26 14:08:34 -07:00
Alex Dadgar
4ecebe7d8c
Proper reference counting through task restarts
...
This PR fixes an issue in which the reference count on a Docker image
would become inflated through task restarts.
2017-03-25 17:05:53 -07:00
Michael Schurter
05d42c73a8
Remove incorrect list of supported protocols
...
The correct list is like 5 lines up
2017-03-24 15:37:17 -07:00
Michael Schurter
0e6c564406
Improve artifact download error message
...
Fixes #2289
Unfortunately took more RecoverableError hijinx than I would have liked.
There might be a better way.
2017-03-24 15:26:05 -07:00
Alex Dadgar
e774059725
Merge branch 'master' of github.com:hashicorp/nomad
2017-03-24 12:25:42 -07:00
Alex Dadgar
bbdef03e43
Changelog
2017-03-24 12:25:34 -07:00
Alex Dadgar
73371f62dc
Merge pull request #2480 from hashicorp/b-restart-panic
...
Fix panic when restarting non-running task
2017-03-24 12:25:00 -07:00
Alex Dadgar
7e6c08191d
Fix vet
2017-03-24 12:24:47 -07:00
Alex Dadgar
c3551c761e
Fix panic when restarting non-running task
...
This PR fixes an issue that is hit when running templates with restart
mode in which the client could panic when the handle is not running.
Fixes https://github.com/hashicorp/nomad/issues/2479
2017-03-24 12:04:22 -07:00
Chris Spence
f177e6b0f6
Wrong shell variable used when changing directory
2017-03-24 15:27:32 +00:00
Long Nguyen
1376773a3a
added git docs to artifacts
2017-03-22 16:50:45 -04:00
Michael Schurter
87ce9bd7ed
Merge pull request #2468 from moritzheiber/master
...
Updated logo in README.md
2017-03-22 09:47:33 -07:00
Moritz Heiber
95563798f7
Updated logo in README.md
...
The logo file has been moved with [d96407769a4a33901b5de66b7053e08574428698](d96407769a
) by @sethvargo. Hence the logo reference in the README.md is broken. This PR fixes that.
2017-03-22 17:41:41 +01:00
Jonathan Ballet
9afcea7426
Update doc to explain support for go-sockaddr/template format
2017-03-22 09:05:19 +01:00
Alex Dadgar
2c9641e26f
Changelog
2017-03-21 12:54:14 -07:00
Alex Dadgar
40298f37a6
Merge pull request #2465 from hashicorp/b-plan-diff
...
Fix diff alignment and remove no change DC
2017-03-21 12:53:18 -07:00
Alex Dadgar
3b323603b5
Fix diff alignment and remove no change DC
...
Old Output:
```
+/- Job: "example"
Datacenters {
Datacenters: "dc1"
}
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
New Output:
```
+/- Job: "example"
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
2017-03-21 11:42:10 -07:00
Alex Dadgar
df9ce2680b
Fix output alignment and remove no-change DC
...
Old Output:
```
+/- Job: "example"
Datacenters {
Datacenters: "dc1"
}
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
New Output:
```
+/- Job: "example"
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
2017-03-21 11:31:06 -07:00
Alex Dadgar
135340fef2
Version bump
2017-03-21 09:12:49 -07:00
Michael Schurter
30b574641f
Merge pull request #2462 from hashicorp/docs-0.5.5-upgrade
...
Mention 0.5.5 tool incompat with 0.5.4 agents
2017-03-20 16:55:25 -07:00
Michael Schurter
c9641dbc67
Mention 0.5.5 tool incompat with 0.5.4 agents
2017-03-20 16:20:43 -07:00