OpenStack's Baremetal
provisioning service
Devananda van der Veen
HP Cloud
Twitter: @devananda
Email: devananda.vdv@gmail....
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without n...
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without n...
$ cat /etc/nova/nova.conf
…
compute_driver =
BareMetalDriver

© Copyright 2013 Hewlett-Packard Development Company, L.P. T...
Nova changes

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to ch...
Nova changes
→ second database backend

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contain...
Nova changes
→ second database backend
→ incompatible scheduler

© Copyright 2013 Hewlett-Packard Development Company, L.P...
Nova changes
→ second database backend
→ incompatible scheduler
→ extra service

© Copyright 2013 Hewlett-Packard Developm...
Very promising, but ...

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is su...
Also very limited.

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject...
Also very limited.
→ HA is external

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained ...
Also very limited.
→ HA is external
→ only one driver per region

© Copyright 2013 Hewlett-Packard Development Company, L....
Also very limited.
→ HA is external
→ only one driver per region
→ progress blocked

© Copyright 2013 Hewlett-Packard Deve...
So...

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

™

commit 84a7dc47e2f666ff11b5816387b7ada2371e48c2
Author: Monty Taylor <mordred@inaugust.com>
Date:
Thu May 2 14:...
Time goes by...

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to...
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without n...
Openstack is not a virtualization layer.

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information conta...
Openstack is not a virtualization layer.
It's an abstraction layer.

© Copyright 2013 Hewlett-Packard Development Company,...
Openstack is not a virtualization layer.
It's an abstraction layer.
- Daniel Sabbah, CTO @ IBM

© Copyright 2013 Hewlett-P...
“nova boot ...”

nova-api
nova-scheduler
nova-compute

glance

neutron

hypervisors
(libvirt, xen, etc)
etc

© Copyright 2...
“nova boot ...”

nova-api
nova-scheduler
nova-compute
ironic-api
neutron
ironic-conductor
glance

drivers

cinder, swift, ...
Wait a sec... where's the hypervisor?

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information containe...
No hypervisor!

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to ...
No hypervisor = giant security hole!

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained...
Openstack is not a virtualization layer.
It's an abstraction layer.
- Daniel Sabbah, CTO @ IBM

© Copyright 2013 Hewlett-P...
Driver Interface

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject t...
Driver Interface
→ three classes of interface

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information ...
Driver Interface
→ three classes of interface
→ core

© Copyright 2013 Hewlett-Packard Development Company, L.P. The infor...
Driver Interface
→ three classes of interface
→ core
→ common

© Copyright 2013 Hewlett-Packard Development Company, L.P. ...
Driver Interface
→ three classes of interface
→ core
→ common
→ vendor

© Copyright 2013 Hewlett-Packard Development Compa...
Driver Interface
→ core interfaces

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained h...
Driver Interface
→ core interfaces
→ power

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information con...
Driver Interface
→ core interfaces
→ power
→ deploy

© Copyright 2013 Hewlett-Packard Development Company, L.P. The inform...
Driver Interface
→ common interfaces

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained...
Driver Interface
→ common interfaces
→ console

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information...
Driver Interface
→ common interfaces
→ console
→ rescue

© Copyright 2013 Hewlett-Packard Development Company, L.P. The in...
Driver Interface
→ vendor interface

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained ...
Driver Interface
→ vendor interface
→ firmware?

© Copyright 2013 Hewlett-Packard Development Company, L.P. The informatio...
Driver Interface
→ vendor interface
→ firmware?
→ boot-from-volume?

© Copyright 2013 Hewlett-Packard Development Company,...
Driver Interface
→ vendor interface
→ firmware?
→ boot-from-volume?
→ something else?

© Copyright 2013 Hewlett-Packard De...
Architecture

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to ch...
on
ly
!
in
ad
m

Enroll
hardware

RESTful API
RPC

Conductor service(s)
1

2

3

DB
...

© Copyright 2013 Hewlett-Packard ...
Many conductors, Many drivers

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein...
Many conductors, Many drivers
→ advertise supported drivers

© Copyright 2013 Hewlett-Packard Development Company, L.P. Th...
Many conductors, Many drivers
→ advertise supported drivers
→ nodes mapped across cluster

