
*Updating to avoid use of manage.py directly. *Making it more DevStack friendly. *Adding a sample DevStack local.conf to allow for exercise Horizon against more services. *Added simple developer instructions so new developers aren't tempted to work on the DevStack instance of Horizon. Change-Id: I0840c63183e7cec3b08e4f2ce208479ff7552f60
2.4 KiB
2.4 KiB
local.conf
Configuring DevStack for Horizon
Place the following content into devstack/local.conf to start the services that Horizon supports in DevStack when stack.sh is run. :
[[local|localrc]]
ADMIN_PASSWORD=pass
MYSQL_PASSWORD=pass
RABBIT_PASSWORD=pass
SERVICE_PASSWORD=pass
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
# Recloning will insure that your stack is up to date. The downside
# is overhead on restarts and potentially losing a stable environment.
# If set to yes, will reclone all repos every time stack.sh is run.
# The default is no.
#RECLONE=yes
# Note: there are several network setting changes that may be
# required to get networking properly configured in your environment.
# This file is just using the defaults set up by devstack.
# For a more detailed treatment of devstack network configuration
# options, please see: http://devstack.org/guides/single-machine.html
# Enable Swift (object-store) Service without replication
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data/swift
# enabling Neutron (network) Service
# to use nova net rather than neutron, comment out the following group
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-13
enable_service q-meta
enable_service q-metering
enable_service neutron
enable_service q-lbaas
enable_service q-fwaas
enable_service q-vpn
# end group
# enable Heat (orchestration) Service
enable_service heat h-api h-api-cfn h-api-cw h-eng
# enable Sahara (data_processing) Service
enable_service sahara
# enable Trove (database) Service
enable_service trove tr-api tr-tmgr tr-cond
# enable Ceilometer (metering) Service
enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector ceilometer-api
# Set ``OFFLINE`` to ``True`` to configure ``stack.sh`` to run cleanly without
# Internet access. ``stack.sh`` must have been previously run with Internet
# access to install prerequisites and fetch repositories.
# OFFLINE=True
[[post-config|$GLANCE_API_CONF]]
[DEFAULT]
default_store=file