Re: Review Request 34568: run tasks as user that match aurora-role

2016-01-30 Thread Benjamin Staffin


> On Jan. 9, 2016, 4:43 p.m., Benjamin Staffin wrote:
> > Any chance of getting this merged?  It might be a surprise to some users, 
> > since right now there's no requirement for matching role accounts to exist 
> > inside the docker images, but with the right documentation about how to 
> > retain the "always root in the container" behavior it ought to be ok.
> 
> Bill Farner wrote:
> Unless Bhuvan is willing to revisit, you might have to take over the 
> patch (which i would welcome).  I would like to see a few changes to accept 
> this:
> - enabled with a flag to the executor at least for the first release
> - e2e test case verifying the expected behavior

Here's my take on it, currently sans tests: https://reviews.apache.org/r/43027/


- Benjamin


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


On Nov. 2, 2015, 10:26 a.m., Bhuvan Arumugam wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34568/
> ---
> 
> (Updated Nov. 2, 2015, 10:26 a.m.)
> 
> 
> Review request for Aurora, Kevin Sweeney and Zameer Manji.
> 
> 
> Bugs: AURORA-1237
> https://issues.apache.org/jira/browse/AURORA-1237
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> The tasks inside container should run as user that match aurora-role, if
> --nosetuid option is not passed for executor.
> 
> Testing Done:
> ./pants test.pytest --no-fast --options='--verbose' src/test/python::
> 
> Bugs closed: AURORA-1237
> 
> 
> Diffs
> -
> 
>   src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 
> 
> Diff: https://reviews.apache.org/r/34568/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Bhuvan Arumugam
> 
>



Re: Review Request 34568: run tasks as user that match aurora-role

2016-01-11 Thread Bill Farner


> On Jan. 9, 2016, 4:43 p.m., Benjamin Staffin wrote:
> > Any chance of getting this merged?  It might be a surprise to some users, 
> > since right now there's no requirement for matching role accounts to exist 
> > inside the docker images, but with the right documentation about how to 
> > retain the "always root in the container" behavior it ought to be ok.

Unless Bhuvan is willing to revisit, you might have to take over the patch 
(which i would welcome).  I would like to see a few changes to accept this:
- enabled with a flag to the executor at least for the first release
- e2e test case verifying the expected behavior


- Bill


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


On Nov. 2, 2015, 10:26 a.m., Bhuvan Arumugam wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34568/
> ---
> 
> (Updated Nov. 2, 2015, 10:26 a.m.)
> 
> 
> Review request for Aurora, Kevin Sweeney and Zameer Manji.
> 
> 
> Bugs: AURORA-1237
> https://issues.apache.org/jira/browse/AURORA-1237
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> The tasks inside container should run as user that match aurora-role, if
> --nosetuid option is not passed for executor.
> 
> Testing Done:
> ./pants test.pytest --no-fast --options='--verbose' src/test/python::
> 
> Bugs closed: AURORA-1237
> 
> 
> Diffs
> -
> 
>   src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 
> 
> Diff: https://reviews.apache.org/r/34568/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Bhuvan Arumugam
> 
>



Re: Review Request 34568: run tasks as user that match aurora-role

2016-01-09 Thread Benjamin Staffin

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


Any chance of getting this merged?  It might be a surprise to some users, since 
right now there's no requirement for matching role accounts to exist inside the 
docker images, but with the right documentation about how to retain the "always 
root in the container" behavior it ought to be ok.

- Benjamin Staffin


On Nov. 2, 2015, 10:26 a.m., Bhuvan Arumugam wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34568/
> ---
> 
> (Updated Nov. 2, 2015, 10:26 a.m.)
> 
> 
> Review request for Aurora, Kevin Sweeney and Zameer Manji.
> 
> 
> Bugs: AURORA-1237
> https://issues.apache.org/jira/browse/AURORA-1237
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> The tasks inside container should run as user that match aurora-role, if
> --nosetuid option is not passed for executor.
> 
> Testing Done:
> ./pants test.pytest --no-fast --options='--verbose' src/test/python::
> 
> Bugs closed: AURORA-1237
> 
> 
> Diffs
> -
> 
>   src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 
> 
> Diff: https://reviews.apache.org/r/34568/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Bhuvan Arumugam
> 
>



Re: Review Request 34568: run tasks as user that match aurora-role

2015-06-01 Thread Bhuvan Arumugam

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


@ReviewBot retry

- Bhuvan Arumugam


