openstack ironic project summary, february 2014

30
OpenStack's Baremetal provisioning service Devananda van der Veen HP Cloud Twitter: @devananda Email: [email protected]

Upload: devananda-van-der-veen

Post on 06-May-2015

2.141 views

Category:

Technology


2 download

DESCRIPTION

Summary of the OpenStack Ironic project, circa Feburary 2014

TRANSCRIPT

Page 1: OpenStack Ironic Project Summary, February 2014

OpenStack's Baremetal provisioning service

Devananda van der VeenHP Cloud

Twitter: @devanandaEmail: [email protected]

Page 2: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Page 3: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

$ cat /etc/nova/nova.conf…

compute_driver = BareMetalDriver

Page 4: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Nova changes

Page 5: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Nova changes

→ second database backend

Page 6: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Nova changes

→ second database backend→ incompatible scheduler

Page 7: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Nova changes

→ second database backend→ incompatible scheduler→ extra service

Page 8: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Very promising, but ...

Page 9: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Also very limited.

Page 10: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Also very limited.

→ HA is external

Page 11: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Also very limited.

→ HA is external→ only one driver per region

Page 12: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Also very limited.

→ HA is external→ only one driver per region→ progress blocked

Page 13: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

So...

Page 14: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Page 15: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Ironic™

commit 84a7dc47e2f666ff11b5816387b7ada2371e48c2Author: Monty Taylor <[email protected]>Date: Thu May 2 14:50:57 2013 -0400

Added project infrastructure needs.

Page 16: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Time goes by...

Page 17: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Page 18: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Openstack is not a virtualization layer.It's an abstraction layer.

- Daniel Sabbah, CTO @ IBM

Page 19: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

nova-api“nova boot ...”

nova-scheduler

nova-compute

neutronglance

hypervisors(libvirt, xen, etc)

etc

Page 20: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

nova-api

ironic-api

“nova boot ...”

nova-scheduler

nova-compute

neutron

glance

ironic-conductor

drivers

cinder, swift, ...

Page 21: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

1 2 3 ...

API services

DBConductor service(s)

REST

RPC

admin

only!

chassis:optional grouping

nodes:status & metadata

ports:mac address

conductors:heartbeatdriver list

Page 22: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

rpc_thread_pool worker_thread_pool

requestTaskManager()- loads driver- locks Node

validate request

spawn worker

202 Accepted work...

update node status

return to pool

wake up

Page 23: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

./api/controllers/v1/           # V1 API   {chassis,driver,node,port}   # main objects./cmd/*                         # cmdline wrappers./common/*                      # common utils./conductor/manager.py          # main service./conductor/rpcapi.py           # RPC API./db/sqlalchemy/*               # DB stuff./drivers/                      # driver API  ./modules/{pxe,ipmitool,ssh}  # driver modules./objects/*                     # Nova RPC objects./openstack/common/*            # Oslo./tests/*                       # Unit tests

Page 24: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Driver Interface

→ three classes of interface → core → common → vendor

Page 25: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Current Drivers

→ PXE→ IPMI→ SSH

Page 26: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Proposed Drivers

→ HP iLO & 3par→ AMD SeaMicro

Page 27: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Node locking via TaskManager()

→ all actions on Node guarded by mutex→ driver loading happens in same context→ lock backed by DB // sync'd across Conductors

Page 28: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Testing locally

→ Emulate hardware with VMs→ OpenVSwitch & local net bridge→ Devstack || TripleO

Page 29: OpenStack Ironic Project Summary, February 2014

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Questions?

Page 30: OpenStack Ironic Project Summary, February 2014

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Thank you

https://launchpad.net/ironichttps://github.com/openstack/ironic

irc.freenode.net#openstack-ironic#tripleo