OpenStack in 10 minutes with DevStack

Similar documents
Minimal OpenStack Starting Your OpenStack Journey

OpenStack Architecture and Pattern Deployment with Heat. OpenStack Architecture and Pattern Deployment using Heat Ruediger Schulze

Introduction to OpenStack

Red Hat OpenStack Platform 10 Product Guide

Build Cloud like Rackspace with OpenStack Ansible

Introduction To OpenStack. Haim Ateya Group Manager, EMC

Upcoming Services in OpenStack Rohit Agarwalla, Technical DEVNET-1102

OpenStack Mitaka Release Overview

Rolling upgrade Performance between OpenStack Deployed in VMs and Containers

1. What is Cloud Computing (CC)? What are the Pros and Cons of CC? Technologies of CC 27

DEEP DIVE: OPENSTACK COMPUTE

OpenStack Magnum Hands-on. By Saulius Alisauskas and Bryan Havenstein

OpenStack Ceilometer. Tong Li (IBM) Brad Topol (IBM)

HPE Digital Learner OpenStack Content Pack

Pure Storage OpenStack (Liberty) Cinder Driver Best Practices. Simon Dodsley, OpenStack Solutions Architect

"Charting the Course... H8Q14S HPE Helion OpenStack. Course Summary

High Availability for Enterprise Clouds: Oracle Solaris Cluster and OpenStack

Dynamic Resource Allocation and Management Using OpenStack

File system, 199 file trove-guestagent.conf, 40 flavor-create command, 108 flavor-related APIs list, 280 show details, 281 Flavors, 107

BCS EXIN Foundation Certificate in OpenStack Software Syllabus

Introduction to OpenStack

Getting Started with Contributing to OpenStack An Introductory Crash Course on OpenStack Development

OPENSTACK Building Block for Cloud. Ng Hwee Ming Principal Technologist (Telco) APAC Office of Technology

Infrastructure-as-Code and CI Infrastructure at Open Stack A look at one of the largest CI systems and system administration

Case Study on Enterprise Private Cloud

NET1821BU THE FUTURE OF NETWORKING AND SECURITY WITH NSX-T Bruce Davie CTO, APJ 2

Red Hat OpenStack Platform 8 Configure firewall rules for Red Hat OpenStack Platform director

Spawning Virtual HPCs Using OpenStack

Intel, OpenStack, & Trust in the Open Cloud. Intel Introduction

Installing and Configuring Devstack Newton for Infoblox Integration

Accelerate OpenStack* Together. * OpenStack is a registered trademark of the OpenStack Foundation

5 Things You Need for a True VMware Private Cloud

Trove Onboarding Session Introductory course for contributors and reviewers

Cloud Computing. Amazon Web Services (AWS)

Part2: Let s pick one cloud IaaS middleware: OpenStack. Sergio Maffioletti

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Life Without DevStack: OpenStack Development With OSA. Miguel

Building Service Platforms using OpenStack and CEPH. Malte Dreyer

Integrated Management of OpenPOWER Converged Infrastructures. Revolutionizing the Datacenter

Red Hat OpenStack Platform 13

Build your own Cloud on Christof Westhues

Introduction to OpenStack Trove

Launching StarlingX. The Journey to Drive Compute to the Edge Pilot Project Supported by the OpenStack

Architecture and terminology

OSDC.de 2013 Introduction to OpenStack. Justin Clift Open Source & Standards RH 17 April 2013

OPENSTACK CLOUD RUNNING IN A VIRTUAL MACHINE. In Preferences, add 3 Host-only Ethernet Adapters with the following IP Addresses:

GETTING STARTED WITH OPENSTACK. Kenneth Hui, Rackspace Dan Radez, Red Hat April 27, 2016

Simon Dodsley, OpenStack Solutions Architect

Docker All The Things

Tempest: Integrated OpenStack Testing

HPE HELION CLOUDSYSTEM 9.0. Copyright 2015 Hewlett Packard Enterprise Development LP

BRKDCT-1253: Introduction to OpenStack Daneyon Hansen, Software Engineer

OpenStack Lab on VMware Workstation Setting up the All-In-One VM

Red Hat OpenStack Platform 10

Red Hat Enterprise Linux OpenStack Platform User Group.

Dell EMC Ready Bundle for Red Hat OpenStack Platform. PowerEdge FX Architecture Guide Version

OpenStackFundamentals Workshop

EMC STORAGE SOLUTIONS WITH MIRANTIS OPENSTACK

Human Centric. Innovation. OpenStack = Linux of the Cloud? Ingo Gering, Fujitsu Dirk Müller, SUSE

Reimagining OpenStack*

Dell EMC Ready Bundle for Red Hat OpenStack Platform. Dell EMC PowerEdge R-Series Architecture Guide Version

SUSE OpenStack Cloud

Application Centric Microservices Ken Owens, CTO Cisco Intercloud Services. Redhat Summit 2015

CLOUD INFRASTRUCTURE ARCHITECTURE DESIGN

NephOS. A Single Turn-key Solution for Public, Private, and Hybrid Clouds

Troubleshooting Your SUSE TUT6113. Cloud. Paul Thompson SUSE Technical Consultant. Dirk Müller SUSE OpenStack Engineer

POWERED BY OPENSTACK. Powered by OpenStack. Globo.Tech GloboTech Communications

OpenStack Summit Half-Day Track

OpenStack Command-Line Interface Reference

Red Hat OpenStack Platform 9 Architecture Guide

OPENSTACK PRIVATE CLOUD WITH GITHUB

