SlideShare a Scribd company logo
Thursday, January 23, 14
Chef + OpenStack
OpenStack Austin
Matt Ray
January 22, 2014

Thursday, January 23, 14
Introductions
• Matt Ray
• Cloud Integrations Lead
at Chef
• matt@getchef.com
• mattray GitHub|IRC|
Twitter

Thursday, January 23, 14
Overview & Current Status of
Chef for OpenStack
Thursday, January 23, 14
Chef for OpenStack: Project
• Community around the automated deployment and
management of OpenStack
• Reduce fragmentation and increase collaboration
• Deploying OpenStack is not "Secret Sauce"
• Project, not a 'Product'
• Apache 2 License

Thursday, January 23, 14
Community
• #openstack-chef on irc.freenode.net
• groups.google.com/group/opscode-chef-openstack
• @chefopenstack
• Google Hangout weekly status meetings

Thursday, January 23, 14
Who's Involved?
• AT&T

• IBM

• Bluebox

• Korea Telecom

• Chef

• Rackspace

• Dell

• SUSE

• DreamHost

• and many more

• HP

Thursday, January 23, 14
Chef Requirements
• Chef 11
• Ruby 1.9.x
• Foodcritic, Rubocop, ChefSpec for
testing
• attribute-driven by Environments
• platform logic in attributes
• currently packages-only installation
Thursday, January 23, 14
StackForge: Cookbooks
• "Official" OpenStack repositories
• review.openstack.org
• github.com/stackforge/cookbook-openstack-*
• OpenStack services for Havana (and Grizzly) cookbooks
• block-storage, common, compute, dashboard, identity, image, metering,
network, object-storage, orchestration
• Operational support cookbooks
• ops-database, ops-messaging

Thursday, January 23, 14
StackForge: Launchpad
• Blueprints
• https://blueprints.launchpad.net/openstack-chef
• Bugs
• https://bugs.launchpad.net/openstack-chef

Thursday, January 23, 14
StackForge: Deployment
• Chef repository for deploying Havana
• example Environments and Roles
• example "All-in-One" Vagrant deployment
• github.com/stackforge/openstack-chef-repo
• Gated by review.openstack.org
• More single and multi-node testing coming

Thursday, January 23, 14
Reference Implementation
• Deployment examples in documentation
• All-in-One Compute
• Single Controller + N Compute
• more coming
• Will provide example HA configurations
• Operations outside of scope of core repository
• logging, monitoring, provisioning

Thursday, January 23, 14
docs.opscode.com/
openstack.html
Thursday, January 23, 14
Documentation
• docs.opscode.com/openstack.html
• Architecture
• Deployment Prerequisites
• Installation
• Development
• Cookbooks and Repositories
• Example Deployments
• github.com/opscode/chef-docs
• Creative Commons, no CLA required

Thursday, January 23, 14
Example Deployments
• Vagrant "All-in-One" for development/testing
• Developer lab deployment "1+N"
• Single controller, N compute boxes
• 5 boxes, consumer-grade hardware
• Chef production deployment "HA+N"
• HA controller, N compute and storage
• 30 boxes, enterprise-grade hardware

Thursday, January 23, 14
StackForge: Havana Status
• Operating Systems: Ubuntu 12.04, openSUSE 12.3, SLES 11 SP2, RHEL 6
• Databases: DB2, MySQL, SQLite (testing)
• Messaging: Qpid, RabbitMQ
• Compute: KVM, LXC, Qemu
• Network: Nova + Neutron (Open vSwitch)
• Block Storage: LVM, Netapp, others
• Object Storage: Swift
• Dashboard: Apache or Nginx

Thursday, January 23, 14
StackForge: Roadmap
• branching for Icehouse soon
• 'master' move to 'stable-havana'
• Grizzly available in 'stable-grizzly'
• More contributors!

Thursday, January 23, 14
StackForge: Roadmap
• Operating Systems: Debian?
• Databases: Postgres
• Compute: Baremetal, Docker, ESX, Hyper-V,
Xen
• Network: NSX, OpenDaylight
• Block Storage: Ceph
• Object Storage: Ceph
• Source builds via Omnibus
Thursday, January 23, 14
knife-openstack

Thursday, January 23, 14
knife openstack
$ knife openstack
Available openstack subcommands: (for details, knife SUBCOMMAND --help)
** OPENSTACK COMMANDS **
knife openstack flavor list (options)
knife openstack group list (options)
knife openstack image list (options)
knife openstack server create (options)
knife openstack server delete SERVER [SERVER] (options)
knife openstack server list (options)
Thursday, January 23, 14
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

