blazar/doc/source/install/install-using-devstack.rst
Le Hou 933be7dc5d Update to opendev
Change-Id: I116dd2025399f51d557c1bcaa5adcbb508568ea6
2019-04-23 15:56:11 +08:00

1.1 KiB

Installation using DevStack

This section includes instructions for Blazar installation using DevStack. DevStack configures both the host reservation and the instance reservation.

  1. Download DevStack:
git clone https://opendev.org/openstack/devstack.git
  1. Create a local.conf file in the devstack directory. You can use the following sample local.conf:
[[local|localrc]]
ADMIN_PASSWORD=password
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
DEST=/opt/stack/
LOGFILE=$DEST/logs/stack.sh.log
HOST_IP=127.0.0.1
GIT_BASE=https://opendev.org/
RECLONE=yes
enable_plugin blazar https://opendev.org/openstack/blazar
  1. Run DevStack as the stack user:
./stack.sh
  1. Source the admin credentials:
. openrc admin admin
  1. Now you can add hosts to Blazar:
blazar host-create hostname