Horizon deep dive. Matthias Runge Software Engineer May 18th, 2015

An Introduction to Red Hat Enterprise Linux OpenStack Platform. Rhys Oxenham Field Product Manager, Red Hat

TECH GUIDE. OpenStack Installation: A Practitioner s Guide

Actual Agility with SDN: Weaving SDN into Data Center Automation May 6, John Burke Principal Research Analyst & CIO

Comparison of OpenStack Installers

COMMUNITY-GENERATED ROADMAP

Introduction to Neutron. Network as a Service

Identity federation in OpenStack - an introduction to hybrid clouds

Red Hat OpenStack Platform 12

Kilo. docs.openstack.org

OpenStack. Architecture and Operation. OpenStack Tutorial Day 2. Kasidit Chanchio Vasabilab, Thammasat University

Contrail Cloud Platform Architecture

VMware + OpenStack. Dan Wendlandt Director of Product Management VMware VMware Inc. All rights reserved.

HPE Helion OpenStack Carrier Grade 1.1 Release Notes HPE Helion

OpenStack Tutorial. Shihabur R. Chowdhury CS Winter 2017 University of Waterloo

vrealize Operations Management Pack for OpenStack 5.0

OpenContrail Overview Architecture & Demo

CS-580K/480K Advanced Topics in Cloud Computing. OpenStack

OpenStack Network Design using Cisco Solutions Shannon McFarland CCIE #5245 Principal

What s New in Newton. Emily Hugenbruch, Advisory Software

OpenStack and OpenDaylight, the Evolving Relationship in Cloud Networking Charles Eckel, Open Source Developer Evangelist

COMP4442. Service and Cloud Computing. Lecture 04: OpenStack. Prof. George Baciu PQ838.

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10

Enterprise Journey to OpenStack Adoption: Real World Stories

Dell EMC Ready Bundle for Red Hat OpenStack Platform

Analyzing Performance of OpenStack with Grafana Dashboards

Anand Bhadouria Chief Cloud Technologist. December 10, 2014

Transcription:

OpenStack in 10 minutes with DevStack Sean Dague / Aug 20th, 2014 Twitter: @sdague Blog: dague.net

OpenStack A Constellation of IaaS Services Heat Sahara Horizon Swift Trove Glance Nova Cinder Keystone 2 Neutron Ceilometer

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 3

4 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 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. 6

OpenStack as Layers (Compute Centric View) Layer 4: Consumption Services Heat Trove Sahara Marconi Orchestration Database Hadoop Queues Integrated Incubated Layer 3: Optional Enhancements Ceilometer Horizon Barbican Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Network Services Storage Services Cinder Swift Neutron Designate Ironic Block Object Networking DNS Bare Metal Layer 1: Base Compute Infrastructure 7 Compute Services Nova Glance Keystone Compute Image Identity http://hackstack.org/x/blog/2013/09/05/openstack-seven-layer-dip-as-a-service/

Alternate Compositions Layer 4: Consumption Services Heat Trove Sahara Marconi Orchestration Database Hadoop Queues Layer 3: Optional Enhancements Ceilometer Horizon Barbican Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Network Services Storage Services Cinder Swift Neutron Designate Ironic Block Object Networking DNS Bare Metal Layer 1: Base Compute Infrastructure 8 Compute Services Nova Glance Keystone Compute Image Identity

OpenStack Services Management Glue 9 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

Queue Pattern in OpenStack (Creating a Compute Server) Nova API Keystone Nova Sched Glance Database interaction REST interaction RPC (AMQP) interaction 10 Nova Conductor Nova Compute

Watching it in Real Time 11

Hacking with DevStack Edit code in /opt/stack Connect to screen: screen -rd stack Find service you want restarted 12 Be careful about devstack overwriting things, safer to use local branches Ctrl-C Up Arrow Enter Voila! Your changes are now running.

Customizing DevStack further when the defaults aren't enough devstack/localrc basic devstack configuration 13 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

Devstack Defaults Layer 4: Consumption Services Heat Trove Sahara Marconi Orchestration Database Hadoop Queues Layer 3: Optional Enhancements Ceilometer Horizon Barbican Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Network Services Storage Services Cinder Swift Neutron Designate Ironic Block Object Networking DNS Bare Metal Layer 1: Base Compute Infrastructure 14 Compute Services Nova Glance Keystone Compute Image Identity

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 15 Pass through variables

Caveat Developer 4G memory recommended Can run in a VM 16 8G VMs used in OpenStack testing 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

DevStack doesn't support my particular desired config, what do I do? 17 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

Related Projects openstack-dev/devstack-vagrant openstack-dev/grenade Setup tool for building the devstack based configurations we test with in OpenStack openstack-dev/bashate 18 Upgrade testing for OpenStack that consumes devstack as a library openstack-infra/devstack-gate Vagrant configuration to make DevStack deployment into a VM even easier bash style enforcement tool (inspired by pep8) used by bash projects in OpenStack

Thanks! Layer 4: Consumption Services Heat Trove Sahara Marconi Orchestration Database Hadoop Queues Questions? Layer 3: Optional Enhancements Ceilometer Horizon Barbican Telemetry Dashboard Key Management Layer 2: Extended Infrastructure Network Services Storage Services Cinder Swift Neutron Designate Ironic Block Object Networking DNS Bare Metal Layer 1: Base Compute Infrastructure 19 Compute Services Nova Glance Keystone Compute Image Identity http://hackstack.org/x/blog/2013/09/05/openstack-seven-layer-dip-as-a-service/ Integrated Incubated