manager.py had a syntax error which caused the module to be not
installable. This wasn't picked up in testing. This fixes the bug
and adds pep8 coverage to the nova_lxd_tempest_plugin so that the module
always remains installable.
Also, this fixes the tempest concurrency at 1. See the related bugs.
Closes-bug: #1790956
Related-Bug: #1790943
Change-Id: Ie542b062a9f0997f6363877ff03f0f9bfc8f3d43
According to Openstack summit session [1] stestr
is maintained project to which all Openstack projects should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ic4eae5a383616e93f154b99208817ca9f20548cc
Signed-off-by: Chuck Short <chucks@redhat.com>
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I9f7df241e90aa2b82813a41f330e3890e08b5869
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Also: fix up test due to changes in requirements/make it work with
Python 3.6
Change-Id: Iedb7fe7e5bbb8935a5a958a301ed3c5540005bbc
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Misc fixes to bring tox targets back inline with general OpenStack
standards (py27 and py35 targets executed by default).
Deal with running 27 and 35 tests in succession.
This change also includes some fixes for coverage reporting; however
they are still currently broken due to mismatching module names
between nova-lxd and nova.virt.lxd.
Change-Id: If0079309a4c4b6b57fc6b5e6f0e947926b010f09
Don't configure glance if glance isn't enabled (in my specific case,
multi-host nova compute node). Download the cirros image if it doesn't
already exist and download the Ubuntu image if tempest is used.
Don't have a file with a single function call that is used once.
Change-Id: Ie04db90e755776d025aab16795e2f91e94cf33c0
pylxd was removed from requirements.txt in
a previous commit: f07d597e1e
The previous removal looks like it may have been unintentional.
This commit adds pylxd to requirements.txt
Change-Id: I3aa3579e0eece16b55754d126fdec86540760a40
Some recent tempest additions seemed to be confusing my tox flake8
run. Upon investigating, I learned that we're running flake8 on much
more than the needed scope that we care about/have control over.
Change-Id: I4ac42b53fb2f9ab9286d82beb6a61042ef57c481