ironic summary @ lca 2014

Post on 06-May-2015

681 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

OpenStack's Baremetal provisioning service

Devananda van der VeenHP Cloud

Twitter: @devanandaEmail: devananda.vdv@gmail.com

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

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

© 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

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

Nova changes

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

Nova changes

→ second database backend

© 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

© 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

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

Very promising, but ...

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

Also very limited.

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

Also very limited.

→ HA is external

© 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

© 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

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

So...

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

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

Ironic™

commit 84a7dc47e2f666ff11b5816387b7ada2371e48c2Author: Monty Taylor <mordred@inaugust.com>Date: Thu May 2 14:50:57 2013 -0400

Added project infrastructure needs.

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

Time goes by...

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

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

Openstack is not a virtualization layer.

© 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.

© 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

© 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

© 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, ...

© 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?

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

No hypervisor!

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

No hypervisor = giant security hole!

© 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

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

Driver Interface

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

Driver Interface

→ three classes of interface

© 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

© 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

© 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

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

Driver Interface

→ core interfaces

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

Driver Interface

→ core interfaces → power

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

Driver Interface

→ core interfaces → power → deploy

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

Driver Interface

→ common interfaces

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

Driver Interface

→ common interfaces → console

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

Driver Interface

→ common interfaces → console → rescue

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

Driver Interface

→ vendor interface

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

Driver Interface

→ vendor interface → firmware?

© 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?

© 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?

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

Architecture

© 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!

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

Many conductors, Many drivers

© 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

© 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

© 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

© 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!

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

If the cluster changes?

© 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

!

© 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!

© 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!

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

Yep. Still some work to do...

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

Questions?

© 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

top related