Commit graph

653 commits

Author SHA1 Message Date
Alex Dadgar dd680f61f7 changelog 2017-12-18 16:14:34 -08:00
Preetha Appan c815471e84
Initial run of make changelogfmt that linkifies all issues in CHANGELOG 2017-12-12 15:54:16 -06:00
Michael Schurter 2a3de8f889 Add #3551 to 0.7.1 changelog 2017-12-12 13:15:53 -08:00
Alex Dadgar e19d633f4d changelog 2017-12-11 14:00:20 -08:00
Michael Schurter b71edf846f 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 e930057e4a Document service/check address_mode/port changes 2017-12-08 12:03:43 -08:00
Michael Schurter 1dd5b3822c
Merge pull request #3608 from hashicorp/b-3342-windows-log-leak
Fix bug in log framer only affecting Windows
2017-12-08 10:59:26 -08:00
Michael Lange b7048179dd Adds UI changes to the changelog 2017-12-07 15:44:12 -08:00
Chelsea Holland Komlo 61fa8ad4ba code review fixes 2017-12-07 13:46:25 -05:00
Chelsea Holland Komlo 3f231a0856 add test for kill signal in required signals
update changelog
2017-12-07 11:40:15 -05:00
Chelsea Holland Komlo 80de7d5ebd allow controlling the stop signal in exec/raw_exec 2017-12-06 11:28:45 -05:00
Chelsea Komlo 9ae849e09c
Merge pull request #3612 from hashicorp/docker-rkt-user
Set user for rkt tasks
2017-12-05 17:45:08 -05:00
Michael Schurter b66aa5b7f6
Merge pull request #3563 from hashicorp/b-snapshot-atomic
Atomic Snapshotting / Sticky Volume Migration
2017-12-05 09:16:33 -08:00
Michael Schurter 6ccc4219d3
Merge pull request #3615 from hashicorp/b-rkt-host-ports
rkt: Don't require port_map with host networking
2017-12-04 14:49:42 -08:00
Chelsea Holland Komlo 7c74968452 add ability to specify user for rkt 2017-12-04 14:21:48 -05:00
Alex Dadgar cff9fe2938 changelog 2017-12-04 10:43:27 -08:00
Alex Dadgar ab67a98c13 Emit hostname as a label 2017-12-04 10:42:31 -08:00
Michael Schurter 2bf1d6d85e rkt: Don't require port_map with host networking
Also don't try to return a DriverNetwork with host networking. None will
ever exist as that's the point of host networking: rkt won't create a
network namespace.
2017-12-01 17:23:25 -08:00
Michael Schurter 288e94302e Add changelog entry for #3608 2017-12-01 15:59:42 -08:00
Michael Schurter 0b12984552 Add atomic migrations to changelog and docs 2017-11-29 17:27:13 -08:00
Chelsea Holland Komlo 2e159fe01e add changelog 2017-11-29 15:27:50 -05:00
Preetha 0c1449a305
Update CHANGELOG.md 2017-11-20 14:08:40 -06:00
Preetha c02b740182
Update CHANGELOG.md 2017-11-17 15:31:25 -06:00
Preetha 55483bb546
Update CHANGELOG.md 2017-11-17 15:10:01 -06:00
Preetha 1d321f3556
Update CHANGELOG.md 2017-11-17 14:35:54 -06:00
Alex Dadgar 32140001e3 changelog 2017-11-17 12:10:15 -08:00
Alex Dadgar 205d42dc9a changelog 2017-11-17 10:35:12 -08:00
Michael Schurter 3ceec0caab Remove rkt pods when exiting
Fixes #3561
2017-11-16 14:33:44 -08:00
Alex Dadgar 07963f0b6d
Merge pull request #3546 from hashicorp/f-heuristic
Better interface selection heuristic
2017-11-15 12:51:21 -08:00
Alex Dadgar a479ee6f0c changelog 2017-11-15 12:50:49 -08:00
Michael Schurter f86f0bd9ea Handle leader task being dead in RestoreState
Fixes the panic mentioned in
https://github.com/hashicorp/nomad/issues/3420#issuecomment-341666932

While a leader task dying serially stops all follower tasks, the
synchronizing of state is asynchrnous. Nomad can shutdown before all
follower tasks have updated their state to dead thus saving the state
necessary to hit this panic: *have a non-terminal alloc with a dead
leader.*

