SlideShare a Scribd company logo
1 of 20
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

What's hot

What's hot (20)

How to master OpenStack in 2 hours
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hours
 
Dev stacklabguide
Dev stacklabguideDev stacklabguide
Dev stacklabguide
 
How to operate containerized OpenStack
How to operate containerized OpenStackHow to operate containerized OpenStack
How to operate containerized OpenStack
 
Devstack On Demand
Devstack On DemandDevstack On Demand
Devstack On Demand
 
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
OpenStack: DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)OpenStack: DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
 
[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
 
State of Containers in OpenStack
State of Containers in OpenStackState of Containers in OpenStack
State of Containers in OpenStack
 
Running Docker with OpenStack | Docker workshop #1
Running Docker with OpenStack | Docker workshop #1Running Docker with OpenStack | Docker workshop #1
Running Docker with OpenStack | Docker workshop #1
 
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
 
Cisco UCS loves Kubernetes, Docker and OpenStack Kolla
Cisco UCS loves Kubernetes, Docker and OpenStack KollaCisco UCS loves Kubernetes, Docker and OpenStack Kolla
Cisco UCS loves Kubernetes, Docker and OpenStack Kolla
 
Build cloud like Rackspace with OpenStack Ansible
Build cloud like Rackspace with OpenStack AnsibleBuild cloud like Rackspace with OpenStack Ansible
Build cloud like Rackspace with OpenStack Ansible
 
OpenStack with OpenDaylight
OpenStack with OpenDaylightOpenStack with OpenDaylight
OpenStack with OpenDaylight
 
HVX: Virtualizing the Cloud
HVX: Virtualizing the CloudHVX: Virtualizing the Cloud
HVX: Virtualizing the Cloud
 
Kubernetes installation
Kubernetes installationKubernetes installation
Kubernetes installation
 
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
 
Container Orchestration Integration: OpenStack Kuryr
Container Orchestration Integration: OpenStack KuryrContainer Orchestration Integration: OpenStack Kuryr
Container Orchestration Integration: OpenStack Kuryr
 
Storage based on_openstack_mariocho
Storage based on_openstack_mariochoStorage based on_openstack_mariocho
Storage based on_openstack_mariocho
 
Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12Freezer - Vietnam OpenStack Technical Meetup #12
Freezer - Vietnam OpenStack Technical Meetup #12
 
CoreOS Overview and Current Status
CoreOS Overview and Current StatusCoreOS Overview and Current Status
CoreOS Overview and Current Status
 
Docker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshopDocker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshop
 

Viewers also liked

Enhancing OpenStack FWaaS for real world application
Enhancing OpenStack FWaaS for real world applicationEnhancing OpenStack FWaaS for real world application
Enhancing OpenStack FWaaS for real world application
openstackindia
 
OpenStack Neutron Liberty Updates
OpenStack Neutron Liberty UpdatesOpenStack Neutron Liberty Updates
OpenStack Neutron Liberty Updates
mestery
 

Viewers also liked (20)

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

Similar to OpenStack Development Using devstack

Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps ApproachAutomating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps Approach
Akshaya Mahapatra
 
From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011
Carlos Sanchez
 

Similar to OpenStack Development Using devstack (20)

Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLONPaul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
 
5. hands on - building local development environment with Open Mano
5. hands on - building local development environment with Open Mano5. hands on - building local development environment with Open Mano
5. hands on - building local development environment with Open Mano
 
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipeline
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipelineKubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipeline
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipeline
 
OSGi Enterprise R6 specs are out! - David Bosschaert & Carsten Ziegeler
OSGi Enterprise R6 specs are out! - David Bosschaert & Carsten ZiegelerOSGi Enterprise R6 specs are out! - David Bosschaert & Carsten Ziegeler
OSGi Enterprise R6 specs are out! - David Bosschaert & Carsten Ziegeler
 
CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014
 
Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps ApproachAutomating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps Approach
 
Philly security shell meetup
Philly security shell meetupPhilly security shell meetup
Philly security shell meetup
 
Openstack Quantum + Devstack Tutorial
Openstack Quantum + Devstack TutorialOpenstack Quantum + Devstack Tutorial
Openstack Quantum + Devstack Tutorial
 
Ansible & CloudStack - Configuration Management
Ansible & CloudStack - Configuration ManagementAnsible & CloudStack - Configuration Management
Ansible & CloudStack - Configuration Management
 
From Dev to DevOps
From Dev to DevOpsFrom Dev to DevOps
From Dev to DevOps
 
From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps - ApacheCON NA 2011
 
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
 
Introduction to telepresence
Introduction to telepresenceIntroduction to telepresence
Introduction to telepresence
 
High Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureHigh Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft Azure
 
Conf2015 d waddle_defense_pointsecurity_deploying_splunksslbestpractices
Conf2015 d waddle_defense_pointsecurity_deploying_splunksslbestpracticesConf2015 d waddle_defense_pointsecurity_deploying_splunksslbestpractices
Conf2015 d waddle_defense_pointsecurity_deploying_splunksslbestpractices
 
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaSAutoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
 
Build HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/HeartbeatBuild HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/Heartbeat
 
Nebulaworks Docker Overview 09-22-2015
Nebulaworks Docker Overview 09-22-2015Nebulaworks Docker Overview 09-22-2015
Nebulaworks Docker Overview 09-22-2015
 
Installation Openstack Swift
Installation Openstack SwiftInstallation Openstack Swift
Installation Openstack Swift
 
One-Man Ops
One-Man OpsOne-Man Ops
One-Man Ops
 

More from mestery

More from mestery (11)

OVN: Scaleable Virtual Networking for Open vSwitch
OVN: Scaleable Virtual Networking for Open vSwitchOVN: Scaleable Virtual Networking for Open vSwitch
OVN: Scaleable Virtual Networking for Open vSwitch
 
OpenStack Tokyo Summit Keynote Slides
OpenStack Tokyo Summit Keynote SlidesOpenStack Tokyo Summit Keynote Slides
OpenStack Tokyo Summit Keynote Slides
 
OpenStack Neutron: What's New In Kilo and a Look Toward Liberty
OpenStack Neutron: What's New In Kilo and a Look Toward LibertyOpenStack Neutron: What's New In Kilo and a Look Toward Liberty
OpenStack Neutron: What's New In Kilo and a Look Toward Liberty
 
OpenStack Neutron Tutorial
OpenStack Neutron TutorialOpenStack Neutron Tutorial
OpenStack Neutron Tutorial
 
Group Based Policy: Open Source Policy in OpenDaylight and OpenStack Neutron
Group Based Policy: Open Source Policy in OpenDaylight and OpenStack NeutronGroup Based Policy: Open Source Policy in OpenDaylight and OpenStack Neutron
Group Based Policy: Open Source Policy in OpenDaylight and OpenStack Neutron
 
Open Source Backends for OpenStack Neutron
Open Source Backends for OpenStack NeutronOpen Source Backends for OpenStack Neutron
Open Source Backends for OpenStack Neutron
 
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
 
OpenDaylight Integration with OpenStack Neutron: A Tutorial
OpenDaylight Integration with OpenStack Neutron: A TutorialOpenDaylight Integration with OpenStack Neutron: A Tutorial
OpenDaylight Integration with OpenStack Neutron: A Tutorial
 
Next Generation Network Developer Skills
Next Generation Network Developer SkillsNext Generation Network Developer Skills
Next Generation Network Developer Skills
 
Modular Layer 2 In OpenStack Neutron
Modular Layer 2 In OpenStack NeutronModular Layer 2 In OpenStack Neutron
Modular Layer 2 In OpenStack Neutron
 
LISP and NSH in Open vSwitch
LISP and NSH in Open vSwitchLISP and NSH in Open vSwitch
LISP and NSH in Open vSwitch
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

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