SlideShare a Scribd company logo
Kyle Mestery
Technical Leader, Office of the Cloud CTO




© 2010 Cisco and/or its affiliates. All rights reserved.   Cisco Confidential   1
What is OpenStack?



© 2010 Cisco and/or its affiliates. All rights reserved.                        Cisco Confidential   2
OpenStack Mission

                 “To produce the ubiquitous open source cloud
                  computing platform that will meet the needs of
                  public and private cloud providers regardless of
                     size, by being simple to implement and
                               massively scalable.”



© 2010 Cisco and/or its affiliates. All rights reserved.             Cisco Confidential   3
• OpenStack is open source software that allows any company to build their own
      public or private cloud
• Sits above the hypervisor and is hypervisor agnostic
           KVM, Xen, Hyper-V, ESX
• Think of it as: “software that powers Amazon’s ECS+S3”.




© 2010 Cisco and/or its affiliates. All rights reserved.                  Cisco Confidential   4
OpenStack Technology
Today (Folsom release)
• Compute Service (Nova)
• Object Storage Service (Swift)
• Image Service (Glance)
• Identity Service (Keystone)
• Dashboard (Horizon)
• Network Service (Quantum)
Also                                                       Releases
• Load Balancer Service (proposed)                         • Cactus (Q1 2011)
• Database Service (proposed)                              • Diablo (Q3 2011)
• Heat API (AWS CloudForms compatible)                     • Essex (Q1 2012)
• Ceilometer monitoring and metering (proposed)            • Folsom (Q3 2012)
                                                           • Grizzly (Q1 2013)

© 2010 Cisco and/or its affiliates. All rights reserved.                         Cisco Confidential   5
OpenStack Community




© 2010 Cisco and/or its affiliates. All rights reserved.   Cisco Confidential   6
What is



© 2010 Cisco and/or its affiliates. All rights reserved.             Cisco Confidential   7
• Quickstart
           http://devstack.org/
           git clone https://github.com/openstack-dev/devstack.git
           cd devstack && ./stack.sh

• Files of note
           localrc: Contains settings for each node running devstack
           stackrc: git repository and branch information




© 2010 Cisco and/or its affiliates. All rights reserved.               Cisco Confidential   8
• A documented shell script to build complete OpenStack development environments

• devstack is written in bash

• Originally created by Rackspace Cloud Builders
           Now maintained by the OpenStack Community

• Supported on both Ubuntu and Fedora Linux

• Able to run in both single and multi-node environments




© 2010 Cisco and/or its affiliates. All rights reserved.                      Cisco Confidential   9
• Intended to allow you to deploy OpenStack in a production environment

• The exact way you would deploy OpenStack in production (but it’s close)

• The way to do a full system qualification of your OpenStack work
           Still need to test things using actual packages for your distribution




© 2010 Cisco and/or its affiliates. All rights reserved.                           Cisco Confidential   10
• Developers working on OpenStack

• Used to test changes and verify they work in a running OpenStack deployment

• Used by the CI system to test changes as they are pushed into gerrit for review

• Used for demos and proof of concept work




© 2010 Cisco and/or its affiliates. All rights reserved.                            Cisco Confidential   11
• devstack will pull code from the upstream OpenStack git repositories and deploy it on
      your host or virtual machine
           devstack is not using operating system packages, but actual git
           Well the OpenStack CI system usually ensures the upstream branches always work, there are no
           warranties here (e.g. buyer beware)

• You can configure devstack to make use of releases other than the master release
           To use Folsom instead of grizzly add this to localrc:
                NOVA_BRANCH=stable/folsom
                CINDER_BRANCH=stable/folsom
                GLANCE_BRANCH=stable/folsom
                KEYSTONE_BRANCH=stable/folsom
                QUANTUM_BRANCH=stable/folsom
                HORIZON_BRANCH=stable/folsom



© 2010 Cisco and/or its affiliates. All rights reserved.                                                  Cisco Confidential   12
• devstack will run on Fedora 16/17/18 or Ubuntu 11.10/12.04/12.10

• Devstack will run equally well either directly on physical hardware or in a virtual machine

• Runs in a VM with whatever virtualization software you are familiar with:
           VMware ESX
           VMware Workstation
           VMware Fusion
           VirtualBox
           KVM
           Xen




