You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ne...@apache.org on 2017/05/11 21:21:31 UTC

mesos git commit: Documented that Mesos 1.3.0, 1.2.1 don't allow old agents to register.

Repository: mesos
Updated Branches:
  refs/heads/master 28f974e6f -> b043cd868


Documented that Mesos 1.3.0, 1.2.1 don't allow old agents to register.

Review: https://reviews.apache.org/r/59198


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b043cd86
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b043cd86
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b043cd86

Branch: refs/heads/master
Commit: b043cd868f927b2e9426e8e426b7358503e9534f
Parents: 28f974e
Author: Neil Conway <ne...@gmail.com>
Authored: Thu May 11 11:46:25 2017 -0700
Committer: Neil Conway <ne...@gmail.com>
Committed: Thu May 11 14:20:59 2017 -0700

----------------------------------------------------------------------
 CHANGELOG        | 12 ++++++++++++
 docs/upgrades.md | 15 ++++++++++++++-
 2 files changed, 26 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/b043cd86/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 31c21e9..738f1c2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -48,6 +48,12 @@ This release contains the following new features:
     (e.g. new employees join, new teams are formed, employees leave, teams
     are disbanded, etc).
 
+**NOTE**: In Mesos 1.3.0, the master will no longer allow 0.x agents to
+register. Interoperability between 1.1+ masters and 0.x agents has never
+been supported; however, it was not explicitly disallowed, either.
+Starting with this release of Mesos, registration attempts by 0.x Mesos
+agents will be ignored.
+
 Deprecations/Removals:
   * [MESOS-7259] - Remove deprecated ACLs `SetQuota` and `RemoveQuota`.
     This change is only applicable to the local authorizer since internally
@@ -291,6 +297,12 @@ Release Notes - Mesos - Version 1.2.1
 -------------------------------------------
 * This is a bug fix release.
 
+**NOTE**: In Mesos 1.2.1, the master will no longer allow 0.x agents to
+register. Interoperability between 1.1+ masters and 0.x agents has never
+been supported; however, it was not explicitly disallowed, either.
+Starting with this release of Mesos, registration attempts by 0.x Mesos
+agents will be ignored.
+
 All Issues:
 ** Bug
   * [MESOS-1987] - Add support for SemVer build and prerelease labels to stout.

http://git-wip-us.apache.org/repos/asf/mesos/blob/b043cd86/docs/upgrades.md
----------------------------------------------------------------------
diff --git a/docs/upgrades.md b/docs/upgrades.md
index 74e7464..60d5525 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -46,6 +46,9 @@ We categorize the changes as follows:
   1.3.x
   </td>
   <td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Mesos Core-->
+    <ul style="padding-left:10px;">
+      <li>R <a href="#1-3-x-disallow-old-agents">Prevent registration by old Mesos agents</a></li>
+    </ul>
   </td>
   <td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Flags-->
     <ul style="padding-left:10px;">
@@ -77,6 +80,9 @@ We categorize the changes as follows:
   1.2.x
   </td>
   <td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Mesos Core-->
+    <ul style="padding-left:10px;">
+      <li>R <a href="#1-2-1-disallow-old-agents">Prevent registration by old Mesos agents</a></li>
+    </ul>
   </td>
   <td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Flags-->
     <ul style="padding-left:10px;">
@@ -271,8 +277,12 @@ We categorize the changes as follows:
 
 ## Upgrading from 1.2.x to 1.3.x ##
 
+<a name="1-3-x-disallow-old-agents"></a>
+* The master will no longer allow 0.x agents to register. Interoperability between 1.1+ masters and 0.x agents has never been supported; however, it was not explicitly disallowed, either. Starting with this release of Mesos, registration attempts by 0.x agents will be ignored.
+
 <a name="1-3-x-setquota-removequota-acl"></a>
 * Support for deprecated ACLs `set_quotas` and `remove_quotas` has been removed from the local authorizer. Before upgrading the Mesos binaries, consolidate the ACLs used under `set_quotas` and `remove_quotes` under their replacement ACL `update_quotas`. After consolidation of the ACLs, the binaries could be safely replaced.
+
 <a name="1-3-x-shutdown-framework-acl"></a>
 * Support for deprecated ACL `shutdown_frameworks` has been removed from the local authorizer. Before upgrading the Mesos binaries, replace all instances of the ACL `shutdown_frameworks` with the newer ACL `teardown_frameworks`. After updating the ACLs, the binaries can be safely replaced.
 
@@ -286,7 +296,7 @@ We categorize the changes as follows:
 * Implementors of allocator modules have to provide new implementation functionality to satisfy the `MULTI_ROLE` framework capability. Also, the interface has changed.
 
 <a name="1-3-x-executor-authentication"></a>
-* New Agent flags authenticate_http_executors and executor_secret_key: Used to enable required HTTP executor authentication and set the key file used for generation and authentication of HTTP executor tokens. Note that enabling these flags after upgrade is disruptive to HTTP executors that were launched before the upgrade. For more information on the recommended upgrade procedure when enabling these flags, see the [authentication documentation](authentication.md).
+* New Agent flags `authenticate_http_executors` and `executor_secret_key`: Used to enable required HTTP executor authentication and set the key file used for generation and authentication of HTTP executor tokens. Note that enabling these flags after upgrade is disruptive to HTTP executors that were launched before the upgrade. For more information on the recommended upgrade procedure when enabling these flags, see the [authentication documentation](authentication.md).
 
 In order to upgrade a running cluster:
 
@@ -299,6 +309,9 @@ In order to upgrade a running cluster:
 
 ## Upgrading from 1.1.x to 1.2.x ##
 
+<a name="1-2-1-disallow-old-agents"></a>
+* In Mesos 1.2.1, the master will no longer allow 0.x agents to register. Interoperability between 1.1+ masters and 0.x agents has never been supported; however, it was not explicitly disallowed, either. Starting with Mesos 1.2.1, registration attempts by 0.x agents will be ignored. **NOTE:** This applies only when upgrading to Mesos 1.2.1. Mesos 1.2.0 does not implement this behavior.
+
 <a name="1-2-x-heartbeat-flag"></a>
 * New Agent flag http_heartbeat_interval: This flag sets a heartbeat interval for messages to be sent over persistent connections made against the agent HTTP API. Currently, this only applies to the LAUNCH_NESTED_CONTAINER_SESSION and ATTACH_CONTAINER_OUTPUT calls. (default: 30secs)