You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2017/05/09 12:54:08 UTC

mesos git commit: Chained the underlying error for mnt namespace failure.

Repository: mesos
Updated Branches:
  refs/heads/master 0f9180314 -> 7af95097f


Chained the underlying error for mnt namespace failure.


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

Branch: refs/heads/master
Commit: 7af95097f83d85b8e665d30e5ac05a579f2f0827
Parents: 0f91803
Author: Alexander Rukletsov <al...@apache.org>
Authored: Tue May 9 13:58:10 2017 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Tue May 9 14:53:53 2017 +0200

----------------------------------------------------------------------
 src/slave/containerizer/mesos/containerizer.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/7af95097/src/slave/containerizer/mesos/containerizer.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/containerizer.cpp b/src/slave/containerizer/mesos/containerizer.cpp
index 1e2596c..3d72494 100644
--- a/src/slave/containerizer/mesos/containerizer.cpp
+++ b/src/slave/containerizer/mesos/containerizer.cpp
@@ -1562,8 +1562,8 @@ Future<bool> MesosContainerizerProcess::_launch(
     Try<pid_t> mountNamespaceTarget = getMountNamespaceTarget(parentPid);
     if (mountNamespaceTarget.isError()) {
       return Failure(
-          "Cannot get target mount namespace from "
-          "process " + stringify(parentPid));
+          "Cannot get target mount namespace from process " +
+          stringify(parentPid) + ": " + mountNamespaceTarget.error());
     }
 
     launchFlags.namespace_mnt_target = mountNamespaceTarget.get();