© 2010 Cisco and/or its affiliates. All rights reserved.                              Cisco Confidential   13
• “screen” is a software application which can be used to multiplex several virtual consoles

• Allows a user to “attach” to a screen session and “detach” from a screen session

• devstack runs all the OpenStack software in a screen session

• Very handy for debugging your environment, restarting OpenStack processes, and
      connecting back into your devstack host with ssh
• Handy screen commands:
           Next screen: CTRL-A-N
           Previous screen: CTRL-A-P
           Pause the output: CTRL-ESC (scroll around with “vi” commands)
           Un-pause the output: CTRL-ESC again




© 2010 Cisco and/or its affiliates. All rights reserved.                             Cisco Confidential   14
• Lab Proxies cause issues for tools such as git

• IT does provide a socks proxy to help with this issue

• Install a tool called “tsocks” to work around proxy issues

• Alias “git” to “tsocks git” in /etc/bash.bashrc




© 2010 Cisco and/or its affiliates. All rights reserved.       Cisco Confidential   15
• Two virtual machines running inside Vmware Fusion on a Mac
           Both virtual machines running Fedora 17
           One acts as the control and compute node running Nova, Glance, Horizon, and Quantum
           The other acts as a compute node only and runs Nova compute and the OVS Quantum Agent

• Running the very latest OpenStack “Folsom” code from git
           Makes use of changes to localrc I discussed earlier to pull from the stable/folsom branch




© 2010 Cisco and/or its affiliates. All rights reserved.                                               Cisco Confidential   16
OFFLINE=True                                               Q_HOST=$SERVICE_HOST                              # compute service

                                                           Q_USE_NAMESPACE=False                             NOVA_BRANCH=stable/folsom
#RECLONE=yes
                                                           ENABLE_TENANT_TUNNELS=True
disable_service n-net                                                                                        # volume service
                                                           MYSQL_HOST=$SERVICE_HOST
enable_service q-svc                                                                                         CINDER_BRANCH=stable/folsom
                                                           RABBIT_HOST=$SERVICE_HOST
enable_service q-agt                                                                                         # image catalog service
                                                           GLANCE_HOSTPORT=$SERVICE_HOST:9292
enable_service q-dhcp                                      KEYSTONE_AUTH_HOST=$SERVICE_HOST                  GLANCE_BRANCH=stable/folsom

enable_service q-l3                                        KEYSTONE_SERVICE_HOST=$SERVICE_HOST               # unified auth system (manages
                                                                                                             accounts/tokens)
enable_service quantum
                                                           MYSQL_PASSWORD=mysql                              KEYSTONE_BRANCH=stable/folsom
#enable_service ryu
                                                           RABBIT_PASSWORD=rabbit                            # quantum service
HOST_NAME=$(hostname)
                                                           SERVICE_TOKEN=service
SERVICE_HOST_NAME=${HOST_NAME}                                                                               QUANTUM_BRANCH=stable/folsom
                                                           SERVICE_PASSWORD=admin
SERVICE_HOST=192.168.64.188                                                                                  # django powered web control panel for
                                                           ADMIN_PASSWORD=admin                              openstack
FLOATING_RANGE=192.168.100.0/24
                                                                                                             HORIZON_BRANCH=stable/folsom
Q_PLUGIN=openvswitch                                       SCHEDULER=nova.scheduler.simple.SimpleScheduler




© 2010 Cisco and/or its affiliates. All rights reserved.                                                                                              Cisco Confidential   17
OFFLINE=true                                               Q_HOST=$SERVICE_HOST                 # compute service

#RECLONE=yes                                               Q_USE_NAMESPACE=False                NOVA_BRANCH=stable/folsom

disable_all_services                                       ENABLE_TENANT_TUNNELS=True           # volume service

enable_service rabbit n-cpu quantum q-agt                  MYSQL_HOST=$SERVICE_HOST             CINDER_BRANCH=stable/folsom

                                                           RABBIT_HOST=$SERVICE_HOST            # image catalog service

HOST_NAME=$(hostname)
                                                           GLANCE_HOSTPORT=$SERVICE_HOST:9292   GLANCE_BRANCH=stable/folsom

                                                           KEYSTONE_AUTH_HOST=$SERVICE_HOST     # unified auth system (manages
