SlideShare a Scribd company logo
OpenStack in 10 minutes 
with DevStack 
Sean Dague / Aug 20th, 2014 
Twitter: @sdague 
Blog: dague.net 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
OpenStack – A Constellation of IaaS Services 
Horizon 
Swift CCiinnddeerr Neutron 
Nova 
Glance 
Keystone 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 2 without notice. 
Ceilometer 
Heat 
Sahara 
Trove
Installing OpenStack from Source 
● Project Git Trees: 30 - 40 
● Python Dependencies: 50 – 100 
● Linux Distro Dependencies: > 100 
● Databases: 5 – 10 
● Configuration Changes to System: … a lot 
Not a Journey for the faint of heart 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 3 without notice.
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 4 without notice. 
● Written in Bash 
● Prompts for 5 passwords 
● Sane defaults for all else 
● Supports latest master + 
supported stable branches 
● Core part of OpenStack's 
testing infrastructure 
● Core part of OpenStack 
developer workflow
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 5 without notice. Let's kick off a DevStack run...
What DevStack Does 
● Installing all prereq software via packages or pip 
● Installing all OpenStack software via git to latest master 
● Configuring and installing working database schema 
● Configuring hypervisor, storage backends, networks 
● Creating service ids and service catalog entries to connect all components 
● Starting all OpenStack services under screen (for easy hot fix) 
● Creating Apache configuration for web dashboard available at 127.0.0.1 
● Creates working Tempest config in /opt/stack/tempest 
WARNING: DevStack will massively modify your OS. Do not run on a laptop. 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 6 without notice.
OpenStack as Layers (Compute Centric View) 
Layer 4: Consumption Services 
Heat Trove Sahara 
Orchestration Database Hadoop Queues 
Layer 3: Optional Enhancements 
Ceilometer Horizon 
Telemetry Dashboard Key Management 
Layer 2: Extended Infrastructure 
Storage Services Network Services Compute Services 
Layer 1: Base Compute Infrastructure 
Nova Glance Keystone 
Marconi 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 7 without notice. 
Ironic 
Barbican 
Compute Image 
Bare Metal 
Neutron Designate 
Networking DNS 
Cinder Swift 
Block Object 
Identity 
Integrated 
Incubated 
http://hackstack.org/x/blog/2013/09/05/openstack-seven-layer-dip-as-a-service/
Alternate Compositions 
Layer 4: Consumption Services 
Heat Trove Sahara 
Orchestration Database Hadoop Queues 
Layer 3: Optional Enhancements 
Ceilometer Horizon 
Telemetry Dashboard Key Management 
Layer 2: Extended Infrastructure 
Storage Services Network Services Compute Services 
Layer 1: Base Compute Infrastructure 
Nova Glance 
Marconi 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 8 without notice. 
Ironic 
Barbican 
Compute Image 
Bare Metal 
Neutron Designate 
Networking DNS 
Swift 
Object 
Keystone 
Identity 
Cinder 
Block
OpenStack Services – Management Glue 
● OpenStack Services as Management Plane 
● Example: Keystone – Identity Services 
– Provides REST API over existing auth systems 
– Generates Tokens (with expiration) for User + Action in OpenStack Cloud 
– Additional Metadata / Grouping for cloud operations 
– Service Catalog to be able to discover all OpenStack end points beyond Keystone 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 9 without notice.
Queue Pattern in OpenStack (Creating a Compute Server) 
Nova API Keystone Nova Sched Glance Nova Conductor Nova Compute 
Database interaction 
REST interaction 
RPC (AMQP) interaction 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 10 without notice.
Watching it in Real Time 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 11 without notice.
Hacking with DevStack 
● Edit code in /opt/stack 
– Be careful about devstack overwriting things, safer to use local branches 
● Connect to screen: screen -rd stack 
● Find service you want restarted 
– Ctrl-C 
– Up Arrow 
– Enter 
● Voila! Your changes are now running. 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 12 without notice.
Customizing DevStack further – when the defaults aren't enough 
devstack/localrc – basic devstack configuration 
ADMIN_PASSWORD=0penstack 
API_RATE_LIMIT=False 
LOGDAYS=1 
LOGFILE=$DEST/logs/stack.sh.log 
MYSQL_PASSWORD=superstack 
RABBIT_HOST=localhost 
RABBIT_PASSWORD=superstack 
SCREEN_LOGDIR=$DEST/logs/screen 
SCREEN_NAME=${SCREEN_NAME:-stack} 
SERVICE_PASSWORD=$ADMIN_PASSWORD 
SERVICE_TOKEN=cd0d1a03-b701-4fcb-801a-8b4d0bc3d06e 
STACK_LOG=stack.sh.log 
VOLUME_BACKING_FILE_SIZE=10000M 
HEAT_CFN_IMAGE_URL="" 
enable_service s-account s-container s-object s-proxy 
SWIFT_HASH=8213897fads879789asdf789 
SWIFT_REPLICAS=1 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 13 without notice.
Devstack Defaults 
Layer 4: Consumption Services 
Trove Sahara 
Database Hadoop Queues 
Heat 
Orchestration 
Layer 3: Optional Enhancements 
Ceilometer 
Telemetry Key Management 
Layer 2: Extended Infrastructure 
Storage Services Network Services Compute Services 
Layer 1: Base Compute Infrastructure 
Marconi 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 14 without notice. 
Ironic 
Barbican 
Bare Metal 
Neutron Designate 
Networking DNS 
Swift 
Object 
Keystone 
Identity 
Cinder 
Block 
Horizon 
Dashboard 
Nova Glance 
Compute Image
And if you need more specifics – local.conf 
[[local|localrc]] 
DATABASE_PASSWORD=pass 
RABBIT_PASSWORD=pass 
SERVICE_TOKEN=pass 
SERVICE_PASSWORD=pass 
ADMIN_PASSWORD=pass 
MULTI_HOST="True" 
API_RATE_LIMIT="False" 
RECLONE="True" 
LOGFILE=/opt/stack/logs/stack.sh.log 
VERBOSE=True 
LOG_COLOR=True 
SCREEN_LOGDIR=/opt/stack/logs 
[[post-config|$NOVA_CONF]] 
[DEFAULT] 
flat_interface = eth1 
vlan_interface = eth1 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 15 without notice. 
Pass through variables
Caveat Developer 
● 4G memory recommended 
– 8G VMs used in OpenStack testing 
● Can run in a VM 
– 2nd Level guests will be slow, but cirros works ok 
● Be extremely careful with changes in /opt/stack 
● Does not reclone git trees by default 
● If all else goes wrong... ./clean.sh should fix it 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 16 without notice.
DevStack doesn't support my particular desired config, what do I do? 
● A good change to DevStack 
– Generally useful configs 
– Not just pass through variables that could be specified via local.conf 
– Fits current architecture 
● Reviewed through review.openstack.org 
– Small review team, please be patient 
– Small patches much better than large ones 
– Questions can be asked on #openstack-qa on freenode.net 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 17 without notice.
Related Projects 
● openstack-dev/devstack-vagrant 
– Vagrant configuration to make DevStack deployment into a VM even easier 
● openstack-dev/grenade 
– Upgrade testing for OpenStack that consumes devstack as a library 
● openstack-infra/devstack-gate 
– Setup tool for building the devstack based configurations we test with in OpenStack 
● openstack-dev/bashate 
– bash style enforcement tool (inspired by pep8) used by bash projects in OpenStack 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 18 without notice.
Thanks! 
Layer 4: Consumption Services 
Heat Trove Sahara 
Orchestration Database Hadoop Queues 
Layer 3: Optional Enhancements 
Ceilometer Horizon 
Telemetry Dashboard Key Management 
Layer 2: Extended Infrastructure 
Storage Services Network Services Compute Services 
Layer 1: Base Compute Infrastructure 
Nova Glance Keystone 
Marconi 
© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 19 without notice. 
Ironic 
Barbican 
Compute Image 
Bare Metal 
Neutron Designate 
Networking DNS 
Cinder Swift 
Block Object 
Identity 
Integrated 
Incubated 
http://hackstack.org/x/blog/2013/09/05/openstack-seven-layer-dip-as-a-service/ 
Questions?

