#OSATH Deploy OpenStack: DevStack

Preview:

DESCRIPTION

Slides used during the workshop on deploying OpenStack using the devstack tool

Citation preview

Deploy OpenStack: DevStack

Athens OpenStack User Group #OSATH4th Meetup, 14th November 2013

Thanassis Parathyras aparathyras@stackmasters.eu, @parathyras

Prepare

• VM– Vmware, VirtualBox, vagrant, KVM, …, any choice– 2GB RAM or more

• OS– Ubuntu 12.04 (Precise), Fedora 18 and

CentOS/RHEL 6.4– OpenSUSE and Debian– Minimal install recommended

Settle envirnonment

• Start your VM• Work as non-root user– Create user stack– Login as user stack

Execute#!/bin/sh apt-get update || yum update –yapt-get install -qqy git || yum install –y git git clone https://github.com/openstack-dev/devstack.git cd devstack echo ADMIN_PASSWORD=password > localrcecho MYSQL_PASSWORD=password >> localrcecho RABBIT_PASSWORD=password >> localrcecho SERVICE_PASSWORD=password >> localrcecho SERVICE_TOKEN=tokentoken >> localrc./stack.sh

Wait …

Be careful!!!

• Ubuntu: ensure dmidecode is not running

$ killall -9 dmidecode• CLI:

$ nova list“ERROR: You must provide a username via either --os-username or env[OS_USERNAME]”

$ source <account details> Check: $TOPDIR/accrc

Spare time

http://www.slideshare.net/openstack/openstack-user-survey-october-2013

http://www.slideshare.net/openstack/openstack-havana-release

Welcome

DevStack

• All-in-one VM– Nova, Keystone, Glance, Horizon, Cinder,

openstack-clients• Neutron not deployed– Default: nova-network

• Swift not deployed– Default: nova-objectstore

• Ceilometer, Heat, Trove

#OSATH

• http://www.meetup.com/Athens-OpenStack-User-Group

• https://plus.google.com/communities/113761625022392052075

• @openstack

• https://wiki.openstack.org/wiki/Mailing_Lists– http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Keep it up!

Recommended