SERVICE_HOST_NAME=km-dhcp-64-188
                                                                                                accounts/tokens)
                                                           KEYSTONE_SERVICE_HOST=$SERVICE_HOS
SERVICE_HOST=192.168.64.188                                T                                    KEYSTONE_BRANCH=stable/folsom

                                                                                                # quantum service
FLOATING_RANGE=192.168.100.0/24                            MYSQL_PASSWORD=mysql
                                                                                                QUANTUM_BRANCH=stable/folsom
Q_PLUGIN=openvswitch                                       RABBIT_PASSWORD=rabbit
                                                                                                # django powered web control panel for
                                                                                                openstack
                                                           SERVICE_TOKEN=service

                                                           SERVICE_PASSWORD=admin               HORIZON_BRANCH=stable/folsom

                                                           ADMIN_PASSWORD=admin


© 2010 Cisco and/or its affiliates. All rights reserved.                                                                                 Cisco Confidential   18
• Running devstack

• Showing all the OpenStack services running

• Interacting via the CLI and Dashboard with OpenStack

• Running virtual machines

• “How to” devstack development




© 2010 Cisco and/or its affiliates. All rights reserved.   Cisco Confidential   19
© 2010 Cisco and/or its affiliates. All rights reserved.   Cisco Confidential   20

More Related Content

PDF
tack Deployment in the Enterprise
PPTX
DevStack
PDF
OpenStack in 10 minutes with Devstack
ODP
OpenStack DevStack Tutorial
PPTX
DevStack: Learn OpenStack by Running OpenStack
ODP
OpenStack DevStack Configuration localrc local.conf Tutorial
PDF
Developing with-devstack
PDF
DevStack: A developers cloud in a box.
tack Deployment in the Enterprise
DevStack
OpenStack in 10 minutes with Devstack
OpenStack DevStack Tutorial
DevStack: Learn OpenStack by Running OpenStack
OpenStack DevStack Configuration localrc local.conf Tutorial
Developing with-devstack
DevStack: A developers cloud in a box.

What's hot (20)

PDF
How to master OpenStack in 2 hours
PDF
Dev stacklabguide
PDF
How to operate containerized OpenStack
ODP
Devstack On Demand
PPTX
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
PDF
[Open infra] how to calculate the cloud system operating rate
PPTX
State of Containers in OpenStack
PDF
Running Docker with OpenStack | Docker workshop #1
PDF
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
PPTX
Cisco UCS loves Kubernetes, Docker and OpenStack Kolla
PDF
Build cloud like Rackspace with OpenStack Ansible
PPTX
OpenStack with OpenDaylight
PPTX
HVX: Virtualizing the Cloud
PDF
Kubernetes installation
PDF
Geek Week 2016 - Deep Dive To Openstack
PDF
Container Orchestration Integration: OpenStack Kuryr
PDF
Storage based on_openstack_mariocho
PDF
Freezer - Vietnam OpenStack Technical Meetup #12
PPTX
CoreOS Overview and Current Status
PDF
Docker and Kubernetes 101 workshop
How to master OpenStack in 2 hours
Dev stacklabguide
How to operate containerized OpenStack
Devstack On Demand
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
[Open infra] how to calculate the cloud system operating rate
State of Containers in OpenStack
Running Docker with OpenStack | Docker workshop #1
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
Cisco UCS loves Kubernetes, Docker and OpenStack Kolla
Build cloud like Rackspace with OpenStack Ansible
OpenStack with OpenDaylight
HVX: Virtualizing the Cloud
Kubernetes installation
Geek Week 2016 - Deep Dive To Openstack
Container Orchestration Integration: OpenStack Kuryr
Storage based on_openstack_mariocho
Freezer - Vietnam OpenStack Technical Meetup #12
CoreOS Overview and Current Status
Docker and Kubernetes 101 workshop
Ad

Viewers also liked (20)

