Commit Graph

28 Commits (stable/queens)

Author SHA1 Message Date
Matthew Edmonds 3cb455fb31 tox needs to pull from stable/queens
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.

Change-Id: Ifdc23f94a8448e12252ce73a436fcf4049d4f7b3
5 years ago
esberglu 1c22282f3b Update UPPER_CONSTRAINTS_FILE for stable/queens
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
requirements repo.

Change-Id: I5595cbca125c690c9fcf01ea17c66f4631f3b3a2
5 years ago
Andreas Jaeger ce0d45daf4 Avoid for constraints support
We do not need, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/ file.

This follows to remove

Change-Id: I05b7525dc0c39e703e1e8fa091d77c87d338673b
6 years ago
Matthew Edmonds b4eed72d1c force python2.7 for tox pep8
tox -re pep8 isn't working for systems that use python 3. Force tox
to use python2.7 for pep8.

Change-Id: I61468c3e3ab673dc84248dc72d1085c83ee57bc0
Closes-Bug: #1708163
6 years ago
Eric Fried 6cf382b960 Install nova test requirements for tox
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 [1] 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 [2].

This change set explicitly adds nova's test-requirements.txt, pulled
from the master branch, to the nova-powervm testenv deps.

[1] I0d8325e12ed7d5d022877782d6aa4ba4055c30db
[2] I03b3abea152d45575ac6dde22ccbe32b6acb4646

Change-Id: I9f4263f22fb73bf694bf0d2f766d1b921c1f2704
Closes-Bug: #1707951
6 years ago
Arundhati Surpur fcd6f1e0b8 Removed older version of python added 3.5
In setup.cfg file the python 3.5 is added
In tox.ini the python 3.5 is added

Change-Id: Ie2571e8778533e7f7601293ee2cfdac4acf8780e
6 years ago
Adam Reznechek c6d94844b8 Add for pypowervm upper-constraints workaround
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 ( that edits
the upper-constraints file and replaces the pypowervm version pin
then sets pypowervm to be installed from source instead.

Change-Id: Id8e117bc6a7b1b224a9e86e9b29821627adb51db
7 years ago
Drew Thorstensen 986e9ebb24 Use upper constraints
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.

Change-Id: I065adf88c599ad91af3f29d02ccd225f5d07ffa9
Closes-Bug: 1637938
7 years ago
Drew Thorstensen 6c6c355705 Fix code for new pep8 rules
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

Change-Id: I8fe77e8250a2b59ae842cdacfa48baf66356ee50
Closes-Bug: #1632441
7 years ago
skseeker 9b35519f76 pep8 error resolved
Removes the H405 pep8 exclusion.

Change-Id: I9cea7c3b1b05ed737f6dd65853a6247a8e58ca17
7 years ago
Kyle L. Henderson 02b5c9f0d0 Port over from Nova
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. is pulled from Nova as-is and enabled
in tox.ini.

Change-Id: Ib90791b1333044c98e20444953d7ccab21cd62ba
7 years ago
Kyle L. Henderson 18252f3f96 Initial seed of hacking rules
Change-Id: I17ccd8de73c9c5452897cc6f54fddcf1911971e0
7 years ago
Drew Thorstensen 07e6073f7b Update tox.ini flake8 rules
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.

Change-Id: I82cdcbc79dac7254f768e110d48c66d63274fc93
7 years ago
adreznec c86e558fd1 Change pypowervm repo location
Update the pypowervm repo location in code and docs
for the pypowervm->powervm github org rename

Change-Id: I95a5593af76ed0b164ed60a9d14b82f3a808078a
8 years ago
Drew Thorstensen 9b4123a11d Switch to develop branch for pypowervm
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).

Change-Id: I963e20da759eeede6b1f115d15fdc276b3555538
8 years ago
Jenkins de2c6bed44 Merge "Add base devstack plugins support" 8 years ago
Adam Reznechek ecc4100bf1 Add base devstack plugins support
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
to configure/install it.
- Added plugin files
- Added README and example config
- Added bashate to tox test environments for scripts

Change-Id: I3dfed189e60b0aa63fc9029e3f56f2d8b7785bd3
8 years ago
Kyle L. Henderson ded3c4b7ca Add nova-powervm translation domain
Since nova-powervm is not in tree with nova, it can't use nova's
translation domain.  This change introduces and the
nova-powervm domain.

Change-Id: I9d3565e6ad1737629350fe02c7a41d56b0cf401a
8 years ago
adreznec 02f9f51cef Update documentation framework, add base devref details
- 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

Change-Id: Ic7a07ba7de0090383c652503453bafcd422a3eaa
8 years ago
Kyle L. Henderson f68cd4fa2f Fixes for Python 3
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.

Change-Id: If84df3017a722d0ad3546e81f97e67f1a07a763f
8 years ago
Adam Reznechek 49fab10357 HEAD cleanup of repository before open sourcing
Removal of sensitive data from the HEAD before cleaning history.

Change-Id: I672d8fe3d86980e85d6bd42f86c12c62375d44b3
8 years ago
Drew Thorstensen 4cd7ffff4a Update nova-powervm to use new pypowervm path
Updating the project to refer to an updated pypowervm path.

Change-Id: I6785435f660060e4c7773ec7efd551050129b9c3
8 years ago
Drew Thorstensen fce316c42b Resolve concurrency issue with Tox
The swap to oslo for concurrency actually stopped the tests from running
properly.  This swaps back so that the tests are run once again.

Change-Id: I3ce060a2183820244aa5b4749e97c17c04a498a3
9 years ago
Drew Thorstensen 02fe8ddae5 Import python-powervm into nova-powervm
This change set suppoprts bringing in the python PowerVM REST API
library for initial use within nova-powervm

Change-Id: Ie8d53f86bd3faa9b3819adbb9b9f4f8d3e97bfd4
9 years ago
Kyle L. Henderson 2e5dfe7881 Get 'cover' working and remove pypy
Change nova-powervm to nova_powervm so 'cover' works.
Added a test case to improve coverage.
Removed pypy from environment list.

Change-Id: I337f2e8b762349f16ec8e6cd9489688970969486
9 years ago
Drew Thorstensen 4be982bf3c Initial scaffold of PowerVM virt driver
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.

Change-Id: I59407d14531635be567d2eea5d7e26ea895b5093
9 years ago
Drew Thorstensen eaad2c22e1 Updated Python Versions
Target the Python 2.7 and Python 3.3 versions to match the community
strategic levels.

Change-Id: I38f646a095ba1b2f5b898fffe6c6a3b53d7b0715
9 years ago
Drew Thorstensen 095e1c183b Initial Load of Nova PowerVM Project
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
                the blueprint.
 - openstack-common.conf - Required openstack configuration for all
 - setup.cfg - Input to the on how to execute certain actions.
 - - 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
loaded in.

Change-Id: Iaa186e449e7e0f75dc06a033d024a23d7faa0267
9 years ago