INFSO-RI-508833 Enabling Grids for E-sciencE www.eu-egee.org glexec on worker nodes David Groep NIKHEF.

Slides:



Advertisements
Similar presentations
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks MyProxy and EGEE Ludek Matyska and Daniel.
Advertisements

Andrew McNab - EDG Access Control - 14 Jan 2003 EU DataGrid security with GSI and Globus Andrew McNab University of Manchester
INFSO-RI Enabling Grids for E-sciencE Glexec overview Gerben Venekamp NIKHEF.
INFSO-RI Enabling Grids for E-sciencE JRA3 2 nd EU Review Input David Groep NIKHEF.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Recovering control over compute in the wake of community-run scheduling services.
INFSO-RI Enabling Grids for E-sciencE Practicals on VOMS and MyProxy Emidio Giorgio INFN Retreat between GILDA and ESR VO, Bratislava,
INFSO-RI Enabling Grids for E-sciencE gLExec, SCAS and the paths forward Introduction to pilot jobs and gLExec and SCAS framework.
INFSO-RI Enabling Grids for E-sciencE gLExec and OS compatibility David Groep Nikhef.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks General relationships with EGEE JRA1 SA3.
INFSO-RI Enabling Grids for E-sciencE DAGs with data placement nodes: the “shish-kebab” jobs Francesco Prelz Enzo Martelli INFN.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Security and Job Management.
EMI is partially funded by the European Commission under Grant Agreement RI Argus Policies Tutorial Valery Tschopp - SWITCH EGI TF Prague.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks David Kelsey RAL/STFC,
Maarten Litmaath (CERN), GDB meeting, CERN, 2006/02/08 VOMS deployment Extent of VOMS usage in LCG-2 –Node types gLite 3.0 Issues Conclusions.
Pilot Jobs John Gordon Management Board 23/10/2007.
Configuration Management and Change Control Change is inevitable! So it has to be planned for and managed.
INFSO-RI Enabling Grids for E-sciencE LCAS/LCMAPS and WSS Site Access Control boundary conditions David Groep NIKHEF.
Overview of Privilege Project at Fermilab (compilation of multiple talks and documents written by various authors) Tanya Levshina.
US LHC OSG Technology Roadmap May 4-5th, 2005 Welcome. Thank you to Deirdre for the arrangements.
Conference name Company name INFSOM-RI Speaker name The ETICS Job management architecture EGEE ‘08 Istanbul, September 25 th 2008 Valerio Venturi.
INFSO-RI Enabling Grids for E-sciencE Scenarios for Integrating Data and Job Scheduling Peter Kunszt On behalf of the JRA1-DM Cluster,
INFSO-RI Enabling Grids for E-sciencE LCAS/LCMAPS and WSS Site Access Control boundary conditions David Groep et al. NIKHEF.
INFSO-RI Enabling Grids for E-sciencE EGEE Security Joni Hahkala, UH-HIP On behalf of JRA3 JRA1 AH March 22-24, 2006.
Trusted Virtual Machine Images a step towards Cloud Computing for HEP? Tony Cass on behalf of the HEPiX Virtualisation Working Group October 19 th 2010.
INFSO-RI Enabling Grids for E-sciencE EGEE is a project funded by the European Union under contract INFSO-RI Grid Accounting.
Derek Ross E-Science Department DCache Deployment at Tier1A UK HEP Sysman April 2005.
Glite. Architecture Applications have access both to Higher-level Grid Services and to Foundation Grid Middleware Higher-Level Grid Services are supposed.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Site Architecture Resource Center Deployment Considerations MIMOS EGEE Tutorial.
INFSO-RI Enabling Grids for E-sciencE The gLite File Transfer Service: Middleware Lessons Learned form Service Challenges Paolo.
INFSO-RI Enabling Grids for E-sciencE glexec deployment models local credentials and grid identity mapping in the presence of complex.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Grid2Win : gLite for Microsoft Windows Roberto.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks New Authorization Service Christoph Witzig,
OSG Site Admin Workshop - Mar 2008Using gLExec to improve security1 OSG Site Administrators Workshop Using gLExec to improve security of Grid jobs by Alain.
LCG Support for Pilot Jobs John Gordon, STFC GDB December 2 nd 2009.
INFSO-RI Enabling Grids for E-sciencE glexec deployment models local credentials and grid identity mapping in the presence of complex.
EGEE-II INFSO-RI Enabling Grids for E-sciencE gLite and Condor present and future Claudio Grandi (INFN – Bologna)
DIRAC Pilot Jobs A. Casajus, R. Graciani, A. Tsaregorodtsev for the LHCb DIRAC team Pilot Framework and the DIRAC WMS DIRAC Workload Management System.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Update Authorization Service Christoph Witzig,
INFSO-RI Enabling Grids for E-sciencE - II SLCS, VASH, and LCAS/LCMAPS Plugins All-Hands Meeting Helsinki Placi Flury, SWITCH 19.
WLCG Authentication & Authorisation LHCOPN/LHCONE Rome, 29 April 2014 David Kelsey STFC/RAL.
INFSO-RI Enabling Grids for E-sciencE Policy management and fair share in gLite Andrea Guarise HPDC 2006 Paris June 19th, 2006.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks The LCG interface Stefano BAGNASCO INFN Torino.
Enabling Grids for E-sciencE INFSO-RI Enabling Grids for E-sciencE Gavin McCance GDB – 6 June 2007 FTS 2.0 deployment and testing.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks MSA3.4.1 “The process document” Oliver Keeble.
LCG Pilot Jobs + glexec John Gordon, STFC-RAL GDB 7 December 2007.
INFSO-RI Enabling Grids for E-sciencE Glexec Gerben Venekamp NIKHEF.
Gridification progress report David Groep, Oscar Koeroo Wim Som de Cerff, Gerben Venekamp Martijn Steenbakkers.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Grid Configuration Data or “What should be.
Security and VO management enhancements in Panda Workload Management System Jose Caballero Maxim Potekhin Torre Wenaus Presented by Maxim Potekhin at HPDC08.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Study on Authorization Christoph Witzig,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Study on Authorization Christoph Witzig,
EGEE-III INFSO-RI Enabling Grids for E-sciencE VO Authorization in EGEE Erwin Laure EGEE Technical Director Joint EGEE and OSG Workshop.
EMI is partially funded by the European Commission under Grant Agreement RI Argus Policies Tutorial Valery Tschopp (SWITCH) – Argus Product Team.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Job Management Claudio Grandi.
Bologna, March 30, 2006 Riccardo Zappi / Luca Magnoni INFN-CNAF, Bologna.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarksEGEE-III INFSO-RI MPI on the grid:
INFSO-RI Enabling Grids for E-sciencE Padova site report Massimo Sgaravatto On behalf of the JRA1 IT-CZ Padova group.
INFSO-RI Enabling Grids for E-sciencE JRA3 Åke Edlund On behalf of JRA3 EGEE 8th All-activity meeting January 18-19,
INFSO-RI Enabling Grids for E-sciencE GUMS vs. LCMAPS Oscar Koeroo.
Why you should care about glexec OSG Site Administrator’s Meeting Written by Igor Sfiligoi Presented by Alain Roy Hint: It’s about security.
Enabling Grids for E-sciencE Claudio Cherubino INFN DGAS (Distributed Grid Accounting System)
EGEE-II INFSO-RI Enabling Grids for E-sciencE Simone Campana (CERN) Job Priorities: status.
How to integrate portals with EGI accounting system R.Graciani EGI TF 2012.
gLExec and OS compatibility
Glexec deployment models local credentials and grid identity mapping in the presence of complex schedulers David Groep NIKHEF.
John Gordon, STFC-RAL GDB 10 October 2007
Short update on the latest gLite status
THE STEPS TO MANAGE THE GRID
Presentation transcript:

