Commit Graph

9824 Commits

Author SHA1 Message Date
Kyle Havlovitz
54e6b7ff74 Add autopilot docs 2017-12-18 14:29:41 -08:00
Kyle Havlovitz
448e328e6c vendor: add autopilot and flags packages from consul 2017-12-18 14:29:35 -08:00
Preetha
e425902957 Merge pull request #3661 from hashicorp/typos
Fix some typos
2017-12-14 14:16:35 -06:00
Preetha Appan
ef1a2e94f7 Fix some typos 2017-12-14 13:29:27 -06:00
Preetha
32bfa0895d Merge pull request #3653 from hashicorp/b-clickable-links
clickable links to issues in changelog
2017-12-12 17:37:23 -06:00
Preetha Appan
d7fcea53c3 Initial run of make changelogfmt that linkifies all issues in CHANGELOG 2017-12-12 15:54:16 -06:00
Preetha Appan
99e896da2d Linkify changelog issues 2017-12-12 15:52:58 -06:00
Preetha Appan
9abe84824d Merge branch 'master' into 0.8 2017-12-12 15:49:47 -06:00
Preetha
0dab7507d8 Merge pull request #3652 from hashicorp/vendorfmt
Changes vendor.json to one dependency per line
2017-12-12 15:42:14 -06:00
Michael Schurter
0a5e4ee5d6 Add #3551 to 0.7.1 changelog 2017-12-12 13:15:53 -08:00
Michael Schurter
136d05e70a Merge pull request #3651 from hashicorp/b-fix-vagrant-setup
chown $GOPATH for vagrant user
2017-12-12 10:26:32 -08:00
Preetha Appan
120f13bd78 Changes vendor.json to one dependency per line 2017-12-12 10:30:36 -06:00
Preetha Appan
8f4da475de Merge branch '0.8' of github.com:hashicorp/nomad into 0.8 2017-12-12 10:17:41 -06:00
Kyle Havlovitz
933cad2543 Use region instead of datacenter for version checking 2017-12-12 10:17:16 -06:00
Kyle Havlovitz
5749297731 Add missing exist checks and doc line 2017-12-12 10:17:16 -06:00
Kyle Havlovitz
de90db139a Added support for v2 raft APIs and -raft-protocol option 2017-12-12 10:17:16 -06:00
Alex Dadgar
721b23d262 website 2017-12-11 17:54:33 -08:00
Alex Dadgar
fcc00ca9f0 remove generated structs 2017-12-11 17:51:41 -08:00
Alex Dadgar
ac9e95afbe Release v0.7.1-rc1 2017-12-11 17:45:09 -08:00
Alex Dadgar
b81a2b64e6 generated assets 2017-12-11 17:30:37 -08:00
Alex Dadgar
db63054740 Keyify struct 2017-12-11 17:23:14 -08:00
Alex Dadgar
0050f52f65 bump version 2017-12-11 17:19:02 -08:00
Michael Schurter
518261bb9c Merge pull request #3650 from hashicorp/b-lowercase-agent-service-id
Use the Service.Hash() method in agent service ids
2017-12-11 17:12:52 -08:00
Chelsea Komlo
aca44f7689 Merge pull request #3649 from hashicorp/rpc_upgrade_mode-fix
Fix for rpc_upgrade_mode
2017-12-11 20:12:38 -05:00
Michael Schurter
255b899a45 chown $GOPATH for vagrant user 2017-12-11 17:06:07 -08:00
Michael Schurter
d0a1ca7ee8 Use the Service.Hash() method in agent service ids
The allocID and taskName parameters are useless for agents, but it's
still nice to reuse the same hash method for agent and task services.
This brings in the lowercase mode for the agent hash as well.
2017-12-11 16:50:15 -08:00
Chelsea Holland Komlo
290e24470d fix for rpc_upgrade_mode 2017-12-11 19:23:45 -05:00
Alex Dadgar
c512cda1f2 Merge pull request #3648 from hashicorp/b-node-status
Node Status output includes new modify time
2017-12-11 16:14:28 -08:00
Alex Dadgar
33e71bdce4 Update job_status.go 2017-12-11 16:14:03 -08:00
Alex Dadgar
6731558870 Node Status output includes new modify time 2017-12-11 16:08:25 -08:00
Alex Dadgar
ddee932500 Fix upgrade path of modify time 2017-12-11 15:58:24 -08:00
Alex Dadgar
888acf964c Merge pull request #3646 from hashicorp/b-periodic-non-leader
Fix followers not creating periodic launch
2017-12-11 15:33:38 -08:00
Alex Dadgar
8d0f34a367 changelog 2017-12-11 14:00:20 -08:00
Alex Dadgar
223e9e1264 Fix followers not creating periodic launch
Fix an issue in which periodic launches wouldn't be made on followers.
2017-12-11 13:55:17 -08:00
Michael Schurter
82cbb70be4 Merge pull request #3619 from hashicorp/f-3380-custom-ports
Allow custom ports for services and checks when using driver address_mode
2017-12-11 11:43:33 -08:00
Michael Schurter
bd8bd1111a Merge pull request #3640 from jippi/patch-4
fix hashi-ui link
2017-12-11 10:41:11 -08:00
Christian Winther
5849d736ff fix hashi-ui link 2017-12-10 21:05:30 +01:00
Michael Schurter
b79194f96c Fix test broken by mock updates 2017-12-08 16:45:25 -08:00
Michael Schurter
63d515de4d Lowercase service IDs to prevent eye bleeding 2017-12-08 15:54:04 -08:00
Michael Schurter
e857225129 Fix port labels on mock Alloc/Job/Node 2017-12-08 14:50:06 -08:00
Michael Schurter
2a33e10375 Improve validation and testing of service/check ports 2017-12-08 13:52:23 -08:00
Michael Schurter
41963605d0 Expand port and address_mode docs 2017-12-08 12:39:50 -08:00
Michael Schurter
6f124eba7d Be more defensive in port checks 2017-12-08 12:27:57 -08:00
Michael Schurter
afd5bca566 Move service hash logic to Service.Hash method 2017-12-08 12:03:43 -08:00
Michael Schurter
65bfbe54c8 Hash fields used in task service IDs
Fixes #3620

Previously we concatenated tags into task service IDs. This could break
deregistration of tag names that contained double //s like some Fabio
tags.

This change breaks service ID backward compatibility so on upgrade all
users services and checks will be removed and re-added with new IDs.

This change has the side effect of including all service fields in the
ID's hash, so we no longer have to track PortLabel and AddressMode
changes independently.
2017-12-08 12:03:43 -08:00
Michael Schurter
7bf5cec82e Improve port label validation and diff testing 2017-12-08 12:03:43 -08:00
Michael Schurter
fa5faa5a09 Prevent using port 0 with address_mode=driver 2017-12-08 12:03:43 -08:00
Michael Schurter
b999358892 Validate port label for host address mode
Also skip getting an address for script checks which don't use them.

Fixed a weird invalid reserved port in a TaskRunner test helper as well
as a problem with our mock Alloc/Job. Hopefully the latter doesn't cause
other tests to fail, but we were referencing an invalid PortLabel and
just not catching it before.
2017-12-08 12:03:43 -08:00
Michael Schurter
f11360acf8 Add Using Driver Address Mode docs 2017-12-08 12:03:43 -08:00
Michael Schurter
f2d47156ec Document service/check address_mode/port changes 2017-12-08 12:03:43 -08:00