Skip to content

Instantly share code, notes, and snippets.

@bot11
Last active August 29, 2015 14:15
Show Gist options
  • Save bot11/6d800e4822340c50d4e6 to your computer and use it in GitHub Desktop.
Save bot11/6d800e4822340c50d4e6 to your computer and use it in GitHub Desktop.
devstack installation
$ apt-get update
$ adduser stack
$ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
$ apt-get install git
$ su stack
$ git clone -b stable/icehouse https://git.openstack.org/openstack-dev/devstack
$ cd devstack
$ vim local.conf
[[local|localrc]]
# Credentials
DATABASE_PASSWORD=devstack
ADMIN_PASSWORD=devstack
SERVICE_PASSWORD=devstack
SERVICE_TOKEN=devstack
RABBIT_PASSWORD=devstack
# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
ENABLED_SERVICES+=,horizon
# Images
# Use this image when creating test instances
IMAGE_URLS+=",http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img"
# Use this image when working with Orchestration (Heat)
IMAGE_URLS+=",http://uec-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img"
# Branches
KEYSTONE_BRANCH=stable/icehouse
NOVA_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
SWIFT_BRANCH=stable/icehouse
GLANCE_BRANCH=stable/icehouse
CINDER_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
TROVE_BRANCH=stable/juno # TROVE IS JUNO
HORIZON_BRANCH=stable/icehouse
# Swift Configuration
SWIFT_REPLICAS=1
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs
#FLOATING_RANGE=135.75.169.115/27
#FLAT_INTERFACE=eth0
#LOGFILE=/home/stack/stack.sh.log
#Q_FLOATING_ALLOCATION_POOL=start=10.240.81.100,end=10.240.81.120
#PUBLIC_NETWORK_GATEWAY=10.240.0.1
$ ./stack.sh
Some of the fixes to the errors:
https://gist.github.com/bot11/66d50ef5272d7dcadc2c
https://gist.github.com/bot11/693f5b5840603d8072f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment