You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Greg Mann <gr...@mesosphere.io> on 2017/03/15 22:04:08 UTC

Review Request 57615: Added support for auth tokens to the V1 executor library.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/
-----------------------------------------------------------

Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.


Bugs: MESOS-6304
    https://issues.apache.org/jira/browse/MESOS-6304


Repository: mesos


Description
-------

This patch adds support for authentication tokens to the
V1 default executor library. The tokens are loaded from a
pre-determined environment variable, if present.


Diffs
-----

  src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 


Diff: https://reviews.apache.org/r/57615/diff/1/


Testing
-------

make check


Thanks,

Greg Mann


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/#review169149
-----------------------------------------------------------




src/executor/executor.cpp
Lines 227 (patched)
<https://reviews.apache.org/r/57615/#comment241479>

    update the name per previous review.



src/executor/executor.cpp
Lines 319 (patched)
<https://reviews.apache.org/r/57615/#comment241480>

    this is token not the authorization header right? if yes we need to add the "Bearer: " prefix to the token here?


- Vinod Kone


On March 15, 2017, 10:09 p.m., Greg Mann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57615/
> -----------------------------------------------------------
> 
> (Updated March 15, 2017, 10:09 p.m.)
> 
> 
> Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.
> 
> 
> Bugs: MESOS-6304
>     https://issues.apache.org/jira/browse/MESOS-6304
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch adds support for authentication tokens to the
> V1 default executor library. The tokens are loaded from a
> pre-determined environment variable, if present.
> 
> 
> Diffs
> -----
> 
>   src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 
> 
> 
> Diff: https://reviews.apache.org/r/57615/diff/1/
> 
> 
> Testing
> -------
> 
> make check
> 
> Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.
> 
> 
> Thanks,
> 
> Greg Mann
> 
>


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Greg Mann <gr...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/#review169509
-----------------------------------------------------------




src/executor/executor.cpp
Lines 227 (patched)
<https://reviews.apache.org/r/57615/#comment241869>

    MESOS_EXECUTOR_AUTHENTICATION_TOKEN ?


- Greg Mann


On March 16, 2017, 7:13 p.m., Greg Mann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57615/
> -----------------------------------------------------------
> 
> (Updated March 16, 2017, 7:13 p.m.)
> 
> 
> Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.
> 
> 
> Bugs: MESOS-6304
>     https://issues.apache.org/jira/browse/MESOS-6304
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch adds support for authentication tokens to the
> V1 default executor library. The tokens are loaded from a
> pre-determined environment variable, if present.
> 
> 
> Diffs
> -----
> 
>   src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 
> 
> 
> Diff: https://reviews.apache.org/r/57615/diff/3/
> 
> 
> Testing
> -------
> 
> make check
> 
> Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.
> 
> 
> Thanks,
> 
> Greg Mann
> 
>


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Greg Mann <gr...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/
-----------------------------------------------------------

(Updated March 22, 2017, 2:39 p.m.)


Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.


Bugs: MESOS-6304
    https://issues.apache.org/jira/browse/MESOS-6304


Repository: mesos


Description
-------

This patch adds support for authentication tokens to the
V1 default executor library. The tokens are loaded from a
pre-determined environment variable, if present.


Diffs (updated)
-----

  src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 


Diff: https://reviews.apache.org/r/57615/diff/5/

Changes: https://reviews.apache.org/r/57615/diff/4-5/


Testing (updated)
-------

Testing details can be found at the end of this patch chain.


Thanks,

Greg Mann


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Greg Mann <gr...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/
-----------------------------------------------------------

(Updated March 21, 2017, 4:25 p.m.)


Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.


Bugs: MESOS-6304
    https://issues.apache.org/jira/browse/MESOS-6304


Repository: mesos


Description
-------

This patch adds support for authentication tokens to the
V1 default executor library. The tokens are loaded from a
pre-determined environment variable, if present.


Diffs
-----

  src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 


Diff: https://reviews.apache.org/r/57615/diff/4/


Testing
-------

make check

Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.


Thanks,

Greg Mann


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Anand Mazumdar <an...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/#review169555
-----------------------------------------------------------


Ship it!




Ship It!

- Anand Mazumdar


On March 21, 2017, 2:47 p.m., Greg Mann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57615/
> -----------------------------------------------------------
> 
> (Updated March 21, 2017, 2:47 p.m.)
> 
> 
> Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.
> 
> 
> Bugs: MESOS-6304
>     https://issues.apache.org/jira/browse/MESOS-6304
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch adds support for authentication tokens to the
> V1 default executor library. The tokens are loaded from a
> pre-determined environment variable, if present.
> 
> 
> Diffs
> -----
> 
>   src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 
> 
> 
> Diff: https://reviews.apache.org/r/57615/diff/4/
> 
> 
> Testing
> -------
> 
> make check
> 
> Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.
> 
> 
> Thanks,
> 
> Greg Mann
> 
>


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Greg Mann <gr...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/
-----------------------------------------------------------