INFSO-RI Enabling Grids for E-sciencE glexec on worker nodes David Groep NIKHEF

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Why thing glexec? VO side Background: some VOs prefer to use their own scheduling & job management late binding of jobs to job slots –first establishing an overlay network –subsequent scheduling and starting of jobs is faster hide details between the various grid flavours implement VO priorities full use of allocated slots, up to max wall clock time but these VOs will need their ‘own’ scheduler –some of them do have it already, –but then, others don’t, so this must never be the only (or even the default) way of using resources

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Sites: glexec on WN requirements Basic principle –VO supplied schedulers should comply with and implement  the same policies as corresponding functionality in the native batch systems and grid middleware  both now and in the future Essential ingredients –Independent auditing on the VO actions –Accounting at the user level no longer to be done by the site –‘trusted’ way to get the user credentials from the VO Submitting user’s identity & job VO identity/process or VO placeholder manager Site managed and trusted services

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Current mode Job submission in the gLite-CE VO Scheduler: Condor-C & BLAHP VO scheduler on head node changes to end-user’s identity (i.e. to the job owner in the VO job source) On change, site policies are checked Job on the batch queue has ‘proper’ identity Some current practice several VOs submit ‘placeholder’ jobs with (essentially) a single identity for all of the VO The ‘checkered’ placeholder then gets user jobs in ‘some’ way and exetues them with the placeholder’s identity The site does not ‘see’ the original submitter Of course, also ‘classic’ submissions and proper uid changes by Condor-C&BLAHP on the head node

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th VO scheduler on the node proper uid changes by Condor-C&BLAHP on the head node SHOULD REMAIN DEFAULT Job submission in a glexec-on-WN scenario VO scheduler submits a placeholder job to the batch system, and the VO ‘placeholder job’ submitter is responsible for the placeholder behaviour this might be a specific role in the VO, or a locally registered ‘badged’ user at each site The placeholder job is subject to the normal site policies for jobs The placeholder obtains the true user job, and presents the user credentials and the job (executable name) to the site to request a decision On success: the site will set the uid/gid of the new user’s job On failure: the glexec will return with an error, and the placeholder job can terminate or obtain another job

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Status today ‘glexec’ is part of gLite3.0 –based off the Apache HTTP suexec code base –uses the LCAS and LCMAPS for enforcement and mapping –library-based implementation –needs the gLite-flavour of LCAS/LCMAPS (not the LCG2.x versions) –New modules have been added  LCAS: RSL (executable path) constrains  validation of cert chain and proxy lifetime restrictions –policy should be located on local posix-accessible file systems –policy transport should be ‘trustworthy’

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Still needed Make the credential acquisition process work across the network, so there can be a site-central policy engine –enforcement will have to stay local Same for LCAS changeover to standard callouts for both are needed this is planned work, but it is work and will take time

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Needed components, procedures Auditing the VO placeholder job/scheduler on the WN –check number of ‘fork-execs’ done by the placeholder with the number of glexec invocations a discrepancy means the VO is cheating on you –check the VO placeholder job is not using too much CPU the CPU-time / Walltime should be close to zero credential mapping auditing/logging –‘JobRepository’ fits the bill  schema allows for recording and retrieving all aspects of credential mapping  records both user identity and any VO attributes  retains the credential mapping for each ‘job’ or glexec invocation –JR is part of the stack, but not widely deployed yet

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Needed auditing Detailed auditing ‘enterprise class’ operating systems have some kind of auditing system-call level auditing is typically part of EAL3+ certification –“LAuS” for Linux systems, like RHEL3+ and SELS gives a wealth of information, even today without ‘glexec-on-WNs’ so it’s a good idea even now, and not too hard to do

Enabling Grids for E-sciencE INFSO-RI JRA3 EU Review Input DavidG December 7 th Summary We have to realise that some VOs are doing ‘agent’ jobs today, –there is no effective enforcement against this –and some sites may even just don’t care yet, but others have hard requirements on auditability and regulatory compliance Some VOs are given a specific target date for leaving this model This glexec-on-WN model, giving the VOs the tools to comply with site requirements, seems a reasonable way forward –at least makes it better than it is today –but many will miss the warm and fuzzy feeling of trust here there has been a lot of discussion in the group, so have a look at the minutes for details and many more considerations