Jump to: navigation, search

Difference between revisions of "Blazar/Installation using Devstack"

Line 4: Line 4:
  
 
1. Download DevStack:
 
1. Download DevStack:
     git clone git://git.openstack.org/openstack-dev/devstack.git
+
     git clone https://github.com/openstack-dev/devstack.git
  
 
2. Configure DevStack to install Blazar by adding the Blazar plugin to your local.conf file:
 
2. Configure DevStack to install Blazar by adding the Blazar plugin to your local.conf file:
  
 
     cd devstack
 
     cd devstack
     echo "enable_plugin blazar git://git.openstack.org/openstack/blazar" >> local.conf
+
     echo "enable_plugin blazar https://git.openstack.org/openstack/blazar" >> local.conf
  
 
3. Run DevStack:
 
3. Run DevStack:
Line 15: Line 15:
 
     ./stack.sh
 
     ./stack.sh
  
4. DevStack [https://bugs.launchpad.net/blazar/+bug/1641577 will fail to install blazar-nova] with the following message:
+
4. Now you can add hosts to Blazar:
  
    Installing test-requirements for /opt/stack/blazar-nova/test-requirements.txt
+
     climate host-create hostname
    Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
 
    Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
 
    Could not satisfy constraints for 'nova': installation from path or url cannot be constrained to a version
 
    Error on exit
 
    World dumping... see /opt/stack/logs/worlddump-2016-11-14-120830.txt for details
 
 
 
5. Apply a simple workaround until [https://review.openstack.org/#/c/405630/ this bug is fixed]:
 
 
 
    mv /opt/stack/blazar-nova/test-requirements.txt /opt/stack/blazar-nova/_test-requirements.txt
 
 
 
6. Run DevStack again:
 
 
 
    ./stack.sh
 
 
 
7. To use physical reservation, create an aggregate called freepool:
 
 
 
    source openrc admin
 
    nova aggregate-create freepool
 
 
 
8. Now you can add hosts to Blazar, e.g. if running an All-In-One DevStack (you may need to adapt the hostname):
 
 
 
     climate host-create localhost.localdomain
 

Revision as of 09:22, 16 February 2017

Installation guide

This page includes instructions for Blazar installation using DevStack.

1. Download DevStack:

   git clone https://github.com/openstack-dev/devstack.git

2. Configure DevStack to install Blazar by adding the Blazar plugin to your local.conf file:

   cd devstack
   echo "enable_plugin blazar https://git.openstack.org/openstack/blazar" >> local.conf

3. Run DevStack:

   ./stack.sh

4. Now you can add hosts to Blazar:

   climate host-create hostname