PDF
Devstack lab guide
PPTX
Enhancing OpenStack FWaaS for real world application
PDF
OpenStack: Security Beyond Firewalls
PPTX
Open stack icehouse microsoftupdate
PDF
Designing OpenStack Architectures
PPTX
kamesh Videos
PDF
Dell SUSE Cloud Solution, Powered by OpenStack
PPTX
Triangle OpenStack Meetup
PPTX
vBrownBag OpenStack Networking Talk
PDF
OpenStack Neutron Liberty Updates
PPTX
Open Source Cloud, Virtualization and Deployment Technologies
PDF
Dell openstack cloud with inktank ceph – large scale customer deployment
PPTX
Dockerizing the Hard Services: Neutron and Nova
PPTX
Is OpenStack Neutron production ready for large scale deployments?
PDF
Postgres Plus Cloud Database on OpenStack
PDF
Openstack on Fedora, Fedora on Openstack: An Introduction to cloud IaaS
PPTX
OpenStack: Why Is It Gaining So Much Traction?
PDF
Whats new in neutron for open stack havana
PPTX
Deploying OpenStack Using Docker in Production
PPTX
OCP Serverを用いた OpenStack Containerの検証
Devstack lab guide
Enhancing OpenStack FWaaS for real world application
OpenStack: Security Beyond Firewalls
Open stack icehouse microsoftupdate
Designing OpenStack Architectures
kamesh Videos
Dell SUSE Cloud Solution, Powered by OpenStack
Triangle OpenStack Meetup
vBrownBag OpenStack Networking Talk
OpenStack Neutron Liberty Updates
Open Source Cloud, Virtualization and Deployment Technologies
Dell openstack cloud with inktank ceph – large scale customer deployment
Dockerizing the Hard Services: Neutron and Nova
Is OpenStack Neutron production ready for large scale deployments?
Postgres Plus Cloud Database on OpenStack
Openstack on Fedora, Fedora on Openstack: An Introduction to cloud IaaS
OpenStack: Why Is It Gaining So Much Traction?
Whats new in neutron for open stack havana
Deploying OpenStack Using Docker in Production
OCP Serverを用いた OpenStack Containerの検証
Ad

Similar to OpenStack Development Using devstack (20)

PPTX
Openstack Quantum + Devstack Tutorial
PPTX
Openstack 101
PDF
Shannon McFarland OpenStack/Cisco Intro
PPTX
Devnet 1005 Getting Started with OpenStack
PPT
Shmoocon 2013 - OpenStack Security Brief
PPTX
Why OpenStack on UCS? An Introduction to Red Hat and Cisco OpenStack Solution
PDF
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
PDF
DEVNET-1148 Leveraging Cisco OpenStack Private Cloud for Developers
PPTX
Considerations for Operating an OpenStack Cloud
PPTX
Vagrant, Ansible, and OpenStack on your laptop
PPTX
Openstack Cactus Survey
PPTX
Open stack journey from folsom to grizzly
PPTX
Considerations for Operating An OpenStack Cloud
PDF
Open stack design 2012 applications targeting openstack-final
PPTX
Getting Started with XenServer and OpenStack.pptx
TXT
Havana版 RDO-QuickStart-2 Answer File(answer2.txt)
TXT
Havana版 RDO-QuickStart-1 Answer File(answer1.txt)
TXT
Havana版 RDO-QuickStart-3 Answer File(RDO-QuickStart-3.txt)
PPTX
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
PDF
Bare Metal to OpenStack with Razor and Chef
Openstack Quantum + Devstack Tutorial
Openstack 101
Shannon McFarland OpenStack/Cisco Intro
Devnet 1005 Getting Started with OpenStack
Shmoocon 2013 - OpenStack Security Brief
Why OpenStack on UCS? An Introduction to Red Hat and Cisco OpenStack Solution
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
DEVNET-1148 Leveraging Cisco OpenStack Private Cloud for Developers
Considerations for Operating an OpenStack Cloud
Vagrant, Ansible, and OpenStack on your laptop
Openstack Cactus Survey
Open stack journey from folsom to grizzly
Considerations for Operating An OpenStack Cloud
Open stack design 2012 applications targeting openstack-final
Getting Started with XenServer and OpenStack.pptx
Havana版 RDO-QuickStart-2 Answer File(answer2.txt)
Havana版 RDO-QuickStart-1 Answer File(answer1.txt)
Havana版 RDO-QuickStart-3 Answer File(RDO-QuickStart-3.txt)
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Bare Metal to OpenStack with Razor and Chef

More from mestery (11)

