Jump to: navigation, search

Difference between revisions of "Blazar/Installation using Devstack"

 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Installation guide ==
+
This page has been migrate to [https://docs.openstack.org/blazar/latest/install/install-using-devstack.html here].
 
 
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:
 
 
 
    ./stack.sh
 
 
 
4. DevStack [https://bugs.launchpad.net/blazar/+bug/1641577 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 [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
 

Latest revision as of 07:22, 7 February 2018

This page has been migrate to here.