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...
$ 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.
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, ...
on
ly
!
in
ad
m

API services

REST

chassis:
optional grouping

RPC

nodes:
status & metadata

Conductor service(s)
1

2
...
request

rpc_thread_pool

worker_thread_pool

TaskManager()
- loads driver
- locks Node
validate request
spawn worker

202...
./api/controllers/v1/           # V1 API
   {chassis,driver,node,port}   # main objects
./cmd/*                         # ...
Driver Interface
→ three classes of interface
→ core
→ common
→ vendor

© Copyright 2013 Hewlett-Packard Development Compa...
Current Drivers
→ PXE
→ IPMI
→ SSH

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained h...
Proposed Drivers
→ HP iLO & 3par
→ AMD SeaMicro

© Copyright 2013 Hewlett-Packard Development Company, L.P. The informatio...
Node locking via TaskManager()
→ all actions on Node guarded by mutex
→ driver loading happens in same context
→ lock back...
Testing locally
→ Emulate hardware with VMs
→ OpenVSwitch & local net bridge
→ Devstack || TripleO

© Copyright 2013 Hewle...
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
×

OpenStack Ironic Project Summary, February 2014

2,310

Published on

Summary of the OpenStack Ironic project, circa Feburary 2014

Published in: Technology
1 Comment
11 Likes
Statistics
Notes
No Downloads
Views
Total Views
2,310
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
104
Comments
1
Likes
11
Embeds 0
No embeds

No notes for slide

OpenStack Ironic Project Summary, February 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. $ 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.
  4. 4. Nova changes © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  5. 5. Nova changes → second database backend © 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 → incompatible scheduler © 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 → extra service © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  8. 8. Very promising, but ... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  9. 9. Also very limited. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  10. 10. Also very limited. → HA is external © 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 → only one driver per region © 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 → progress blocked © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  13. 13. So... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  14. 14. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  15. 15. 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.
  16. 16. Time goes by... © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  17. 17. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  18. 18. 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.
  19. 19. “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.
  20. 20. “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.
  21. 21. on ly ! in ad m API services REST chassis: optional grouping RPC nodes: status & metadata Conductor service(s) 1 2 3 DB ... ports: mac address conductors: heartbeat driver list © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  22. 22. request rpc_thread_pool worker_thread_pool TaskManager() - loads driver - locks Node validate request spawn worker 202 Accepted wake up work... update node status return to pool © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  23. 23. ./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 © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  24. 24. 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.
  25. 25. Current Drivers → PXE → IPMI → SSH © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  26. 26. Proposed Drivers → HP iLO & 3par → AMD SeaMicro © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  27. 27. 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 © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  28. 28. Testing locally → Emulate hardware with VMs → OpenVSwitch & local net bridge → Devstack || TripleO © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  29. 29. Questions? © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  30. 30. 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.

×