Commit graph

602 commits

Author SHA1 Message Date
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