Thursday, January 23, 14
knife openstack group list
$ knife openstack group list
Name

Protocol

From

To

CIDR

Description

default

tcp

22

22

0.0.0.0/0

default

default

icmp

-1

-1

0.0.0.0/0

default

haproxy

tcp

22002

22002

0.0.0.0/0

22022

Thursday, January 23, 14
knife openstack image list
$ knife openstack image list
ID

Name

Snapshot

03860dc3-f4b5-4ecf-bb13-804d6618cf15

canonical-ubuntu-10.04-amd64

no

663656ce-2fe4-4164-b842-214f221cff55

canonical-ubuntu-12.04-amd64

no

ad8a6e48-ea86-4afc-8aee-f427c02eb3ce

canonical-ubuntu-13.04-amd64

no

6efbafc0-fcb1-4623-9f7a-17125bba413a

centos-6.2

no

e0184596-577f-4eb0-9887-d70117c6b77b

debian-6.0.4-amd64

no

Thursday, January 23, 14
knife openstack server list
$ knife openstack server list
Instance ID

Name

Public IP

08f2d9f7-eeb0-45e7-8562-63aed8f096cc

os-45539345723309377

43c6bbf5-b397-4986-8aec-392d955ce5b1

Flavor

Image

Keypair

State

50.56.12.229

2

737969f8-6091-4896-ba9c-f3cf63bd25c5

rs-demo

active

os-9924426691020416

50.56.12.232

2

737969f8-6091-4896-ba9c-f3cf63bd25c5

rs-demo

active

c1b9e3df-e566-4378-8a52-ed998b516608

os-553425714287088

50.56.12.230

2

737969f8-6091-4896-ba9c-f3cf63bd25c5

rs-demo

active

f3edc5da-ef99-4acb-a141-d957e09809e3

os-07459550287500682

50.56.12.231

2

737969f8-6091-4896-ba9c-f3cf63bd25c5

rs-demo

active

Thursday, January 23, 14

Private IP
knife openstack server create
$ knife openstack server create -a -f 2 -I 737969f8-6091-4896-ba9c-f3cf63bd25c5 -S rs-demo -i ~/.ssh/rs-demo.pem -x ubuntu -r "role[base]"
Instance Name: os-45539345723309377
Instance ID: 08f2d9f7-eeb0-45e7-8562-63aed8f096cc

Waiting for server.........
Flavor: 2
Image: 737969f8-6091-4896-ba9c-f3cf63bd25c5
SSH Identity File: /Users/mray/.ssh/rs-demo.pem
SSH Keypair: rs-demo
Public IP Address: 10.241.0.12
Floating IP Address: 50.56.12.229
Waiting for sshd.....done
Bootstrapping Chef on 50.56.12.229
Instance Name: os-45539345723309377
Instance ID: 08f2d9f7-eeb0-45e7-8562-63aed8f096cc
Flavor: 2
Image: 737969f8-6091-4896-ba9c-f3cf63bd25c5
SSH Keypair: rs-demo
Public IP Address: 50.56.12.229
Environment: _default
Run List: role[base]
Thursday, January 23, 14
knife openstack server create

Thursday, January 23, 14
knife openstack Compatibility
• Uses the OpenStack API
• Diablo, Essex, Folsom, Grizzly, Havana, trunk
• Cloudscaling
• Crowbar
• DreamHost
• IBM
• MetaCloud
• Nebula
• Piston
• Rackspace Private Cloud
Thursday, January 23, 14
knife openstack Resources
• knife openstack --help
• docs.opscode.com/
plugin_knife_openstack.html
• github.com/opscode/knife-openstack
• tickets.opscode.com/browse/KNIFE/
component/

Thursday, January 23, 14
knife openstack Roadmap
• Continuous Integration for Opscodesupported knife plugins soon
• Testing against multiple deployments
• 0.9.0: json, API choices, alt networks
• 1.0.0: common knife-cloud base class
• 1.1.0: Network enhancements
• 1.2.0 guid cleanup, other niceties
Thursday, January 23, 14
Vagrant All-in-One Walkthrough
Thursday, January 23, 14
Tools used
•Bento
•JEOS images
•github.com/opscode/bento
•Packer
•image builder
•packer.io
•Chef Zero
•Berkshelf
Thursday, January 23, 14
Vagrantfile
•Vagrant plugins
•vagrant-berkshelf
•vagrant-chef-zero
•vagrant-omnibus
•chef-client provider
•environment = vagrant
•run_list = [ "recipe[apt]", "role[allinonecompute]" ]
Thursday, January 23, 14
Environment

