These are the slides from the January 22 and 24, 2013 Chef for OpenStack Hack Days in Boston and New York City. The slides were slightly updated between the 2 days, so I've only uploaded the more recent set.
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Boston/NYC Chef for OpenStack Hack Days
1. Chef for OpenStack
NYC Chef for OpenStack Hack Day
January 24, 2013
Matt Ray
Senior Technical Evangelist
Opscode
Friday, January 25, 13
2. Hack Day Agenda
• Introductions
• Overview & Status of Chef for OpenStack
• Lunch?
• Deep dive topics
• Capture Progress and Roadmap
Friday, January 25, 13
3. Potential Hack Day Topics
• Essex code walk-through • knife-openstack
• Folsom code navigating • OpenStack-Syslog/
Monitoring Resource
• Prerequisites documentation
Providers
(OS, network)
• Using Test-Kitchen with • Testing with desktop
virtualization
OpenStack
• Swift cookbook start • Technical Debt!
• Hyper-V • Building a CI Toolchain
• RHEL/SUSE support • Build from Source
• openstack-commons vs. • Quantum & Networking
osops-utils
Friday, January 25, 13
6. Chef for OpenStack: Why
• Community for the automated deployment
and management of OpenStack
• Reduce fragmentation and encourage
collaboration
• Deploying OpenStack is not "secret sauce"
• Project not a product
• Apache 2 license
Friday, January 25, 13
7. Chef for OpenStack: What
• Chef Repository for Deploying OpenStack
• Documentation for Chef for OpenStack
• Cookbooks
• Keystone
• Glance
• Nova
• Horizon
• Swift
• Quantum
• Cinder
• knife-openstack
Friday, January 25, 13
8. Chef for OpenStack: Where
• groups.google.com/group/opscode-chef-
openstack
• #openstack-chef on irc.freenode.net
• github.com/opscode/openstack-chef-repo
• github.com/mattray/openstack-chef-docs
• github.com/opscode-cookbooks/
• keystone, glance, nova, horizon,
swift,quantum,cinder
• github.com/opscode/knife-openstack
• @chefopenstack
Friday, January 25, 13
9. Chef for OpenStack: When (Today)
• Chef repo for Essex (2012.1.1 tag)
• Operating Systems (Ubuntu 12.04)
• Hypervisors (KVM, LXC)
• Databases (MySQL)
• FlatDHCP HA & VLAN networking
• manual floating IPs documented
• Test Kitchen integration
Friday, January 25, 13
10. Chef for OpenStack: When (Tomorrow)
• Documentation (docs.opscode.com)
• Folsom is under active development
• AT&T, DreamHost and Rackspace have
active branches of shared codebase
• Moving to openstack-common
• Cinder (lvm, Netapp)
• Quantum (Nicira with Open vSwitch)
Friday, January 25, 13
11. Chef for OpenStack When: (Roadmap)
• Documentation (docs.opscode.com)
• Grizzly & trunk(!?)
• Cinder (Ceph)
• Quantum (Midokura)
• Hypervisors (Hyper-V, bare metal)
• Databases (PostgreSQL)
• Operating Systems (RHEL, Debian, SUSE)
• HA Configurations
Friday, January 25, 13
12. Chef for OpenStack: How
github.com/mattray/openstack-chef-docs
moving to
github.com/opscode/chef-docs
Friday, January 25, 13
14. knife openstack
$ knife openstack
Available openstack subcommands: (for details, knife SUB-
COMMAND --help)
** OPENSTACK COMMANDS **
knife openstack flavor list (options)
knife openstack image list (options)
knife openstack server create (options)
knife openstack server delete SERVER [SERVER] (options)
knife openstack server list (options)
Friday, January 25, 13
15. knife openstack flavor list
$ knife openstack flavor list
ID Name Virtual CPUs RAM Disk
1 m1.tiny 1 512 MB 0 GB
2 m1.small 1 2048 MB 10 GB
3 m1.medium 2 4096 MB 10 GB
4 m1.large 4 8192 MB 10 GB
5 m1.xlarge 8 16384 MB 10 GB
Friday, January 25, 13
16. knife openstack image list
$ knife openstack image list
ID Name
4a197431-503d-4b85-b61e-84af21ca8654 cirros-image
f8ebb842-c0c0-4be3-8c4c-f72f48edec50 precise-image
Friday, January 25, 13
17. knife openstack server create
knife openstack server create -a -f 1 -I f8ebb842-c0c0-4be3-8c4c-f72f48edec50
-S local -i ~/.ssh/local.pem -x ubuntu
Friday, January 25, 13
24. Deploying OpenStack
• Chef ties it all together automatically
• Scaling changes how we deploy
• Interchangeable components
• Configurations shared, supported &
documented
• Licensing makes it available to everyone
Friday, January 25, 13
26. AT&T
• github.com/att-cloud/
• primary Folsom merge source
• openstack-common
• cinder (lvm, netapp, rbd)
• lots of support cookbooks
Friday, January 25, 13
27. openstack-common cookbook
• Common setup recipes and attributes
describing OpenStack deployment.
• Libraries for endpoints, databases,
encrypted data bags and passwords
• replacement for osops-utils
• github.com/att-cloud/cookbook-
openstack-common
Friday, January 25, 13
28. Crowbar
• Hardware provisioning and application
management platform
• github.com/crowbar/
• Dell, SUSE, others
• likely Swift cookbook source combined
with Rackspace's
Friday, January 25, 13
30. Rackspace
• Private Cloud: Alamo
• github.com/rcbops/chef-cookbooks
• www.rackspace.com/cloud/private/
• primary Essex merge source
• likely Quantum and Red Hat source
Friday, January 25, 13
31. Chef for OpenStack "Halo Effect"
• Cookbooks reusable outside of OpenStack
• Test Kitchen
• Berkshelf & Librarian
• Spiceweasel
• knife-rackspace/hp/dreamhost
• Crowbar, pxe_dust & Razor
• Arista EOS cookbook
Friday, January 25, 13
32. Nicira Cookbook
• Nicira NVP cookbook
• Open vSwitch cookbook
• Development in progress by Opscode
• Will be open sourced
Friday, January 25, 13
33. Intel Cookbook
• Cookbook to tune performance of Intel
• CPUs
• Motherboards
• Networking
• SSDs
• Development in progress by Opscode
• github.com/mattray/intel-cookbook
Friday, January 25, 13
34. Chef for OpenStack TL;DL
• Opscode.com/openstack
• Project, not a product
• Lots of contributors with real
deployments
• Essex works, Folsom merging
• Features driven by demand
(show up for what you want)
• Documentation with examples
Friday, January 25, 13
35. An Evolving Project
Let's have a
Hack Day!
http://www.flickr.com/photos/16339684@N00/2681435235/
Friday, January 25, 13
36. Potential Hack Day Topics
• Essex code walk-through • knife-openstack
• Folsom code navigating • OpenStack-Syslog/
Monitoring Resource
• Prerequisites documentation
Providers
(OS, network)
• Using Test-Kitchen with • Testing with desktop
virtualization
OpenStack
• Swift cookbook start • Technical Debt!
• Hyper-V • Building a CI Toolchain
• RHEL/SUSE support • Build from Source
• openstack-commons vs. • Quantum & Networking
osops-utils
Friday, January 25, 13
37. Questions?
Matt Ray
matt@opscode.com
Twitter|GitHub|IRC: mattray
Friday, January 25, 13