On May 21, 2015, 9:54 p.m., Bhuvan Arumugam wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/34568/
 ---
 
 (Updated May 21, 2015, 9:54 p.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Bugs: AURORA-1237
 https://issues.apache.org/jira/browse/AURORA-1237
 
 
 Repository: aurora
 
 
 Description
 ---
 
 The tasks inside container should run as user that match aurora-role, if
 --nosetuid option is not passed for executor.
 
 Testing Done:
 ./pants test.pytest --no-fast --options='--verbose' src/test/python::
 
 Bugs closed: AURORA-1237
 
 
 Diffs
 -
 
   src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 
 
 Diff: https://reviews.apache.org/r/34568/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Bhuvan Arumugam
 




Re: Review Request 34568: run tasks as user that match aurora-role

2015-06-01 Thread Aurora ReviewBot

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


Master (73ceeb2) is green with this patch.
  ./build-support/jenkins/build.sh

However, it appears that it might lack test coverage.

I will refresh this build result if you post a review containing @ReviewBot 
retry

- Aurora ReviewBot


On May 21, 2015, 9:54 p.m., Bhuvan Arumugam wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/34568/
 ---
 
 (Updated May 21, 2015, 9:54 p.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Bugs: AURORA-1237
 https://issues.apache.org/jira/browse/AURORA-1237
 
 
 Repository: aurora
 
 
 Description
 ---
 
 The tasks inside container should run as user that match aurora-role, if
 --nosetuid option is not passed for executor.
 
 Testing Done:
 ./pants test.pytest --no-fast --options='--verbose' src/test/python::
 
 Bugs closed: AURORA-1237
 
 
 Diffs
 -
 
   src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 
 
 Diff: https://reviews.apache.org/r/34568/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Bhuvan Arumugam
 




Re: Review Request 34568: run tasks as user that match aurora-role

2015-05-21 Thread Bhuvan Arumugam

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

(Updated May 21, 2015, 9:54 p.m.)


Review request for Aurora, Bill Farner and Zameer Manji.


Bugs: AURORA-1237
https://issues.apache.org/jira/browse/AURORA-1237


Repository: aurora


Description
---

The tasks inside container should run as user that match aurora-role, if
--nosetuid option is not passed for executor.

Testing Done:
./pants test.pytest --no-fast --options='--verbose' src/test/python::

Bugs closed: AURORA-1237


Diffs (updated)
-

  src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 

Diff: https://reviews.apache.org/r/34568/diff/


Testing
---


Thanks,

Bhuvan Arumugam



Re: Review Request 34568: run tasks as user that match aurora-role

2015-05-21 Thread Aurora ReviewBot

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


Master (998993d) is green with this patch.
  ./build-support/jenkins/build.sh

However, it appears that it might lack test coverage.

I will refresh this build result if you post a review containing @ReviewBot 
retry

- Aurora ReviewBot


On May 21, 2015, 9:54 p.m., Bhuvan Arumugam wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/34568/
 ---
 
 (Updated May 21, 2015, 9:54 p.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Bugs: AURORA-1237
 https://issues.apache.org/jira/browse/AURORA-1237
 
 
 Repository: aurora
 
 
 Description
 ---
 
 The tasks inside container should run as user that match aurora-role, if
 --nosetuid option is not passed for executor.
 
 Testing Done:
 ./pants test.pytest --no-fast --options='--verbose' src/test/python::
 
 Bugs closed: AURORA-1237
 
 
 Diffs
 -
 
   src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 
 
 Diff: https://reviews.apache.org/r/34568/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Bhuvan Arumugam
 




Re: Review Request 34568: run tasks as user that match aurora-role

2015-05-21 Thread Zameer Manji

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


This change lgtm but I will need to ask you to do the following things:
1. Remove wfarner from this review as currently he is on vacation. I suggest 
adding kevints or jcohen.
2. Assign the ticket linked to this review to yourself and link to this review 
in the comments of the ticket.
3. Confirm the e2e tests work with this change.

- Zameer Manji


On May 21, 2015, 2:54 p.m., Bhuvan Arumugam wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/34568/
 ---
 
 (Updated May 21, 2015, 2:54 p.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Bugs: AURORA-1237
 https://issues.apache.org/jira/browse/AURORA-1237
 
 
 Repository: aurora
 
 
 Description
 ---
 
 The tasks inside container should run as user that match aurora-role, if
 --nosetuid option is not passed for executor.
 
 Testing Done:
 ./pants test.pytest --no-fast --options='--verbose' src/test/python::
 
 Bugs closed: AURORA-1237
 
 
 Diffs
 -
 
   src/main/python/apache/aurora/executor/thermos_task_runner.py 8ce9168 
 
 Diff: https://reviews.apache.org/r/34568/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Bhuvan Arumugam