(Updated March 21, 2017, 2:47 p.m.)


Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.


Bugs: MESOS-6304
    https://issues.apache.org/jira/browse/MESOS-6304


Repository: mesos


Description
-------

This patch adds support for authentication tokens to the
V1 default executor library. The tokens are loaded from a
pre-determined environment variable, if present.


Diffs (updated)
-----

  src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 


Diff: https://reviews.apache.org/r/57615/diff/4/

Changes: https://reviews.apache.org/r/57615/diff/3-4/


Testing
-------

make check

Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.


Thanks,

Greg Mann


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/#review169240
-----------------------------------------------------------



Patch looks great!

Reviews applied: [56474, 56476, 56475, 57663, 57664, 57665, 57666, 57670, 57671, 57667, 57615]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh

- Mesos Reviewbot


On March 16, 2017, 7:13 p.m., Greg Mann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57615/
> -----------------------------------------------------------
> 
> (Updated March 16, 2017, 7:13 p.m.)
> 
> 
> Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.
> 
> 
> Bugs: MESOS-6304
>     https://issues.apache.org/jira/browse/MESOS-6304
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch adds support for authentication tokens to the
> V1 default executor library. The tokens are loaded from a
> pre-determined environment variable, if present.
> 
> 
> Diffs
> -----
> 
>   src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 
> 
> 
> Diff: https://reviews.apache.org/r/57615/diff/3/
> 
> 
> Testing
> -------
> 
> make check
> 
> Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.
> 
> 
> Thanks,
> 
> Greg Mann
> 
>


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Greg Mann <gr...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/
-----------------------------------------------------------

(Updated March 16, 2017, 7:13 p.m.)


Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.


Bugs: MESOS-6304
    https://issues.apache.org/jira/browse/MESOS-6304


Repository: mesos


Description
-------

This patch adds support for authentication tokens to the
V1 default executor library. The tokens are loaded from a
pre-determined environment variable, if present.


Diffs (updated)
-----

  src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 


Diff: https://reviews.apache.org/r/57615/diff/3/

Changes: https://reviews.apache.org/r/57615/diff/2-3/


Testing
-------

make check

Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.


Thanks,

Greg Mann


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/#review169183
-----------------------------------------------------------



Patch looks great!

Reviews applied: [56474, 56476, 56475, 57663, 57664, 57665, 57666, 57670, 57671, 57667, 57615]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh

- Mesos Reviewbot


On March 16, 2017, 3:42 p.m., Greg Mann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57615/
> -----------------------------------------------------------
> 
> (Updated March 16, 2017, 3:42 p.m.)
> 
> 
> Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.
> 
> 
> Bugs: MESOS-6304
>     https://issues.apache.org/jira/browse/MESOS-6304
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch adds support for authentication tokens to the
> V1 default executor library. The tokens are loaded from a
> pre-determined environment variable, if present.
> 
> 
> Diffs
> -----
> 
>   src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 
> 
> 
> Diff: https://reviews.apache.org/r/57615/diff/2/
> 
> 
> Testing
> -------
> 
> make check
> 
> Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.
> 
> 
> Thanks,
> 
> Greg Mann
> 
>


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Greg Mann <gr...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/
-----------------------------------------------------------

(Updated March 16, 2017, 3:42 p.m.)


Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.


Bugs: MESOS-6304
    https://issues.apache.org/jira/browse/MESOS-6304


Repository: mesos


Description
-------

This patch adds support for authentication tokens to the
V1 default executor library. The tokens are loaded from a
pre-determined environment variable, if present.


Diffs (updated)
-----

  src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 


Diff: https://reviews.apache.org/r/57615/diff/2/

Changes: https://reviews.apache.org/r/57615/diff/1-2/


Testing
-------

make check

Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.


Thanks,

Greg Mann


Re: Review Request 57615: Added support for auth tokens to the V1 executor library.

Posted by Greg Mann <gr...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57615/
-----------------------------------------------------------

(Updated March 15, 2017, 10:09 p.m.)


Review request for mesos, Anand Mazumdar, Jan Schlicht, and Vinod Kone.


Bugs: MESOS-6304
    https://issues.apache.org/jira/browse/MESOS-6304


Repository: mesos


Description
-------

This patch adds support for authentication tokens to the
V1 default executor library. The tokens are loaded from a
pre-determined environment variable, if present.


Diffs
-----

  src/executor/executor.cpp 35378ec4b55ce0427e95f6b868baa6233c9068cd 


Diff: https://reviews.apache.org/r/57615/diff/1/


Testing (updated)
-------

make check

Once MESOS-6999 is resolved, additional tests must be implemented to verify that executor authentication is performed correctly.


Thanks,

Greg Mann