•vagrant setup for all-in-one
•developer_mode = true
•services each have attributes
•network setup

Thursday, January 23, 14
Roles

•allinone-compute
• os-compute-single-controller
• os-compute-worker

Thursday, January 23, 14
os-compute-single-controller
•os-base
•os-ops-database
•openstack-ops-database::openstack-db
•os-ops-messaging
•os-identity
•os-image
•os-network
•...
Thursday, January 23, 14
os-compute-single-controller 2
•os-compute-setup
•os-compute-conductor
•os-compute-scheduler
•os-compute-api
•os-block-storage
•os-compute-cert
•os-compute-vncproxy
•os-dashboard
Thursday, January 23, 14
os-compute-worker

• os-base
• openstack-compute::compute

Thursday, January 23, 14
Dashboard

•http://localhost:8443
•admin/admin

Thursday, January 23, 14
knife-openstack

•Chef Zero creds
•OpenStack creds
•knife openstack ...

Thursday, January 23, 14
Thanks!
Matt Ray
matt@getchef.com
@mattray

Thursday, January 23, 14

More Related Content

PDF
Boston/NYC Chef for OpenStack Hack Days
PDF
Chef & OpenStack: OSCON 2014
PDF
Chef for OpenStack: Grizzly Roadmap
PDF
SCALE12X Build a Cloud Day: Chef: The Swiss Army Knife of Cloud Infrastructure
PDF
Atlanta OpenStack 2014 Chef for OpenStack Deployment Workshop
PDF
TXLF: Chef- Software Defined Infrastructure Today & Tomorrow
PDF
Chef 11 Preview/Chef for OpenStack
PDF
Deploying OpenStack with Chef
Boston/NYC Chef for OpenStack Hack Days
Chef & OpenStack: OSCON 2014
Chef for OpenStack: Grizzly Roadmap
SCALE12X Build a Cloud Day: Chef: The Swiss Army Knife of Cloud Infrastructure
Atlanta OpenStack 2014 Chef for OpenStack Deployment Workshop
TXLF: Chef- Software Defined Infrastructure Today & Tomorrow
Chef 11 Preview/Chef for OpenStack
Deploying OpenStack with Chef

What's hot (19)

PDF
OpenStack Deployment with Chef Workshop
PDF
Chef for OpenStack: OpenStack Spring Summit 2013
PDF
OpenStack Deployments with Chef
PDF
Chef for OpenStack December 2012
PDF
Velocity 2011 Chef OpenStack Workshop
PDF
Managing Complexity at Velocity
PDF
Australian OpenStack User Group August 2012: Chef for OpenStack
PDF
Achieving Infrastructure Portability with Chef
PPTX
Hostvn ceph in production v1.1 dungtq
ODP
Puppet and Apache CloudStack
PDF
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
PDF
SaltConf14 - Anita Kuno, HP & OpenStack - Using SaltStack for event-driven or...
PDF
Introduction openstack-meetup-nov-28
PDF
Apache Cassandra and Go
PDF
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013
PDF
Spark Summit Europe: Building a REST Job Server for interactive Spark as a se...
PDF
London open stack meet up - nov 2015
PDF
Boulder dev ops-meetup-11-2012-rundeck
PDF
Improving Operations Efficiency with Puppet
OpenStack Deployment with Chef Workshop
Chef for OpenStack: OpenStack Spring Summit 2013
OpenStack Deployments with Chef
Chef for OpenStack December 2012
Velocity 2011 Chef OpenStack Workshop
Managing Complexity at Velocity
Australian OpenStack User Group August 2012: Chef for OpenStack
Achieving Infrastructure Portability with Chef
Hostvn ceph in production v1.1 dungtq
Puppet and Apache CloudStack
SaltConf14 - Eric johnson, Google - Orchestrating Google Compute Engine with ...
SaltConf14 - Anita Kuno, HP & OpenStack - Using SaltStack for event-driven or...
Introduction openstack-meetup-nov-28
Apache Cassandra and Go
Deploying VMware vCloud Hybrid Service with Puppet - PuppetConf 2013
Spark Summit Europe: Building a REST Job Server for interactive Spark as a se...
London open stack meet up - nov 2015
Boulder dev ops-meetup-11-2012-rundeck
Improving Operations Efficiency with Puppet
Ad