© Copyright 2013 Hewlett-Packar...
Many conductors, Many drivers
→ advertise supported drivers
→ nodes mapped across cluster
→ distributed lock

© Copyright ...
Many conductors, Many drivers

re

vi
e

w
!

advertise supported drivers
nodes mapped across cluster
distributed lock
RPC...
If the cluster changes?

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is su...
re
vi
e

w

!

If the cluster changes?

pe
n

di
n

g

co

de

→ consistent hash updates

© Copyright 2013 Hewlett-Packard...
ie
w

!

If the cluster changes?

pe
n

di
ng

co
d

er
ev

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

©...
er
ev
co
d
di
ng
pe
n

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

ie
w

!

If the...
Yep. Still some work to do...

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein...
Questions?

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to chan...
Thank you
https://launchpad.net/ironic
https://github.com/openstack/ironic
irc.freenode.net
#openstack-ironic
#tripleo

© ...
Upcoming SlideShare
Loading in...5
×

Ironic summary @ LCA 2014

733

Published on

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

Published in: Technology, Business

Ironic summary @ LCA 2014

  1. 1. OpenStack's Baremetal provisioning service Devananda van der Veen HP Cloud Twitter: @devananda Email: devananda.vdv@gmail.com
  2. 2. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  3. 3. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  4. 4. $ 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.
  5. 5. Nova changes © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  6. 6. Nova changes → second database backend © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  7. 7. 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.
  8. 8. 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.
  9. 9. Very promising, but ... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  10. 10. Also very limited. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  11. 11. Also very limited. → HA is external © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  12. 12. 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.
  13. 13. 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.
  14. 14. So... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  15. 15. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  16. 16. Ironic ™ commit 84a7dc47e2f666ff11b5816387b7ada2371e48c2 Author: 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.
  17. 17. Time goes by... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  18. 18. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  19. 19. Openstack is not a virtualization layer. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  20. 20. 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.
  21. 21. 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.
  22. 22. “nova boot ...” nova-api nova-scheduler nova-compute glance neutron hypervisors (libvirt, xen, etc) etc © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  23. 23. “nova boot ...” nova-api nova-scheduler nova-compute ironic-api neutron ironic-conductor glance drivers cinder, swift, ... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  24. 24. 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.
  25. 25. No hypervisor! © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  26. 26. No hypervisor = giant security hole! © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  27. 27. 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.
  28. 28. Driver Interface © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  29. 29. Driver Interface → three classes of interface © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  30. 30. 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.
  31. 31. 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.
  32. 32. 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.
  33. 33. Driver Interface → core interfaces © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  34. 34. Driver Interface → core interfaces → power © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  35. 35. Driver Interface → core interfaces → power → deploy © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  36. 36. Driver Interface → common interfaces © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  37. 37. Driver Interface → common interfaces → console © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  38. 38. Driver Interface → common interfaces → console → rescue © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  39. 39. Driver Interface → vendor interface © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  40. 40. Driver Interface → vendor interface → firmware? © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  41. 41. 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.
  42. 42. 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.
  43. 43. Architecture © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  44. 44. on ly ! in ad m Enroll hardware RESTful API RPC Conductor service(s) 1 2 3 DB ... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  45. 45. Many conductors, Many drivers © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  46. 46. 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.
  47. 47. 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.
  48. 48. 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.
  49. 49. Many conductors, Many drivers re vi e w ! advertise supported drivers nodes mapped across cluster distributed lock RPC layer routes requests pe nd in g co de → → → → © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  50. 50. If the cluster changes? © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  51. 51. re vi e w ! If the cluster changes? pe n di n g co de → consistent hash updates © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  52. 52. ie w ! If the cluster changes? pe n di ng co d er ev → consistent hash updates → node(s) re-mapped to conductors © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  53. 53. er ev co d di ng pe n → consistent hash updates → node(s) re-mapped to conductors → take-over hooks fire ie w ! If the cluster changes? © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  54. 54. Yep. Still some work to do... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  55. 55. Questions? © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  56. 56. Thank you https://launchpad.net/ironic https://github.com/openstack/ironic irc.freenode.net #openstack-ironic #tripleo © Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×