More Related Content

What's hot

Dev stacklabguide
Dev stacklabguideDev stacklabguide
Dev stacklabguide
openstackcisco
 
[Open infra] how to calculate the cloud system operating rate
[Open infra] how to calculate the cloud system operating rate[Open infra] how to calculate the cloud system operating rate
[Open infra] how to calculate the cloud system operating rate
Nalee Jang
 
Kubernetes installation
Kubernetes installationKubernetes installation
Kubernetes installation
Ahmed Mekawy
 
DevStack: A developers cloud in a box.
DevStack: A developers cloud in a box.DevStack: A developers cloud in a box.
DevStack: A developers cloud in a box.
openstackindia
 
Geek Week 2016 - Deep Dive To Openstack
Geek Week 2016 -  Deep Dive To OpenstackGeek Week 2016 -  Deep Dive To Openstack
Geek Week 2016 - Deep Dive To Openstack
Haim Ateya
 
Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12
Vietnam Open Infrastructure User Group
 
Open stack day 2014 havana from grizzly
Open stack day 2014 havana from grizzlyOpen stack day 2014 havana from grizzly
Open stack day 2014 havana from grizzly
Choe Cheng-Dae
 
Container Orchestration Integration: OpenStack Kuryr
Container Orchestration Integration: OpenStack KuryrContainer Orchestration Integration: OpenStack Kuryr
Container Orchestration Integration: OpenStack Kuryr
Taku Fukushima
 
