ironic summary @ lca 2014

56
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

681 views

Category:

Technology


0 download

DESCRIPTION

Provisioning Bare Metal with OpenStack, Linux.conf.au 2014

TRANSCRIPT

Page 1: Ironic summary @ LCA 2014

OpenStack's Baremetal provisioning service

Devananda van der VeenHP Cloud

Twitter: @devanandaEmail: [email protected]

Page 2: Ironic summary @ LCA 2014

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

Page 3: Ironic summary @ LCA 2014

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

Page 4: Ironic summary @ LCA 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 5: Ironic summary @ LCA 2014

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

Nova changes

Page 6: Ironic summary @ LCA 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 7: Ironic summary @ LCA 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 8: Ironic summary @ LCA 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 9: Ironic summary @ LCA 2014

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

Very promising, but ...

Page 10: Ironic summary @ LCA 2014

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

Also very limited.

Page 11: Ironic summary @ LCA 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 12: Ironic summary @ LCA 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 13: Ironic summary @ LCA 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 14: Ironic summary @ LCA 2014

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

So...

Page 15: Ironic summary @ LCA 2014

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

Page 16: Ironic summary @ LCA 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 17: Ironic summary @ LCA 2014

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

Time goes by...

Page 18: Ironic summary @ LCA 2014

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

Page 19: Ironic summary @ LCA 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.

Page 20: Ironic summary @ LCA 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.

Page 21: Ironic summary @ LCA 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 22: Ironic summary @ LCA 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 23: Ironic summary @ LCA 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 24: Ironic summary @ LCA 2014

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

Wait a sec... where's the hypervisor?

Page 25: Ironic summary @ LCA 2014

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

No hypervisor!

Page 26: Ironic summary @ LCA 2014

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

No hypervisor = giant security hole!

Page 27: Ironic summary @ LCA 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 28: Ironic summary @ LCA 2014

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

Driver Interface

Page 29: Ironic summary @ LCA 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

Page 30: Ironic summary @ LCA 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

Page 31: Ironic summary @ LCA 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

Page 32: Ironic summary @ LCA 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 33: Ironic summary @ LCA 2014

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

Driver Interface

→ core interfaces

Page 34: Ironic summary @ LCA 2014

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

Driver Interface

→ core interfaces → power

Page 35: Ironic summary @ LCA 2014

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

Driver Interface

→ core interfaces → power → deploy

Page 36: Ironic summary @ LCA 2014

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

Driver Interface

→ common interfaces

Page 37: Ironic summary @ LCA 2014

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

Driver Interface

→ common interfaces → console

Page 38: Ironic summary @ LCA 2014

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

Driver Interface

→ common interfaces → console → rescue

Page 39: Ironic summary @ LCA 2014

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

Driver Interface

→ vendor interface

Page 40: Ironic summary @ LCA 2014

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

Driver Interface

→ vendor interface → firmware?

Page 41: Ironic summary @ LCA 2014

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

Driver Interface

→ vendor interface → firmware? → boot-from-volume?

Page 42: Ironic summary @ LCA 2014

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

Driver Interface

→ vendor interface → firmware? → boot-from-volume? → something else?

Page 43: Ironic summary @ LCA 2014

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

Architecture

Page 44: Ironic summary @ LCA 2014

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

1 2 3 ...

RESTful API

DBConductor service(s)

Enrollhardware

RPC

admin

only!

Page 45: Ironic summary @ LCA 2014

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

Many conductors, Many drivers

Page 46: Ironic summary @ LCA 2014

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

Many conductors, Many drivers

→ advertise supported drivers

Page 47: Ironic summary @ LCA 2014

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

Many conductors, Many drivers

→ advertise supported drivers→ nodes mapped across cluster

Page 48: Ironic summary @ LCA 2014

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

Many conductors, Many drivers

→ advertise supported drivers→ nodes mapped across cluster→ distributed lock

Page 49: Ironic summary @ LCA 2014

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

Many conductors, Many drivers

→ advertise supported drivers→ nodes mapped across cluster→ distributed lock→ RPC layer routes requests

pend

ing co

de re

view!

Page 50: Ironic summary @ LCA 2014

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

If the cluster changes?

Page 51: Ironic summary @ LCA 2014

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

If the cluster changes?

→ consistent hash updates

pend

ing c

ode r

eview

!

Page 52: Ironic summary @ LCA 2014

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

If the cluster changes?

→ consistent hash updates→ node(s) re-mapped to conductors

pend

ing co

de re

view!

Page 53: Ironic summary @ LCA 2014

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

If the cluster changes?

→ consistent hash updates→ node(s) re-mapped to conductors→ take-over hooks fire

pend

ing co

de re

view!

Page 54: Ironic summary @ LCA 2014

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

Yep. Still some work to do...

Page 55: Ironic summary @ LCA 2014

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

Questions?

Page 56: Ironic summary @ LCA 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