Jump to: navigation, search

Difference between revisions of "Blazar/Installation using Devstack"

(Installation guide)
Line 4: Line 4:
  
 
1. Download DevStack:
 
1. Download DevStack:
     git clone https://github.com/openstack-dev/devstack.git
+
     git clone https://git.openstack.org/openstack-dev/devstack.git
  
2. Configure DevStack to install Blazar by adding the Blazar plugin to your local.conf file:
+
2. Create a local.conf file in the devstack directory. You can use the following sample local.conf:
  
     cd devstack
+
     [[local|localrc]]
     echo "enable_plugin blazar https://git.openstack.org/openstack/blazar" >> local.conf
+
    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://git.openstack.org/
 +
    RECLONE=yes
 +
     enable_plugin blazar https://git.openstack.org/openstack/blazar
  
 
3. Run DevStack:
 
3. Run DevStack:
Line 15: Line 24:
 
     ./stack.sh
 
     ./stack.sh
  
4. Now you can add hosts to Blazar:
+
4. Source the admin credentials:
 +
 
 +
    . openrc admin admin
 +
 
 +
5. Now you can add hosts to Blazar:
  
 
     climate host-create hostname
 
     climate host-create hostname

Revision as of 14:26, 22 February 2017

Installation guide

This page includes instructions for Blazar installation using DevStack.

1. Download DevStack:

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

2. Create a local.conf file in the devstack directory. You can use the following sample local.conf:

   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://git.openstack.org/ 
   RECLONE=yes
   enable_plugin blazar https://git.openstack.org/openstack/blazar

3. Run DevStack:

   ./stack.sh

4. Source the admin credentials:

   . openrc admin admin

5. Now you can add hosts to Blazar:

   climate host-create hostname