Jump to: navigation, search

Blazar/Installation using Devstack

< Blazar
Revision as of 21:09, 1 December 2016 by Pierre Riteau (talk | contribs) (Add link to proposed Gerrit change fixing DevStack installation)

Installation guide

This page includes instructions for Blazar installation using DevStack.

1. Download DevStack:

   git clone git://git.openstack.org/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 git://git.openstack.org/openstack/blazar" >> local.conf

3. Run DevStack:


4. DevStack will fail to install blazar-nova with the following message:

   Installing test-requirements for /opt/stack/blazar-nova/test-requirements.txt
   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 this bug is fixed:

   mv /opt/stack/blazar-nova/test-requirements.txt /opt/stack/blazar-nova/_test-requirements.txt

6. Run DevStack again:


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:

   climate host-create localhost.localdomain