freezer/devstack
caihui 3ffcc0c657 Update devstack doc
Add a same local.conf file for freezer devloper.

Change-Id: I556f72efc9541a550855e3617bfeb5cfee92ad30
2019-11-14 17:19:47 -08:00
..
lib In default mode , disable "debug" 2018-11-02 23:10:34 -04:00
README.rst Update devstack doc 2019-11-14 17:19:47 -08:00
gate_hook.sh Use dedicate log file for freezer-scheduler 2018-02-16 09:52:42 +00:00
local.conf.example Update local.conf.example 2017-03-20 09:23:41 +00:00
plugin.sh Fix a mistake in 'plugin.sh' 2016-01-18 13:03:27 -05:00
settings Remove use of unsupported TEMPEST_SERVICES variable 2018-01-23 16:44:39 +03:00

README.rst

Enabling Freezer in Devstack

This directory contains the Freezer DevStack plugin.

Download Devstack:

git clone https://git.openstack.org/openstack-dev/devstack
cd devstack

To configure the Freezer scheduler and agent with DevStack, you will need to enable this plugin by adding one line to the local section of your local.conf file.

To enable the plugin, add a line of the form:

[[local|localrc]]
enable_plugin freezer <GITURL> [GITREF]

where:

<GITURL> is the URL of a freezer repository
[GITREF] is an optional git ref (branch/ref/tag).  The default is master.

For example:

enable_plugin freezer https://git.openstack.org/openstack/freezer master

Then run devstack normally:

cd $DEVICE_DIR
./stack.sh

This is a sample local.conf file for freezer developer:

[[local|localrc]]
ADMIN_PASSWORD=stack
DATABASE_PASSWORD=stack
RABBIT_PASSWORD=stack
SERVICE_PASSWORD=$ADMIN_PASSWORD

DEST=/opt/stack
LOGFILE=$DEST/logs/stack.sh.log

# only install keystone/horizon/swift in devstack
# disable_all_services
# enable_service key mysql s-proxy s-object s-container s-account horizon

enable_plugin freezer http://git.openstack.org/openstack/freezer master
enable_plugin freezer-api http://git.openstack.org/openstack/freezer-api.git master
enable_plugin freezer-tempest-plugin http://git.openstack.org/openstack/freezer-tempest-plugin.git master
enable_plugin freezer-web-ui http://git.openstack.org/openstack/freezer-web-ui.git master

export FREEZER_BACKEND='sqlalchemy'
For more information, see:

https://docs.openstack.org/devstack/latest/index.html