We were using the lower-constraints.txt file from nova, but this
was masking problems. The check job doesn't seem to work properly
when the lower-constraints.txt file is in a different project, not
running at least some of its tests. This was seen when copying the
same file into nova-powervm cause the job to start complaining.
This copies nova's lower-constraints.txt file into nova-powervm
and then addresses the aforementioned issues by:
1) removing amqp from requirements.txt. We do not appear to
really require this.
2) adding bashate to lower-constraints.txt. Nova does not require
this but we do.
3) adding python-swiftclient to lower-constraints.txt. Nova does not
require this but we do. Also moved python-swiftclient from
test-requirements.txt to requirements.txt since our usage is not
limited to tests.
4) removing python-subunit from test-requirements.txt. We do not
appear to really require this.
Change-Id: I100181821ed4ffe622ed5ebeff403093e9cc32b8
Update the state of the art build process (TM), featuring an all new
theme, new requirements and much more.
Change-Id: I5d8724786361a820016cc02d8985f2438a1f9d57
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Add openstack-tox-lower-constraints job to the zuul configuration.
The nova-powervm project uses Nova's lower-constraints.txt file; it
doesn't need its own.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I637abb9624bf237ef2e1e70bf40bb1d64e77d354
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This is in preperation for setting up the repo to auto sync via the
proposal-bot.
Change-Id: I0b4818f3eb0b9bace9ee61e7f855fd070aee684b
Depends-On: Ife1ee6f04f60a8de03f14713ec1dcf82edf140ce
This change set updates the requirements to bring it in line with the
global-requirements from the core OpenStack. It also removes the
netifaces dependency. That is no longer required.
Change-Id: Ide5c5dbf85e9c2cd80182656f4bb505365c9962f
We're not sure...
But we think paramiko's recent 2.0.0 release somehow breaks a
requirement chain where *somebody* needs pycrypto and is no longer
getting it. Adding the requirement for pycrypto (synced with the
corresponding global requirement) resolves the tox errors seen in the
bug report.
And the gate wasn't failing because... the pycrypto req was being picked
up some other way.
Change-Id: I1286b7df7df6608a2fdb929eb55f2d6fbfd031ea
Closes-Bug: 1576822
PowerVM has NVRAM that is associated with each VM on the system.
The NVRAM holds information about the VM such as which device
is the boot device. PowerVM produces an event when the NVRAM for
a VM is changed.
The NVRAM should be set on the VM during operations like cold
migration, resize to a different host and evacuation when the
VM is newly created on the destination host from an existing VM
on the source host.
This change set introduces the concept of an NVRAM store and
an NVRAM manager. The compute driver listens for the PowerVM
NVRAM change events and stores the NVRAM in the configured store.
A Swift store for the NVRAM is implemented.
Future change sets will utilize the NVRAM from the store on VM
operations and manage its life cycle. This change set does
include storing the NVRAM during migrate/resize and was included
to facilitate live testing.
Change-Id: I59be9946794f53fdcae5515cc818d4fe967986d0
The global requirements have changed again. This change set brings it
in line with the others.
The global requirements removed the python binding level for the
mock library. This change reflects that update.
Change-Id: Id1882206b9b109dea42db407aadb66249f5069ce
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
in tox.ini.
Change-Id: Ib90791b1333044c98e20444953d7ccab21cd62ba
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
Change-Id: I3dfed189e60b0aa63fc9029e3f56f2d8b7785bd3
The global requirements have recently been updated. This change set
updates the nova-powervm requirements to match the core
global-requirements levels.
Change-Id: I0321a717ab3dad9a82f1089afd274b1aec2d6b0a
The spawn method added instance_type as a parameter in its method
signature. This change set adds support for that in the PowerVM driver.
Includes an addition for oslo-test which is pulled in by Nova in the
tests package now.
Change-Id: Ib26dacb9ab3004b9ad5599074b2e50c3eaf0df09
Initial driver that wraps the 'fake' implementation for PowerVM.
Also updates the tox.ini to match more of the pep8 rules that Nova
utilizes.
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
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
Gerrit.
- .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
projects
- 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
loaded in.
Change-Id: Iaa186e449e7e0f75dc06a033d024a23d7faa0267