Specific Nova part of the Blazar Reservation Service for OpenStack
dd08b76fc9
Using test-requirements to get a specific version of nova for tests is preventing DevStack from installing blazar-nova, because nova is already added to upper-constraints.txt as "-e file:///opt/stack/nova#egg=nova". DevStack shows the following error message: Could not satisfy constraints for 'nova': installation from path or url cannot be constrained to a version Import tools/tox_install.sh from Neutron repos and adapt it to install Nova in tox environments used for unit tests. Minimal modifications were made to this script in order to easily track changes from Neutron repos. tox.ini is modified to use this script instead of pip. For pep8 checks, we exclude the .tmp directory where nova is cloned in gate jobs, otherwise the nova source is checked as well and triggers failures. See [1] and [2] for more details about the issue fixed by this commit. [1] https://bugs.launchpad.net/devstack/+bug/1540328/comments/13 [2] https://review.openstack.org/#/c/405630/1 Closes-Bug: #1641577 Change-Id: I542461e609866b21f597b0c4a2954807c5b8f8b7 |
||
---|---|---|
blazarnova | ||
climatenova | ||
etc | ||
tools | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
climate-nova
Climate Nova related changes. Includes filters for Host Reservation and Nova API extensions for the VM reservation feature.