PDF
OVN: Scaleable Virtual Networking for Open vSwitch
PDF
OpenStack Tokyo Summit Keynote Slides
PDF
OpenStack Neutron: What's New In Kilo and a Look Toward Liberty
PDF
OpenStack Neutron Tutorial
PDF
Group Based Policy: Open Source Policy in OpenDaylight and OpenStack Neutron
PDF
Open Source Backends for OpenStack Neutron
PPTX
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
PPT
OpenDaylight Integration with OpenStack Neutron: A Tutorial
PPTX
Next Generation Network Developer Skills
PPTX
Modular Layer 2 In OpenStack Neutron
PPTX
LISP and NSH in Open vSwitch
OVN: Scaleable Virtual Networking for Open vSwitch
OpenStack Tokyo Summit Keynote Slides
OpenStack Neutron: What's New In Kilo and a Look Toward Liberty
OpenStack Neutron Tutorial
Group Based Policy: Open Source Policy in OpenDaylight and OpenStack Neutron
Open Source Backends for OpenStack Neutron
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenDaylight Integration with OpenStack Neutron: A Tutorial
Next Generation Network Developer Skills
Modular Layer 2 In OpenStack Neutron
LISP and NSH in Open vSwitch

Recently uploaded (20)

PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Electronic commerce courselecture one. Pdf
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Monthly Chronicles - July 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
Understanding_Digital_Forensics_Presentation.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Electronic commerce courselecture one. Pdf
Sensors and Actuators in IoT Systems using pdf
GamePlan Trading System Review: Professional Trader's Honest Take
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....

