GitHub user pangzheng opened a pull request: https://github.com/apache/mesos/pull/227
1.0.1 fix You can merge this pull request into a Git repository by running: $ git pull https://github.com/pangzheng/mesos 1.0.1-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/mesos/pull/227.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #227 ---- commit 3f04d371c736a319d5928b6b53bbdb573eccba0b Author: Qian Zhang <zhang...@cn.ibm.com> Date: 2016-07-15T21:31:58Z Enhancement for containers which have image and join host network. For the containers which have image and join host network, we enhanced 'network/cni' isolator to make sure they have access to host /etc/hosts , /etc/hostname and /etc/resolv.conf files. Review: https://reviews.apache.org/r/50065/ commit 4cef44c2260c498635d96c40aa282a9968877bca Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-16T01:37:04Z Ignored /etc/* mounts to host filesystems if host network is used. Review: https://reviews.apache.org/r/50102 commit 76ed504be8abc6ed331c4f758c7bcb3de2c8750b Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-16T01:55:01Z Handled /etc/* file being dead links in CNI isolator. Review: https://reviews.apache.org/r/50107 commit 8a0d7e0c185a46938bcce8fbeef8c4c04923ebcf Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-16T05:20:19Z Handled systems that miss /etc/hostname in CNI isolator. Review: https://reviews.apache.org/r/50108 commit 5f1351957008de4b5782df8242894c61f1028957 Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-18T16:49:58Z Updated the 1.0.0 CHANGELOG for a bug fix. Review: https://reviews.apache.org/r/50145 commit 99bdf297bb5bff3b6c22d3b9249a2f83d294549e Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-18T21:20:53Z Ignored /etc/hosts if it does not exist in CNI isolator. Review: https://reviews.apache.org/r/50162 commit 86cf57f579624e18f8475db808f866f531167cc8 Author: Vinod Kone <vinodk...@gmail.com> Date: 2016-07-20T00:24:17Z Renamed GET_LEADING_MASTER to GET_MASTER in v1 operator API. Review: https://reviews.apache.org/r/50211 commit d0f042e9df0fd2e1af27fcba06d8d4c6957c7f40 Author: Vinod Kone <vinodk...@gmail.com> Date: 2016-07-20T00:35:57Z Removed GET_STATE_SUMMARY from v1 operator API. It is not clear if we would need this in v1 API. Review: https://reviews.apache.org/r/50212 commit c3128a58a70209e1b31548cadba4493f87ddb5b4 Author: Vinod Kone <vinodk...@gmail.com> Date: 2016-07-20T00:45:30Z Made build* fields optional in VersionInfo protobuf. This will enable us to use the VersionInfo for other components that do not necessarily have a build_user etc. Review: https://reviews.apache.org/r/50213 commit 05cc040c46421498ee23004dc4e2a93c91a3a080 Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-20T18:52:52Z Used LIBPROCESS_SSL_ instead of SSL_ as the prefix for ssl support. Review: https://reviews.apache.org/r/50257 commit a15846210ccad97c3d1ba44578e978567b9c4456 Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-20T20:58:10Z Updated the document about SSL env variables. Review: https://reviews.apache.org/r/50262 commit 3551932edb4433f64b94b81ad0b361d0538a951e Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-20T21:37:43Z Updated 1.0 CHANGELOG about an SSL fix. Review: https://reviews.apache.org/r/50265 commit 34ba5f41737ac7319aad2c8e97998744fb8318c4 Author: Jie Yu <yujie....@gmail.com> Date: 2016-07-20T21:58:50Z Updated upgrades.md about deprecated SSL env variables. Review: https://reviews.apache.org/r/50267 commit a93b09bbfddacb45f46e58aa0f42dc43ba06f49b Author: Greg Mann <g...@mesosphere.io> Date: 2016-07-21T00:10:44Z Refactored fetcher cache directory creation. The fetcher's launcher creates the fetcher cache directory for each user immediately before an artifact is fetched. In order to allow this directory to be created by a different user than the user doing the fetching, this patch factors out this directory creation and places it before all fetches occur. Review: https://reviews.apache.org/r/50199/ commit 37e06d402267e2a9044dbb577c8887ad1bd9185f Author: Greg Mann <g...@mesosphere.io> Date: 2016-07-21T00:13:58Z Made the agent fetch files as the task user. To ensure that a task cannot fetch root-protected files from the local filesystem when running as a non-root user, this patch changes the fetcher to fetch files as the task user. Review: https://reviews.apache.org/r/50200/ commit 044797a6ad489a00d05dfb646481e19d649a330a Author: Greg Mann <g...@mesosphere.io> Date: 2016-07-21T16:02:05Z Updated CHANGELOG with fetcher user changes. The fetcher was changed to assume the same user as a task when fetching files. This patch updates the CHANGELOG accordingly. Review: https://reviews.apache.org/r/50283/ commit 6cd20e9f32fd27bc7fcdb90c459fec5928d63396 Author: Greg Mann <g...@mesosphere.io> Date: 2016-07-21T16:02:12Z Updated upgrades.md with fetcher user changes. The fetcher was changed to assume the same user as a task when fetching files. This patch updates upgrades.md accordingly. Review: https://reviews.apache.org/r/50284/ commit a76800c78e18b3c27ab4476d90035123d49c0951 Author: Zhitao Li <zhitaoli...@gmail.com> Date: 2016-07-22T05:39:02Z Separated readonly and readwrite realms in libprocess. Review: https://reviews.apache.org/r/50277/ commit 67369c01ce3eac2ff9aab4f776c0815cec3b883c Author: Zhitao Li <zhitaoli...@gmail.com> Date: 2016-07-22T06:43:34Z Separated AuthN for readonly and readwrite endpoints in Mesos. Changes included: - separate flags for readonly and readwrite endpoints; - helper function for registering http authenticator; - fixing existing tests. Review: https://reviews.apache.org/r/50223/ commit 71f8bc38c198b539fe9a0dd3fa2cb3990664c002 Author: Zhitao Li <zhitaoli...@gmail.com> Date: 2016-07-22T08:19:51Z Refactored common HTTP authenticator initialize into helper function. Review: https://reviews.apache.org/r/50320/ commit be1b24912b6f94453bd4ccb8ea02a76dcc6a2c54 Author: Greg Mann <g...@mesosphere.io> Date: 2016-07-22T08:42:38Z Added readonly/readwrite auth flags to the docs. Review: https://reviews.apache.org/r/50322/ commit 6009b3143a47eefff717103f1c094dc914f26fce Author: Greg Mann <g...@mesosphere.io> Date: 2016-07-22T08:51:01Z Updated upgrades.md for new HTTP authentication flags. Review: https://reviews.apache.org/r/50333/ commit d15e684cb8072308b990fc5df00e41eb3bfbbdb8 Author: Greg Mann <g...@mesosphere.io> Date: 2016-07-22T08:53:23Z Updated CHANGELOG for new HTTP authentication flags. Review: https://reviews.apache.org/r/50332/ commit 58051d5ea6a4b2a5755c32747d237291851596ec Author: Alexander Rukletsov <ruklet...@gmail.com> Date: 2016-07-19T16:37:49Z Cleaned the arguments passed to health checker in docker executor. Docker executor wraps the health check command into `docker exec` and leverages mesos-health-check binary to actually perform the check. However prior to this patch there were unnecessary arguments passed to the binary, including `path` / `argv[0]` mismatch, log message was misleading as well. Review: https://reviews.apache.org/r/50078/ commit c09ee618c89203b3fc2261d42626614f189fc1e8 Author: Alexander Rukletsov <al...@apache.org> Date: 2016-07-22T13:18:17Z Cherry-pick of MESOS-5848 to 1.0.x. commit 0d51860c68d59fb9b52b63eb499d5f63eace6536 Author: Neil Conway <neil.con...@gmail.com> Date: 2016-07-22T16:24:13Z Disabled the `--registry_strict` master flag. This flag was always marked as experimental. This flag controlled whether the master will behave the same, regardless of whether the master has failed over. Notably, in Mesos 1.0, enabling this flag would mean that a partitioned agent would always be refused reregistration, regardless of whether the master has failed over (by default, the agent would be allowed to reregister iff the master failed over in the interim). For Mesos 1.1, we'd like to change the behavior so that partitioned agents are always allowed to reregister (regardless of master failover). To prevent developers from writing frameworks that depend on the old, "strict" behavior (partitioned agents are always rerefused reregistration), we'd like to disable the "--registry_strict" flag. The code that implements the strict registry remains, as do the test cases that depend on this behavior. However, `mesos-master` will refuse to start if the flag has been specified. Review: https://reviews.apache.org/r/49955/ commit ff5e084da779dc2294bb9ee50fb515a85b1dbe8c Author: haosdent huang <haosd...@gmail.com> Date: 2016-07-18T16:01:42Z Fixed the incomplete `TaskStatus` message of docker executor. When we enable health check for the tasks run in docker container, their `TaskStatus` messages generated by docker executor may miss `NetworkInfo` field and agent would fill the host ip as default value. In this change, we cache the `NetworkInfo` of the task and reuse it when generating `TaskStatus` messages which the task's health is updated. Review: https://reviews.apache.org/r/50103/ commit 614ffcd835845d8b2f04e0a5ef07cd58191c03d6 Author: Neil Conway <neil.con...@gmail.com> Date: 2016-07-18T15:38:03Z Fixed flakiness in persistent volume test case. In PersistentVolumeEndpointsTest.OfferCreateThenEndpointRemove, add an extra offer cycle. Along the way, clean up some comments. Review: https://reviews.apache.org/r/50023/ commit 3931cef7368ba320ad1b067b67746300da246847 Author: Vinod Kone <vinodk...@gmail.com> Date: 2016-07-22T18:41:37Z Updated CHANGELOG for 1.0.0-rc3. commit ea4cc146758f6108c51b0802f90875d4961f901c Author: Vinod Kone <vinodk...@gmail.com> Date: 2016-07-22T20:15:57Z Updated endpoint docs for 1.0.0-rc3. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---