Openstack Study Nova 1
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1
Jinho Shin
 
[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting
Open Source Consulting
 
Docker Security Overview
Docker Security OverviewDocker Security Overview
Docker Security Overview
Sreenivas Makam
 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes Networking
CJ Cullen
 
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStackAutomated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
NTT Communications Technology Development
 
Musings on Mesos: Docker, Kubernetes, and Beyond.
Musings on Mesos: Docker, Kubernetes, and Beyond.Musings on Mesos: Docker, Kubernetes, and Beyond.
Musings on Mesos: Docker, Kubernetes, and Beyond.
Timothy St. Clair
 
OpenShift v3 Internal networking details
OpenShift v3 Internal networking detailsOpenShift v3 Internal networking details
OpenShift v3 Internal networking details
Etsuji Nakai
 
Docker 1.5
Docker 1.5Docker 1.5
Docker 1.5
rajdeep
 
Integrate Openshift with Cloudforms
Integrate Openshift with CloudformsIntegrate Openshift with Cloudforms
Integrate Openshift with Cloudforms
Michael Lessard
 
How Helm, The Package Manager For Kubernetes, Works
How Helm, The Package Manager For Kubernetes, WorksHow Helm, The Package Manager For Kubernetes, Works
How Helm, The Package Manager For Kubernetes, Works
Matthew Farina
 
Performance Benchmarking of Clouds Evaluating OpenStack
Performance Benchmarking of Clouds                Evaluating OpenStackPerformance Benchmarking of Clouds                Evaluating OpenStack
Performance Benchmarking of Clouds Evaluating OpenStack
Pradeep Kumar
 
Introduction to ZooKeeper - TriHUG May 22, 2012
Introduction to ZooKeeper - TriHUG May 22, 2012Introduction to ZooKeeper - TriHUG May 22, 2012
Introduction to ZooKeeper - TriHUG May 22, 2012
mumrah
 

What's hot (20)

Dev stacklabguide
Dev stacklabguideDev stacklabguide
Dev stacklabguide
 
[Open infra] how to calculate the cloud system operating rate
[Open infra] how to calculate the cloud system operating rate[Open infra] how to calculate the cloud system operating rate
[Open infra] how to calculate the cloud system operating rate
 
Kubernetes installation
Kubernetes installationKubernetes installation
Kubernetes installation
 
DevStack: A developers cloud in a box.
DevStack: A developers cloud in a box.DevStack: A developers cloud in a box.
DevStack: A developers cloud in a box.
 
Geek Week 2016 - Deep Dive To Openstack
Geek Week 2016 -  Deep Dive To OpenstackGeek Week 2016 -  Deep Dive To Openstack
Geek Week 2016 - Deep Dive To Openstack
 
Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12
 
Open stack day 2014 havana from grizzly
Open stack day 2014 havana from grizzlyOpen stack day 2014 havana from grizzly
Open stack day 2014 havana from grizzly
 
Container Orchestration Integration: OpenStack Kuryr
Container Orchestration Integration: OpenStack KuryrContainer Orchestration Integration: OpenStack Kuryr
Container Orchestration Integration: OpenStack Kuryr
 
Openstack Study Nova 1
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1
 
[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting
 
Docker Security Overview
Docker Security OverviewDocker Security Overview
Docker Security Overview
 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes Networking
 
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStackAutomated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
 
Musings on Mesos: Docker, Kubernetes, and Beyond.
Musings on Mesos: Docker, Kubernetes, and Beyond.Musings on Mesos: Docker, Kubernetes, and Beyond.
Musings on Mesos: Docker, Kubernetes, and Beyond.
 
OpenShift v3 Internal networking details
OpenShift v3 Internal networking detailsOpenShift v3 Internal networking details
OpenShift v3 Internal networking details
 
Docker 1.5
Docker 1.5Docker 1.5
Docker 1.5
 
Integrate Openshift with Cloudforms
Integrate Openshift with CloudformsIntegrate Openshift with Cloudforms
Integrate Openshift with Cloudforms
 
How Helm, The Package Manager For Kubernetes, Works
How Helm, The Package Manager For Kubernetes, WorksHow Helm, The Package Manager For Kubernetes, Works
How Helm, The Package Manager For Kubernetes, Works
 
Performance Benchmarking of Clouds Evaluating OpenStack
Performance Benchmarking of Clouds                Evaluating OpenStackPerformance Benchmarking of Clouds                Evaluating OpenStack
Performance Benchmarking of Clouds Evaluating OpenStack
 
Introduction to ZooKeeper - TriHUG May 22, 2012
Introduction to ZooKeeper - TriHUG May 22, 2012Introduction to ZooKeeper - TriHUG May 22, 2012
Introduction to ZooKeeper - TriHUG May 22, 2012
 

Similar to OpenStack in 10 minutes with Devstack

Open stackbrief happylearning
Open stackbrief happylearningOpen stackbrief happylearning
Open stackbrief happylearning
Ligong Duan
 
OpenStack Heat
OpenStack HeatOpenStack Heat
OpenStack Heat
openstackindia
 
OpenStack State of Fibre Channel
OpenStack State of Fibre ChannelOpenStack State of Fibre Channel
OpenStack State of Fibre Channel
hemna6969
 
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Community
 
Hp moonshot Server
Hp moonshot Server Hp moonshot Server
Hp moonshot Server
성호 윤
 
101b-3
101b-3101b-3
101b-3
Terence Tsao
 
20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting
Wei Ting Chen
 
Apache Deep Learning 201 - Philly Open Source
Apache Deep Learning 201 - Philly Open SourceApache Deep Learning 201 - Philly Open Source
Apache Deep Learning 201 - Philly Open Source
Timothy Spann
 
DR_PRESENT 1
DR_PRESENT 1DR_PRESENT 1
DR_PRESENT 1
Ahmed Salman
 
Core os dna_automacon
Core os dna_automaconCore os dna_automacon
Core os dna_automacon
Patrick Galbraith
 
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016
StackIQ
 
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
OpenStack Korea Community
 
Apache Ambari BOF - OpenStack - Hadoop Summit 2013
Apache Ambari BOF - OpenStack - Hadoop Summit 2013Apache Ambari BOF - OpenStack - Hadoop Summit 2013
Apache Ambari BOF - OpenStack - Hadoop Summit 2013
Hortonworks
 
Triple o 를 이용한 빠르고 쉬운 open stack 설치
Triple o 를 이용한 빠르고 쉬운 open stack 설치Triple o 를 이용한 빠르고 쉬운 open stack 설치
Triple o 를 이용한 빠르고 쉬운 open stack 설치
SangWook Byun
 
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
OpenStack Korea Community
 
Learn OpenStack from trystack.cn
Learn OpenStack from trystack.cnLearn OpenStack from trystack.cn
Learn OpenStack from trystack.cn
OpenCity Community
 
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS CloudCI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
Simon McCartney
 
PaaS on Openstack
PaaS on OpenstackPaaS on Openstack
PaaS on Openstack
Open Stack
 
Elastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStackElastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStack
Mats Kindahl
 
Introduction openstack-meetup-nov-28
Introduction openstack-meetup-nov-28Introduction openstack-meetup-nov-28
Introduction openstack-meetup-nov-28
Sadique Puthen
 

Similar to OpenStack in 10 minutes with Devstack (20)

Open stackbrief happylearning
Open stackbrief happylearningOpen stackbrief happylearning
Open stackbrief happylearning
 
OpenStack Heat
OpenStack HeatOpenStack Heat
OpenStack Heat
 
OpenStack State of Fibre Channel
OpenStack State of Fibre ChannelOpenStack State of Fibre Channel
OpenStack State of Fibre Channel
 
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
 
Hp moonshot Server
Hp moonshot Server Hp moonshot Server
Hp moonshot Server
 
101b-3
101b-3101b-3
101b-3
 
20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting
 
Apache Deep Learning 201 - Philly Open Source
Apache Deep Learning 201 - Philly Open SourceApache Deep Learning 201 - Philly Open Source
Apache Deep Learning 201 - Philly Open Source
 
DR_PRESENT 1
DR_PRESENT 1DR_PRESENT 1
DR_PRESENT 1
 
Core os dna_automacon
Core os dna_automaconCore os dna_automacon
Core os dna_automacon
 
Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016Introduction to Stacki at Atlanta Meetup February 2016
Introduction to Stacki at Atlanta Meetup February 2016
 
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
 
Apache Ambari BOF - OpenStack - Hadoop Summit 2013
Apache Ambari BOF - OpenStack - Hadoop Summit 2013Apache Ambari BOF - OpenStack - Hadoop Summit 2013
Apache Ambari BOF - OpenStack - Hadoop Summit 2013
 
Triple o 를 이용한 빠르고 쉬운 open stack 설치
Triple o 를 이용한 빠르고 쉬운 open stack 설치Triple o 를 이용한 빠르고 쉬운 open stack 설치
Triple o 를 이용한 빠르고 쉬운 open stack 설치
 
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
 
Learn OpenStack from trystack.cn
Learn OpenStack from trystack.cnLearn OpenStack from trystack.cn
Learn OpenStack from trystack.cn
 
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS CloudCI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
 
PaaS on Openstack
PaaS on OpenstackPaaS on Openstack
PaaS on Openstack
 
Elastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStackElastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStack
 
Introduction openstack-meetup-nov-28
Introduction openstack-meetup-nov-28Introduction openstack-meetup-nov-28
Introduction openstack-meetup-nov-28
 

Recently uploaded

Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Envertis Software Solutions
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 

Recently uploaded (20)

Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 

OpenStack in 10 minutes with Devstack

  • 1. OpenStack in 10 minutes with DevStack Sean Dague / Aug 20th, 2014 Twitter: @sdague Blog: dague.net © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  • 2. OpenStack – A Constellation of IaaS Services Horizon Swift CCiinnddeerr Neutron Nova Glance Keystone © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 2 without notice. Ceilometer Heat Sahara Trove
  • 3. Installing OpenStack from Source ● Project Git Trees: 30 - 40 ● Python Dependencies: 50 – 100 ● Linux Distro Dependencies: > 100 ● Databases: 5 – 10 ● Configuration Changes to System: … a lot Not a Journey for the faint of heart © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 3 without notice.
  • 4. © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 4 without notice. ● Written in Bash ● Prompts for 5 passwords ● Sane defaults for all else ● Supports latest master + supported stable branches ● Core part of OpenStack's testing infrastructure ● Core part of OpenStack developer workflow
  • 5. © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 5 without notice. Let's kick off a DevStack run...
  • 6. What DevStack Does ● Installing all prereq software via packages or pip ● Installing all OpenStack software via git to latest master ● Configuring and installing working database schema ● Configuring hypervisor, storage backends, networks ● Creating service ids and service catalog entries to connect all components ● Starting all OpenStack services under screen (for easy hot fix) ● Creating Apache configuration for web dashboard available at 127.0.0.1 ● Creates working Tempest config in /opt/stack/tempest WARNING: DevStack will massively modify your OS. Do not run on a laptop. © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 6 without notice.
  • 7. OpenStack as Layers (Compute Centric View) Layer 4: Consumption Services Heat Trove Sahara Orchestration Database Hadoop Queues Layer 3: Optional Enhancements Ceilometer Horizon Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Storage Services Network Services Compute Services Layer 1: Base Compute Infrastructure Nova Glance Keystone Marconi © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 7 without notice. Ironic Barbican Compute Image Bare Metal Neutron Designate Networking DNS Cinder Swift Block Object Identity Integrated Incubated http://hackstack.org/x/blog/2013/09/05/openstack-seven-layer-dip-as-a-service/
  • 8. Alternate Compositions Layer 4: Consumption Services Heat Trove Sahara Orchestration Database Hadoop Queues Layer 3: Optional Enhancements Ceilometer Horizon Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Storage Services Network Services Compute Services Layer 1: Base Compute Infrastructure Nova Glance Marconi © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 8 without notice. Ironic Barbican Compute Image Bare Metal Neutron Designate Networking DNS Swift Object Keystone Identity Cinder Block
  • 9. OpenStack Services – Management Glue ● OpenStack Services as Management Plane ● Example: Keystone – Identity Services – Provides REST API over existing auth systems – Generates Tokens (with expiration) for User + Action in OpenStack Cloud – Additional Metadata / Grouping for cloud operations – Service Catalog to be able to discover all OpenStack end points beyond Keystone © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 9 without notice.
  • 10. Queue Pattern in OpenStack (Creating a Compute Server) Nova API Keystone Nova Sched Glance Nova Conductor Nova Compute Database interaction REST interaction RPC (AMQP) interaction © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 10 without notice.
  • 11. Watching it in Real Time © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 11 without notice.
  • 12. Hacking with DevStack ● Edit code in /opt/stack – Be careful about devstack overwriting things, safer to use local branches ● Connect to screen: screen -rd stack ● Find service you want restarted – Ctrl-C – Up Arrow – Enter ● Voila! Your changes are now running. © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 12 without notice.
  • 13. Customizing DevStack further – when the defaults aren't enough devstack/localrc – basic devstack configuration ADMIN_PASSWORD=0penstack API_RATE_LIMIT=False LOGDAYS=1 LOGFILE=$DEST/logs/stack.sh.log MYSQL_PASSWORD=superstack RABBIT_HOST=localhost RABBIT_PASSWORD=superstack SCREEN_LOGDIR=$DEST/logs/screen SCREEN_NAME=${SCREEN_NAME:-stack} SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=cd0d1a03-b701-4fcb-801a-8b4d0bc3d06e STACK_LOG=stack.sh.log VOLUME_BACKING_FILE_SIZE=10000M HEAT_CFN_IMAGE_URL="" enable_service s-account s-container s-object s-proxy SWIFT_HASH=8213897fads879789asdf789 SWIFT_REPLICAS=1 © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 13 without notice.
  • 14. Devstack Defaults Layer 4: Consumption Services Trove Sahara Database Hadoop Queues Heat Orchestration Layer 3: Optional Enhancements Ceilometer Telemetry Key Management Layer 2: Extended Infrastructure Storage Services Network Services Compute Services Layer 1: Base Compute Infrastructure Marconi © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 14 without notice. Ironic Barbican Bare Metal Neutron Designate Networking DNS Swift Object Keystone Identity Cinder Block Horizon Dashboard Nova Glance Compute Image
  • 15. And if you need more specifics – local.conf [[local|localrc]] DATABASE_PASSWORD=pass RABBIT_PASSWORD=pass SERVICE_TOKEN=pass SERVICE_PASSWORD=pass ADMIN_PASSWORD=pass MULTI_HOST="True" API_RATE_LIMIT="False" RECLONE="True" LOGFILE=/opt/stack/logs/stack.sh.log VERBOSE=True LOG_COLOR=True SCREEN_LOGDIR=/opt/stack/logs [[post-config|$NOVA_CONF]] [DEFAULT] flat_interface = eth1 vlan_interface = eth1 © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 15 without notice. Pass through variables
  • 16. Caveat Developer ● 4G memory recommended – 8G VMs used in OpenStack testing ● Can run in a VM – 2nd Level guests will be slow, but cirros works ok ● Be extremely careful with changes in /opt/stack ● Does not reclone git trees by default ● If all else goes wrong... ./clean.sh should fix it © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 16 without notice.
  • 17. DevStack doesn't support my particular desired config, what do I do? ● A good change to DevStack – Generally useful configs – Not just pass through variables that could be specified via local.conf – Fits current architecture ● Reviewed through review.openstack.org – Small review team, please be patient – Small patches much better than large ones – Questions can be asked on #openstack-qa on freenode.net © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 17 without notice.
  • 18. Related Projects ● openstack-dev/devstack-vagrant – Vagrant configuration to make DevStack deployment into a VM even easier ● openstack-dev/grenade – Upgrade testing for OpenStack that consumes devstack as a library ● openstack-infra/devstack-gate – Setup tool for building the devstack based configurations we test with in OpenStack ● openstack-dev/bashate – bash style enforcement tool (inspired by pep8) used by bash projects in OpenStack © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 18 without notice.
  • 19. Thanks! Layer 4: Consumption Services Heat Trove Sahara Orchestration Database Hadoop Queues Layer 3: Optional Enhancements Ceilometer Horizon Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Storage Services Network Services Compute Services Layer 1: Base Compute Infrastructure Nova Glance Keystone Marconi © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change 19 without notice. Ironic Barbican Compute Image Bare Metal Neutron Designate Networking DNS Cinder Swift Block Object Identity Integrated Incubated http://hackstack.org/x/blog/2013/09/05/openstack-seven-layer-dip-as-a-service/ Questions?