Updates the tox.ini to pull from nova's stable/queens branch
instead of master. This should have been done when we first
branched queens here, but was missed.
Update the stable/queens tox.ini to use the queens upper-constraints.
This should not be merged until the queens branch is merged for the
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
Because nova-powervm follows nova at a development level, we have to
install the latest master branch, so we can't put nova in our
[test-]requirements.txt. Instead, we put it in our tox.ini testenv
deps as a git clone and install. This pulls in nova's requirements.txt,
but not its test-requirements.txt.
Change  moved nova's wsgi_intercept dependency from requirements.txt
to test-requirements.txt; but this didn't cause problems yet because
wsgi_intercept wasn't actually being imported in a path that mattered to
nova-powervm testing until .
This change set explicitly adds nova's test-requirements.txt, pulled
from the master branch, to the nova-powervm testenv deps.
With the recent addition of pypowervm to upper-constraints, installs
of nova-powervm are now by default enforcing the version set there.
Since the master branch of nova-powervm depends on the develop
version of pypowervm, this causes installs to fail.
This changeset adds a wrapper script (tox_install.sh) that edits
the upper-constraints file and replaces the pypowervm version pin
then sets pypowervm to be installed from source instead.
The tox.ini needs to make use of the upper constraints. Failure to do
so is causing us to hit known issues with newer versions of packages.
This change updates the code to comply with a new pep8 rule to defer the
string concatenation to the logger instead of doing it inline.
It also adds an ignore rule for conf options being outside of nova.conf.
Given that we are an out-of-tree driver, we can not put our conf options
in tree. This is a temporary work around until the powervm driver is in
Nova has a bash script that uses the ostestr package to format
the output from tox in a 'pretty' format. It makes it much more
readable. pretty_tox.sh is pulled from Nova as-is and enabled
This change set brings our flake8 ignore rules in line with the core
nova team. nova-powervm should always be a minimal subset of flake8
ignore rules to the broader nova project. This change set removes some
old ignore rules that nova had, that they have removed in the past
couple of months.
The master branch of nova-powervm should be paired to the 'develop'
branch of pypowervm.
Other stable branches (or release candidates) will point to version
levels that are published to PyPi (or to stable branches).
Add support for installing nova powervm through the devstack plugins
infrastructure. This allows you to simply enable the plugin in a
devstack localrc, provide any non-default config, and run stack.sh
to configure/install it.
- Added plugin files
- Added README and example config
- Added bashate to tox test environments for scripts
- Add base support for devref generation to the project
- Add basic level of documentation, with TODOs for future updates
- Generate as part of tox run
Nova is working on support for Python 3.4. via
This changeset moves from py33 to py34 in the tox.ini file to be
inline with Nova. It also incorporates changes produced from the
'sixer' tool run with 'all'.
sixer can be found at:
At the present time, the py34 environment does not run
successfully because it pulls in portions of Nova that have not
yet been fully converted to Python 3.
Initial driver that wraps the 'fake' implementation for PowerVM.
Also updates the tox.ini to match more of the pep8 rules that Nova
Provides an initial test case to validate that the driver can be
initialized. This requires updates to the test framework to pull
in further dependencies of Nova.
Initial work to enable the Nova PowerVM project in git.
The work done here provides:
- .gitignore - Indicate which files not to track within Git.
- .gitreview - Input to the git-review command on how to send to
- .testr.conf - Conf file input for the testr command (UT)
- CONTRIBUTING.rst - Information on how to contribute.
- HACKING.rst - Information on what needs to be done for updates.
- LICENSE - The license for the project
- README.rst - Information on what this project is. Currently this is
- openstack-common.conf - Required openstack configuration for all
- setup.cfg - Input to the setup.py on how to execute certain actions.
- setup.py - Used for build of the project.
- requirements.txt - Required packages (and levels) to run the code.
- test-requirements.txt - Required packages (and levels) in addition
to the requirements, that indicates what is
needed to run the UT.
- tox.ini - The input for the tox commands.
In addition, a base set of packages for the agent and unit tests were