Similar to OpenStack Austin Meetup January 2014: Chef + OpenStack (20)

PDF
SCALE12X: Chef for OpenStack
PDF
201304 chef for open stack overview
PDF
201304 chef for open stack overview
PDF
LA Chef for OpenStack Hackday
PDF
Chef For OpenStack Overview
PDF
Austin OpenStack Meetup: Chef and OpenStack
PDF
Introduction to Chef
PPTX
Kickstarter - Chef Opswork
PDF
Chef for openstack
ODP
Chef training Day4
PPTX
Chef for Openstack
PDF
Introduction to Chef: Automate Your Infrastructure by Modeling It In Code
PDF
SCALE 2011 Deploying OpenStack with Chef
PDF
What is Chef and how we use it at tripsta
PDF
Bare Metal to OpenStack with Razor and Chef
PDF
Chef - Administration for programmers
PDF
Testable Infrastructure with Chef, Test Kitchen, and Docker
PPTX
Infrastructure modeling with chef
PDF
Chef and Apache CloudStack (ChefConf 2014)
PDF
eSynergy Andy Hawkins - Enabling DevOps through next generation configuration...
SCALE12X: Chef for OpenStack
201304 chef for open stack overview
201304 chef for open stack overview
LA Chef for OpenStack Hackday
Chef For OpenStack Overview
Austin OpenStack Meetup: Chef and OpenStack
Introduction to Chef
Kickstarter - Chef Opswork
Chef for openstack
Chef training Day4
Chef for Openstack
Introduction to Chef: Automate Your Infrastructure by Modeling It In Code
SCALE 2011 Deploying OpenStack with Chef
What is Chef and how we use it at tripsta
Bare Metal to OpenStack with Razor and Chef
Chef - Administration for programmers
Testable Infrastructure with Chef, Test Kitchen, and Docker
Infrastructure modeling with chef
Chef and Apache CloudStack (ChefConf 2014)
eSynergy Andy Hawkins - Enabling DevOps through next generation configuration...
Ad

More from Matt Ray (20)

PDF
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
PDF
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
PDF
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
PDF
HashiTalks 2020 - Chef Tools & Terraform: Better Together
PDF
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
PDF
Wellington DevOps: Bringing Your Applications into the Future with Habitat
PDF
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
PDF
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
PDF
Compliance as Code Everywhere
PDF
DevOpsDays Jakarta: State of DevOps 2018
PDF
DevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
PDF
Infrastructure and Compliance Delight with Chef Automate
PDF
Cooking Up Windows with Chef Automate
PDF
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
PDF
DevOpsDays Singapore Habitat Ignite
PDF
Chef Automate - Azure Sydney User Group
PDF
Automating Compliance with InSpec - AWS North Sydney
PDF
Automating Applications with Habitat - Sydney Cloud Native Meetup
PDF
Automating AWS Compliance with InSpec
PDF
Chef Automate - Infracoders Canberra August 8, 2017
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
SCaLE 20X: Kubernetes Cloud Cost Monitoring with OpenCost & Optimization Stra...
HashiTalks 2020 - Chef Tools & Terraform: Better Together
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
Wellington DevOps: Bringing Your Applications into the Future with Habitat
DevOps Days Singapore 2018 Ignite - Bringing Your Applications into the Futur...
Cloud Expo Asia 20181010 - Bringing Your Applications into the Future with Ha...
Compliance as Code Everywhere
DevOpsDays Jakarta: State of DevOps 2018
DevOps Talks Melbourne 2018: Whales, Cats and Kubernetes
Infrastructure and Compliance Delight with Chef Automate
Cooking Up Windows with Chef Automate
DevOpsDays Singapore - Continuous Auditing with Compliance as Code
DevOpsDays Singapore Habitat Ignite
Chef Automate - Azure Sydney User Group
Automating Compliance with InSpec - AWS North Sydney
Automating Applications with Habitat - Sydney Cloud Native Meetup
Automating AWS Compliance with InSpec
Chef Automate - Infracoders Canberra August 8, 2017

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Cloud computing and distributed systems.
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
A Presentation on Artificial Intelligence
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation_ Review paper, used for researhc scholars
Cloud computing and distributed systems.
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Machine learning based COVID-19 study performance prediction
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Chapter 3 Spatial Domain Image Processing.pdf
A Presentation on Artificial Intelligence
The AUB Centre for AI in Media Proposal.docx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Understanding_Digital_Forensics_Presentation.pptx

OpenStack Austin Meetup January 2014: Chef + OpenStack