The actual fix is a simple nil check to not assume non-terminal allocs
leader's have a TaskRunner.
2017-11-15 10:36:13 -08:00
Preetha Appan 2cee27ea31 Update Changelog 2017-11-15 08:28:27 -06:00
Preetha Appan bb3fd9fb7f Update CHANGELOG.md to mention consul template version 2017-11-15 08:25:57 -06:00
Chelsea Komlo 2dfda33703 Nomad agent reload TLS configuration on SIGHUP (#3479)
* Allow server TLS configuration to be reloaded via SIGHUP

* dynamic tls reloading for nomad agents

* code cleanup and refactoring

* ensure keyloader is initialized, add comments

* allow downgrading from TLS

* initalize keyloader if necessary

* integration test for tls reload

* fix up test to assert success on reloaded TLS configuration

* failure in loading a new TLS config should remain at current

Reload only the config if agent is already using TLS

* reload agent configuration before specific server/client

lock keyloader before loading/caching a new certificate

* introduce a get-or-set method for keyloader

* fixups from code review

* fix up linting errors

* fixups from code review

* add lock for config updates; improve copy of tls config

* GetCertificate only reloads certificates dynamically for the server

* config updates/copies should be on agent

* improve http integration test

* simplify agent reloading storing a local copy of config

* reuse the same keyloader when reloading

* Test that server and client get reloaded but keep keyloader

* Keyloader exposes GetClientCertificate as well for outgoing connections

* Fix spelling

* correct changelog style
2017-11-14 17:53:23 -08:00
Preetha Appan 84dcdcf2bf Update CHANGELOG.md 2017-11-13 12:46:42 -06:00
Alex Dadgar c44f94fbd0
Merge pull request #3529 from hashicorp/b-env-ct
Handle multiple environment templates
2017-11-10 12:56:02 -08:00
Alex Dadgar ea57850b6d changelog 2017-11-10 12:44:36 -08:00
Alex Dadgar 491fce5dcb changelog 2017-11-10 11:10:34 -08:00
Alex Dadgar 68985aaa7d changelog 2017-11-06 15:48:05 -08:00
Michael Schurter 2ef8b15680 Add #3509 to changelog 2017-11-06 11:26:04 -08:00
Alex Dadgar f6dd1d1fa9 changelog and website 2017-11-03 16:43:16 -07:00
Alex Dadgar 5505922cf5 changelog 2017-11-03 16:33:23 -07:00
Preetha effe2a93ea
Update CHANGELOG.md 2017-11-03 17:34:09 -05:00
Alex Dadgar 6837b67e25 changelog 2017-11-03 13:45:15 -07:00
Alex Dadgar 28bcb3ca08 changelog 2017-11-03 13:24:45 -07:00
Preetha Appan fb74ffb18c Update CHANGELOG.md 2017-11-03 13:07:40 -05:00
Alex Dadgar abd28cbd7d
Merge pull request #3493 from hashicorp/f-remove-atlas
Remove Atlas and Scada from codebase
2017-11-02 16:00:44 -07:00
Preetha Appan fcd9be1ff8 Update CHANGELOG,md, include PR numbers. 2017-11-02 15:58:51 -05:00
Diptanu Choudhury 132e145a30
Merge pull request #3061 from hashicorp/f-add-client-metrics
Added metrics to track task/alloc start/restarts/dead events
2017-11-02 13:45:29 -07:00
Diptanu Choudhury f4abb6ccd3 Updated changelog 2017-11-02 13:44:13 -07:00
Alex Dadgar 9a8b4c13ec deprecation notice 2017-11-02 13:38:50 -07:00
Michael Schurter 78105bcb57 Add #3445 to changelog 2017-11-01 17:17:51 -07:00
Preetha Appan 2daed26a74 Update CHANGELOG.md 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo 9ff8a6cdca update changelog 2017-11-01 15:21:05 -05:00
Preetha Appan 05be73b062 Update CHANGELOG.md 2017-11-01 15:16:38 -05:00
Alex Dadgar 3ffe49722d Changelog 2017-11-01 09:59:50 -07:00
Alex Dadgar a42d3530d0 Bump version 2017-10-31 13:30:58 -07:00
Alex Dadgar 1050a9fe32 changelog 2017-10-27 13:30:23 -07:00
Alex Dadgar a539483a35 changelog + PUT 2017-10-27 10:43:57 -07:00
Alex Dadgar 635f320b18
Merge pull request #3452 from hashicorp/f-system-gc
GetClientAllocs handles garbage collection events
2017-10-27 09:50:55 -07:00
Alex Dadgar 7df78be840 Changelog + assert 2017-10-27 09:50:10 -07:00
Alex Dadgar cb691495a1 changelog 2017-10-27 09:36:16 -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
Michael Schurter c53aac9eea Agent Health Endpoint 2017-10-13 15:37:44 -07:00
Alex Dadgar 77f6768575 changelog 2017-10-13 12:40:37 -07:00
Alex Dadgar 259595bcdb changelog 2017-10-12 13:36:46 -07:00
Alex Dadgar 7efeb06713 changelog 2017-10-11 17:43:14 -07:00
Alex Dadgar 65035c78c0 changelog 2017-10-05 14:30:39 -07:00
Michael Schurter d7229ce6c5 Merge pull request #3256 from dalegaard/master
Enable rkt driver to use address_mode = 'driver'
2017-09-26 18:04:37 -05:00
Lasse Dalegaard 3d25fd3b00 Bump minimum rkt version to 1.27.0.
The changes introduces in #3256 require at least rkt 1.27.0 because of
a bug in the JSON output of `rkt status` in previous versions.

Here we upgrade all references to rkt's minimum version, and also make
travis and vagrant use this version when running tests.

Finally we add a CHANGELOG notice.
2017-09-26 19:15:43 +02:00
Lasse Dalegaard 7c0454fbb5 Update CHANGELOG.md 2017-09-26 10:25:27 +02:00
Alex Dadgar 73b7466a6e Run deployment garbage collector on an interval
Fixes https://github.com/hashicorp/nomad/issues/3244
2017-09-25 11:04:40 -07:00
Alex Dadgar 62519cd5d1 changelog 2017-09-19 12:06:52 -05:00
Michael Schurter f92ffe5af5 Merge pull request #3105 from hashicorp/f-876-restart-unhealthy
Restart unhealthy tasks
2017-09-17 19:38:32 -07:00
Alex Dadgar 3fc1231c62 Changelog 2017-09-17 10:58:40 -07:00
Chelsea Komlo 093c8b4543 Merge pull request #3186 from hashicorp/f-prometheus-dashboard
Prometheus dashboard
2017-09-15 14:30:05 -04:00
Michael Schurter 6a9e0c63c4 Add changelog entry for #3105 2017-09-14 16:47:41 -07:00
Alex Dadgar b2f892b2ac changelog 2017-09-14 15:11:26 -07:00
Alex Dadgar 96442414b8 Changelog 2017-09-14 14:35:53 -07:00
Alex Dadgar 6c935f7303 Update CHANGELOG.md 2017-09-14 14:34:02 -07:00
Alex Dadgar e862bbc78a Changelog 2017-09-14 14:29:02 -07:00
Alex Dadgar 08a0b1c2b6 changelog 2017-09-14 14:21:41 -07:00
Alex Dadgar d306da846c changelog and feedback 2017-09-14 14:08:58 -07:00
Chelsea Holland Komlo c68438c3fc changelog 2017-09-14 17:50:54 +00:00
Alex Dadgar 5502f46951 changelog 2017-09-13 15:46:41 -07:00
Chelsea Holland Komlo fcc3071e52 fixups from code review 2017-09-13 19:21:21 +00:00
Alex Dadgar 903e5e873c changelog 2017-09-13 11:43:13 -07:00
Alex Dadgar f0847f3642 changelog 2017-09-11 16:10:12 -07:00
Alex Dadgar 19a11f15d5 Merge pull request #3177 from hashicorp/f-cli-hidden
Hide non-user commands from autocomplete output
2017-09-11 10:02:08 -07:00
Alex Dadgar 565f2adbda changelog 2017-09-11 09:57:47 -07:00
Alex Dadgar 41b22ba9eb Hide non-user commands from autocomplete output
This PR hides non-user CLI commands from the list of autocomplete
suggestions.
2017-09-08 11:24:21 -07:00
Alex Dadgar ffbafb0618 changelog 2017-09-06 17:20:31 -07:00
Alex Dadgar ccaec2dd48 changelog 2017-09-05 17:18:43 -07:00
Alex Dadgar 9b6f1244f7 Merge pull request #3165 from hashicorp/b-docker-auth
Fix repo name passed to docker credential helpers
2017-09-05 16:56:51 -07:00
Alex Dadgar 50058386bb Merge pull request #3164 from hashicorp/v-go-getter
Update go-getter
2017-09-05 16:54:19 -07:00
Alex Dadgar 6de1e5d208 Vendor consul-template (#3153)
* Vendor consul-template

Fixes https://github.com/hashicorp/nomad/issues/3133

* changelog
2017-09-05 16:53:28 -07:00
Alex Dadgar 6fdaf38389 Fix repo name passed to docker credential helpers
This PR fixes the server url passed to docker credential helpers and
fixes stderr capture.

Fixes https://github.com/hashicorp/nomad/issues/2957
2017-09-05 16:43:21 -07:00
Alex Dadgar 5e8635ff15 Update go-getter
Fixes https://github.com/hashicorp/nomad/issues/3154
2017-09-05 16:41:33 -07:00
Alex Dadgar 9471baa814 changelog 2017-09-05 14:46:25 -07:00
Chelsea Holland Komlo dc096b1cec add changelog 2017-09-05 19:24:34 +00:00