20

20150924 rda federation_v1

Embed Size (px)

Citation preview

Identity Federation in OpenStack

Tim [email protected]

24/09/2015 2Tim Bell - RDA

CERN Tool Chain

24/09/2015 Tim Bell - RDA 3

OpenStack Status• 4 OpenStack clouds at CERN

• Largest is ~120,000 cores in ~4,000 servers in two data centres

• 3 other instances with 45,000 cores total• Currently running Juno release of

OpenStack• Migrating to Kilo in next two months

24/09/2015 4Tim Bell - RDA

24/09/2015 5

Microsoft Active Directory

Database Services

CERN Network Database

Account mgmt system

Horizon

Keystone

Glance

NetworkCompute

Scheduler

Cinder

Nova

Block StorageCeph & NetApp

CERN Accounting

Ceilometer

Tim Bell - RDA

IN2P3INFN

Onwards the Federated Clouds

Public Cloud such as Rackspace

CERN Private Cloud

120K cores

ATLAS Trigger28K cores

CMS Trigger12K cores

Brookhaven National Labs

NecTARAustralia

Many Others on Their Way

24/09/2015 Tim Bell - RDA 6

ALICE Trigger12K cores

Open Design Process

24/09/2015 Tim Bell - RDA 7

• Started at OpenStack Hong Kong design summit• Iterative design using open blueprints• Source code under Apache 2 license• Continuous integration to ensure maintainability• Diverse team

Implementation

24/09/2015 Tim Bell - RDA 8

Keystone authentication options • Password• Active Directory• OpenID Connect• X.509• Kerberos• Tivoli Federated Identity Manager• … plug in architecture for extensions

24/09/2015 Tim Bell - RDA 9

Usage Modes• OpenStack with Web GUI handled by

Federated Single Sign On• OpenStack with Keystone authentication

service validating against a SAML IdP• OpenStack with Keystone authentication

service validating against another Keystone

24/09/2015 Tim Bell - RDA 10

Policy

24/09/2015 Tim Bell - RDA 11

LOGIN: madenisLANGUAGE: ENDEPARTMENT: IT/OISFULLNAME: Marek Denis

Assertion Keystonecredentials

{ name: madenis groups: [ “devs”, “openlab” ]}

[ { "local": [ { "user": { "name": "{0}" } } ], "remote": [ { "type": "ADFS_LOGIN" } ] }, { "local": [ { "group": { "id": “devs" } } , {“group”: {ïd”:”openlab”} } ], "remote": [ { "type":"DEPARTMENT", "any_one_of": ["IT/OIS"] } ] } ]

OpenStack Identity Federation in 2015

24/09/2015 Tim Bell - RDA 12

Examples of potential use #1• Federation with a cloud provider such as Rackspace• Scenario

• Project with quota on an external cloud• Define role mapping in external cloud using attributes• User authenticates against private cloud IdP• Accesses public cloud project

• Demo’d at the OpenStack summit in Paris in Autumn 2014• http://cern.ch/go/h98B

24/09/2015 Tim Bell - RDA 13

Examples of potential use #2• Indigo dataclouds project

• H2020 funded• Needs build and test resources

• CERN defines an OpenStack project• Maps INFN role to project members

• Web SSO• Federates with EduGain

• API/CLI• Federates with INFN Keystone using Keystone-to-Keystone

24/09/2015 Tim Bell - RDA 14

Experiences• Watch out for non-federated services

• Who owns the resources at the site ?• How to ssh into a VM behind a firewall when no

account on the central login services ?• Traceability for ephemeral accounts

• CADF logs need to be kept to map user UUID to originator

24/09/2015 Tim Bell - RDA 15

Summary• OpenStack now includes Federated Identity as standard

• Web SSO• CLI

• Pluggable for authentication methods• SAML and OpenID connect most popular

• Significant commercial interest and investment• Partner networks such as Cisco and HP

• Easy to miss non-federated services when deploying production uses

24/09/2015 16Tim Bell - RDA

Backup Slides

24/09/2015 18Tim Bell - RDA

The Worldwide LHC Computing Grid

Tier-1: permanent storage, re-processing, analysis

Tier-0 (CERN): data recording, reconstruction and distribution

Tier-2: Simulation,end-user analysis

> 2 million jobs/day

~350’000 cores

500 PB of storage

nearly 170 sites, 40 countries

10-100 Gb links

1924/09/2015 Tim Bell - RDA

24/09/2015 20Tim Bell - RDA