OpenStack Development Using devstack

  • 1. Kyle Mestery Technical Leader, Office of the Cloud CTO © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1
  • 2. What is OpenStack? © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
  • 3. OpenStack Mission “To produce the ubiquitous open source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable.” © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
  • 4. • OpenStack is open source software that allows any company to build their own public or private cloud • Sits above the hypervisor and is hypervisor agnostic KVM, Xen, Hyper-V, ESX • Think of it as: “software that powers Amazon’s ECS+S3”. © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
  • 5. OpenStack Technology Today (Folsom release) • Compute Service (Nova) • Object Storage Service (Swift) • Image Service (Glance) • Identity Service (Keystone) • Dashboard (Horizon) • Network Service (Quantum) Also Releases • Load Balancer Service (proposed) • Cactus (Q1 2011) • Database Service (proposed) • Diablo (Q3 2011) • Heat API (AWS CloudForms compatible) • Essex (Q1 2012) • Ceilometer monitoring and metering (proposed) • Folsom (Q3 2012) • Grizzly (Q1 2013) © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
  • 6. OpenStack Community © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
  • 7. What is © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
  • 8. • Quickstart http://devstack.org/ git clone https://github.com/openstack-dev/devstack.git cd devstack && ./stack.sh • Files of note localrc: Contains settings for each node running devstack stackrc: git repository and branch information © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
  • 9. • A documented shell script to build complete OpenStack development environments • devstack is written in bash • Originally created by Rackspace Cloud Builders Now maintained by the OpenStack Community • Supported on both Ubuntu and Fedora Linux • Able to run in both single and multi-node environments © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
  • 10. • Intended to allow you to deploy OpenStack in a production environment • The exact way you would deploy OpenStack in production (but it’s close) • The way to do a full system qualification of your OpenStack work Still need to test things using actual packages for your distribution © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
  • 11. • Developers working on OpenStack • Used to test changes and verify they work in a running OpenStack deployment • Used by the CI system to test changes as they are pushed into gerrit for review • Used for demos and proof of concept work © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
  • 12. • devstack will pull code from the upstream OpenStack git repositories and deploy it on your host or virtual machine devstack is not using operating system packages, but actual git Well the OpenStack CI system usually ensures the upstream branches always work, there are no warranties here (e.g. buyer beware) • You can configure devstack to make use of releases other than the master release To use Folsom instead of grizzly add this to localrc: NOVA_BRANCH=stable/folsom CINDER_BRANCH=stable/folsom GLANCE_BRANCH=stable/folsom KEYSTONE_BRANCH=stable/folsom QUANTUM_BRANCH=stable/folsom HORIZON_BRANCH=stable/folsom © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
  • 13. • devstack will run on Fedora 16/17/18 or Ubuntu 11.10/12.04/12.10 • Devstack will run equally well either directly on physical hardware or in a virtual machine • Runs in a VM with whatever virtualization software you are familiar with: VMware ESX VMware Workstation VMware Fusion VirtualBox KVM Xen © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
  • 14. • “screen” is a software application which can be used to multiplex several virtual consoles • Allows a user to “attach” to a screen session and “detach” from a screen session • devstack runs all the OpenStack software in a screen session • Very handy for debugging your environment, restarting OpenStack processes, and connecting back into your devstack host with ssh • Handy screen commands: Next screen: CTRL-A-N Previous screen: CTRL-A-P Pause the output: CTRL-ESC (scroll around with “vi” commands) Un-pause the output: CTRL-ESC again © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
  • 15. • Lab Proxies cause issues for tools such as git • IT does provide a socks proxy to help with this issue • Install a tool called “tsocks” to work around proxy issues • Alias “git” to “tsocks git” in /etc/bash.bashrc © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
  • 16. • Two virtual machines running inside Vmware Fusion on a Mac Both virtual machines running Fedora 17 One acts as the control and compute node running Nova, Glance, Horizon, and Quantum The other acts as a compute node only and runs Nova compute and the OVS Quantum Agent • Running the very latest OpenStack “Folsom” code from git Makes use of changes to localrc I discussed earlier to pull from the stable/folsom branch © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
  • 17. OFFLINE=True Q_HOST=$SERVICE_HOST # compute service Q_USE_NAMESPACE=False NOVA_BRANCH=stable/folsom #RECLONE=yes ENABLE_TENANT_TUNNELS=True disable_service n-net # volume service MYSQL_HOST=$SERVICE_HOST enable_service q-svc CINDER_BRANCH=stable/folsom RABBIT_HOST=$SERVICE_HOST enable_service q-agt # image catalog service GLANCE_HOSTPORT=$SERVICE_HOST:9292 enable_service q-dhcp KEYSTONE_AUTH_HOST=$SERVICE_HOST GLANCE_BRANCH=stable/folsom enable_service q-l3 KEYSTONE_SERVICE_HOST=$SERVICE_HOST # unified auth system (manages accounts/tokens) enable_service quantum MYSQL_PASSWORD=mysql KEYSTONE_BRANCH=stable/folsom #enable_service ryu RABBIT_PASSWORD=rabbit # quantum service HOST_NAME=$(hostname) SERVICE_TOKEN=service SERVICE_HOST_NAME=${HOST_NAME} QUANTUM_BRANCH=stable/folsom SERVICE_PASSWORD=admin SERVICE_HOST=192.168.64.188 # django powered web control panel for ADMIN_PASSWORD=admin openstack FLOATING_RANGE=192.168.100.0/24 HORIZON_BRANCH=stable/folsom Q_PLUGIN=openvswitch SCHEDULER=nova.scheduler.simple.SimpleScheduler © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
  • 18. OFFLINE=true Q_HOST=$SERVICE_HOST # compute service #RECLONE=yes Q_USE_NAMESPACE=False NOVA_BRANCH=stable/folsom disable_all_services ENABLE_TENANT_TUNNELS=True # volume service enable_service rabbit n-cpu quantum q-agt MYSQL_HOST=$SERVICE_HOST CINDER_BRANCH=stable/folsom RABBIT_HOST=$SERVICE_HOST # image catalog service HOST_NAME=$(hostname) GLANCE_HOSTPORT=$SERVICE_HOST:9292 GLANCE_BRANCH=stable/folsom KEYSTONE_AUTH_HOST=$SERVICE_HOST # unified auth system (manages SERVICE_HOST_NAME=km-dhcp-64-188 accounts/tokens) KEYSTONE_SERVICE_HOST=$SERVICE_HOS SERVICE_HOST=192.168.64.188 T KEYSTONE_BRANCH=stable/folsom # quantum service FLOATING_RANGE=192.168.100.0/24 MYSQL_PASSWORD=mysql QUANTUM_BRANCH=stable/folsom Q_PLUGIN=openvswitch RABBIT_PASSWORD=rabbit # django powered web control panel for openstack SERVICE_TOKEN=service SERVICE_PASSWORD=admin HORIZON_BRANCH=stable/folsom ADMIN_PASSWORD=admin © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
  • 19. • Running devstack • Showing all the OpenStack services running • Interacting via the CLI and Dashboard with OpenStack • Running virtual machines • “How to” devstack development © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
  • 20. © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20