Difference between revisions of "Blazar/Installation using Devstack"
< Blazar
Lakmal Silva (talk | contribs) (→Installation guide) |
(Update DevStack installation guide) |
||
Line 1: | Line 1: | ||
== Installation guide == | == Installation guide == | ||
− | This page includes instructions for Blazar installation using | + | This page includes instructions for Blazar installation using DevStack. |
− | 1. Download | + | 1. Download DevStack: |
− | git clone | + | git clone git://git.openstack.org/openstack-dev/devstack.git |
− | 2. | + | 2. Configure DevStack to install Blazar by adding the Blazar plugin to your local.conf file: |
− | |||
− | + | cd devstack | |
− | cd | + | echo "enable_plugin blazar git://git.openstack.org/openstack/blazar" >> local.conf |
− | |||
− | |||
− | |||
− | + | 3. Run DevStack: | |
− | + | ./stack.sh | |
− | |||
− | |||
− | |||
− | 5. Run | + | 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 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 | ./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: | ||
+ | |||
+ | climate host-create localhost.localdomain |
Revision as of 12:46, 14 November 2016
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:
./stack.sh
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:
./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:
climate host-create localhost.localdomain