Commit Graph

76 Commits

Author SHA1 Message Date
OpenStack Proposal Bot 52786bce2a Updated from global requirements
Change-Id: Ie49e4aae0d2ed64107cb4c74df002328b9dca2ac
2015-10-04 22:43:42 +00:00
Jenkins 75beb7ac80 Merge "Updated from global requirements" 2015-10-02 20:15:16 +00:00
Jenkins 915f03b26a Merge "Use os-testr for py34 tox target" 2015-10-02 20:14:32 +00:00
OpenStack Proposal Bot 04a6ebf605 Updated from global requirements
Change-Id: Idef385a8d4bc07570fcfa04e35016529c83e2350
2015-10-02 17:26:26 +00:00
Tony Breeds 03cae1c431 Add Pillow to test-requirements.txt
Pillow isn't directly used by nova but it is used by
sphinxcontrib-seqdiag.

Add it to test-requirements as a work around to:
http://lists.openstack.org/pipermail/openstack-dev/2015-October/076030.html

Change-Id: I4face1fdb56c30bfeffca8808f422565eb21de83
2015-10-02 12:28:42 +10:00
Davanum Srinivas 9537c85763 Use os-testr for py34 tox target
os-testr has a blacklist we can use to specify which
tests to avoid. It uses "testr run --parallel" so tests
are run in parallel as well. We also get rid of the
huge list of tests in tox.ini into a separate file.

<soap_box>
The reason for using a black list is that when new tests
are being added, they are automatically either fixed to
work under python34 or added to a well known list of
tests so whoever is working on python34 can try to fix
those tests over a period of time. Hoping really that
this black list shrinks over time quickly. This is also
a pool of low hanging tasks that folks when they have
some time to pull a few tests from here and fix them.
</soapbox>

Bumps number of tests executed from 5606 to 7206

Depends-On: Ib5e682d0380cf7bc5e288a1e4d125379b452fa92
Change-Id: Ib641bb0f7553eb7704b419b9d00f86174f6d831d
2015-09-30 19:53:53 -04:00
OpenStack Proposal Bot 320bb6418f Updated from global requirements
Change-Id: Ie0de37f40006e42df305f5c7dfaa1f123077acfa
2015-09-18 20:45:40 +00:00
OpenStack Proposal Bot c44f8ca5ab Updated from global requirements
Change-Id: Iedae83b1c4d6e53fc1f80fe30ed47766f83e64d5
2015-09-08 16:30:02 +00:00
Chandan Kumar a370bdb8e5 Removed unused dependency: discover
Change-Id: Iaf8368b997be7707500300ac7b312d16813c0afa
2015-08-28 19:50:54 +05:30
OpenStack Proposal Bot 241e009f07 Updated from global requirements
Change-Id: I41c3f48cd05c2fd3aeef7211d82c51ee6a7e4da1
2015-08-25 13:23:05 +00:00
OpenStack Proposal Bot 5cec767593 Updated from global requirements
Change-Id: I54433814635fce99904b6dfffd5a52a23177834c
2015-08-18 01:29:30 +00:00
OpenStack Proposal Bot d593d6950b Updated from global requirements
Change-Id: I71fe6e2d34ddb006da15f30c684262ff7047f9b8
2015-08-04 18:17:53 +00:00
OpenStack Proposal Bot fc5bf46319 Updated from global requirements
Change-Id: Iceb876e7e0087ca6f4ba4d87765d85dfd4c28933
2015-07-29 06:13:45 +00:00
OpenStack Proposal Bot 258073e5b3 Updated from global requirements
Change-Id: I3c565df2d133003b69d9be08cefb8c0888c380ea
2015-07-23 12:52:36 +00:00
Jenkins 8a7665b6ba Merge "Add bandit for security static analysis testing" 2015-07-23 09:40:08 +00:00
OpenStack Proposal Bot d7dece1942 Updated from global requirements
Change-Id: Ic319ea3d4c4065f63db176b53382f9b98a4e17a9
2015-07-18 16:07:43 +00:00
Jenkins 275c9ace5c Merge "Switch from MySQL-python to PyMySQL" 2015-07-15 15:53:35 +00:00
Jeremy Stanley 650c811cdf Switch from MySQL-python to PyMySQL
As discussed in the Liberty Design Summit "Moving apps to Python 3"
cross-project workshop, the way forward in the near future is to
switch to the pure-python PyMySQL library as a default.

https://etherpad.openstack.org/p/liberty-cross-project-python3

Change-Id: I590c26523f4dc8d14c45e61bb89555486629b64d
2015-07-03 22:09:36 +00:00
Markus Zoeller 7b352048bf devref: virtual machine states and transitions
The diagrams were hard to read and update. Replaced them with
simplified diagrams and tables. I used the content as is. I looks
inconsistent to me, but should now be easier to change.

Partially implements: blueprint devref-refresh-liberty

Change-Id: I707e1a6ab69ef44448b66e8be007307b5d73eb06
2015-07-03 11:10:41 +02:00
OpenStack Proposal Bot d01f500976 Updated from global requirements
Change-Id: Ia1b407613867f114bd16422a2abd92fbd26ed594
2015-07-02 18:56:07 +00:00
Eric Brown e025404e69 Add bandit for security static analysis testing
This change adds a basic bandit config for Nova. It can be invoked
by running the tox environment for bandit;
    tox -e bandit

This is intended as a starting point for using bandit with Nova
and it should be revisited to improve the testing as more is learned
about the specific needs of the Nova code base.

Tox is configured to only show results for high and medium severity
results.

https://wiki.openstack.org/wiki/Security/Projects/Bandit

Change-Id: I3026b81317f0a6322acfc94784899a7453af586f
2015-07-02 09:17:48 -07:00
Robert Collins e6333ef1ee Remove python3 specific test-requirements file.
With environment markers this is not needed, and it should fix
requirement syncing.

Change-Id: I9e32764417852ea65b28efe3c05d39865ebc5744
2015-07-02 08:14:24 +12:00
OpenStack Proposal Bot 716d35bcac Updated from global requirements
Change-Id: Ia0470265fabcbfeac762252aeec2c399540da07b
2015-06-22 08:26:31 +00:00
OpenStack Proposal Bot 247d378e2b Updated from global requirements
Change-Id: I56fac4ea9790e0ac0faf809b095bb0c545b44dfe
2015-06-02 13:26:55 +00:00
Davanum Srinivas f40619b2b4 Block oslo.vmware 0.13.0 due to a backwards incompatible change
Lots of details on the global requirements patch that
this Depends-On.

Essentially, nova tests are broken with the oslo.vmware
release and we need to block this version.

Partial-Bug: #1459021

Depends-On: Icf1ce8dbb4b2c0b6b627d5d8be0b85a42e99c784
Change-Id: I4b9a471c9783dff769cbdec2e534bb0157f141f6
2015-05-27 17:32:02 +00:00
Davanum Srinivas d47a8355d1 Drop explicit suds dependency
we should just use what oslo.vmware requires. Transitive
dependency should be enough for Nova.

Remove a few imports in a test case to pass the nova
policy of "if any explicit import then need an entry
in requirements".

Also remove tests relating to suds as oslo.vmware uses
suds and any of these tests should be there instead.

Co-Authored-By: Victor Stinner <vstinner@redhat.com>
Change-Id: I28f29d3e5745c21b99dc0cf9eb0cfe4f95dffd17
2015-05-22 23:40:14 -07:00
OpenStack Proposal Bot 2923f1c148 Updated from global requirements
Change-Id: I9bb4090aa5685b48c4cc96e77ba1867b26abd0b7
2015-05-01 20:22:33 +00:00
OpenStack Proposal Bot bf8c75b192 Updated from global requirements
Change-Id: I7b9c51c4613085d59a69c91f38b8cbd12bb62296
2015-04-30 14:35:04 -07:00
Gary Kotton 10ca8bcb6b Move suds into test-requirements.txt
Commit cb3fdc56b5 moved the
oslo.vmware package. This does the same with the suds package.
The suds package is only imported in the vmwareapi virt driver
code (and tests) so it's purely optional if you're using the vmware
driver or not, so move it to test-requirements.txt.

Change-Id: I2d2b832c163bb6707ef20aa908e8df48118aaeb8
2015-03-24 00:39:56 -07:00
OpenStack Proposal Bot c40e6ca10c Updated from global requirements
Change-Id: I4ba973041c073acd24f624b16dfdbe66ff70f589
2015-03-21 00:14:54 +00:00
Matt Riedemann cb3fdc56b5 Move oslo.vmware into test-requirements.txt
The oslo_vmware package is only imported in the vmwareapi virt driver
code (and tests) so it's purely optional if you're using the vmware
driver or not, so move it to test-requirements.txt.

Change-Id: I1fc07badfe3652681872c6e4d78c347158f21a5f
2015-03-10 08:31:11 -07:00
OpenStack Proposal Bot a0cbb37b28 Updated from global requirements
Change-Id: Ib3ce53a85ef7e5f362339dba8d1606c303f9fddd
2015-03-09 22:47:15 +00:00
OpenStack Proposal Bot 45adf38812 Updated from global requirements
Change-Id: I36c302f5cb44434cbd0ff0c5a9161b13346b1eed
2015-02-09 22:44:39 +00:00
Brianna Poulos fbf0806273 Adds barbican keymgr wrapper
Adds a barbican keymgr wrapper to the key manager interface in
nova.  This allows barbican to be configured as the key manager
for encryption keys in nova.  The wrapper translates calls from
the existing key manager interface to python-barbicanclient.

Change-Id: I110c7ceada48de28cee1169b643b12407f21b36c
Implements: blueprint encryption-with-barbican
DocImpact
2015-02-02 13:10:16 -05:00
Jenkins ec148197b6 Merge "Updated from global requirements" 2015-01-29 06:19:41 +00:00
OpenStack Proposal Bot 8d5a2db012 Updated from global requirements
Change-Id: I84878949ece4ed07706444abfa2238287dc0e72e
2015-01-28 16:37:36 +00:00
Matt Riedemann 50861d3221 libvirt: update uri_whitelist in fakelibvirt.Connection
Commit 4b9bec3a1c removed the mocking of
nova.virt.libvirt.host.Host.get_connection to use fakelibvirt instead,
but if you don't have libvirt-python in your venv the tests fail, so
fakelibvirt in it's current form wasn't actually working for all tests.

This change updates the uri_whitelist in the init method of the
fakelibvirt Connection class to add some other URIs found in other parts
of the libvirt code (the LibvirtDriver.uri static method).

Removes the unnecessary 'xen:///system' whitelisted URI.

Since libvirt-python is no longer needed to run the libvirt driver
unit tests, it's removed from test-requirements.txt.

Closes-Bug: #1414708

Change-Id: Id7aefe9bf21dc3d0e2db42e668faf28e926aea43
2015-01-27 15:03:31 -08:00
Jenkins e92163e602 Merge "Remove mox dependency" 2015-01-24 20:54:48 +00:00
Julien Danjou db34226a28 Remove mox dependency
There's no need to use it anymore as everything including the oslotest
library relies on mox3.

Change-Id: If1745adae209b3ea7a9e7ae4a44b38564b5b6bce
2015-01-20 13:52:47 +01:00
Julien Danjou 68fe413433 Remove useless requirements
This patch cleans up the requirement list to remove old modules that are
not used anymore directly by Nova.

Change-Id: Ifb0548aff985669ea0c4df470b8881edc3f2c26c
2015-01-19 14:41:20 +01:00
Joe Gordon b39df562c7 Move to hacking 0.10
Release notes:
http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0

* Remove references in tox.ini to removed rules
* Fix minor changes (H501)
* Clarify that H306 (imports in alphabetical order shouldn't be skipped)
* Ignore H238: check for old style class declarations
* Temporary skip W292, fix in next patch.

Change-Id: I6d990a564df6a312bd09b2a152315bbdba732082
2015-01-10 21:45:08 +00:00
Daniel P. Berrange 72de6ac4f0 remove all traces of pylint testing infrastructure
The pylint tests have been broken for several months and
the Jenkins job has also been disabled. There has been
no sign of attempts to address this, so just delete what
remains of the pylint support so developers don't mistakenly
think it is supposed to work with patches they are submitting.

Change-Id: Ifacc99e45acb0e9a72be6c31113e0cf073354f02
2015-01-08 11:56:45 +00:00
Matthew Treinish 7a543bcec8 Switch to tempest-lib's packaged subunit-trace
This commit removes the local copy of subunit-trace in nova and uses
the packaged version of the utility in tempest-lib.

Change-Id: I1ed2fea9ff3d8194628b722684492f8ba7a3cabb
2015-01-06 21:25:56 +00:00
Davanum Srinivas f9c96e1d35 Switch to moxstubout and mockpatch from oslotest
The fixtures in nova/openstack/common will be removed as
they have been removed from oslo-incubator. We should use
the fixtures from oslotest.

Note that oslotest uses mox3 instead of mox and some of the
tests were failing as a result which have been fixed in this
review. Only the failing tests have been fixed, so you will
see some tests use a mix of mock and mox3 as a result.

Based on feedback from Nova core, all existing references
to 'import mox' have been switched over to mox3 as well.

Change-Id: Ifa9dbb6f9bb1a358d815ae80cf928b65d5dcf5bd
2014-12-02 08:03:42 -05:00
OpenStack Proposal Bot ead1c2abaa Updated from global requirements
Change-Id: Iafc853662d0ab6642f5468bd2cdba1eb86f808a5
2014-11-20 14:09:43 +00:00
Jenkins c51673f384 Merge "Use session in cinderclient" 2014-11-20 12:27:14 +00:00
OpenStack Proposal Bot d8215946e8 Updated from global requirements
Change-Id: Ia0f0031936a93220b1eead193078d61e75080055
2014-11-18 19:42:49 +00:00
Jamie Lennox 4919269542 Use session in cinderclient
Use the common session loading parameters and the session object for
talking to cinder.

There are some related changes in this patch.

Firstly auth_token middleware now provides an authentication plugin that
can be used along with the session object to make requests under the
user's authentication. This will largely replace the information
required on the context object.

This authentication plugin is not serializable though and so it cannot
be transferred over RPC so we introduce a simple authentication plugin
that reconstructs the required information from the context.

When talking to cinder we now create a global session object (think of
this like keeping open a connection pool object) and use the
authentication plugin to send requests to cinder.

I also condense the cinder tests as they are largely copied and pasted
between v1 and v2 and this solves fixing them in two places.

DocImpact: Renames cinder's timeout, insecure and CA certificates
parameters to the parameters used by the common session object. Adds
options for using client certificates with connection.

Change-Id: I7afe604503b8597c16be61d2a66a10b94269a219
2014-11-18 09:46:25 +10:00
OpenStack Proposal Bot ec64294a2e Updated from global requirements
Change-Id: Ibf3abb2cf0ca3fc18fb8fc7931657bed7ed51924
2014-11-13 22:32:42 +00:00
OpenStack Proposal Bot 296b27e364 Updated from global requirements
Change-Id: I0f3cb3023952f889650c3ebbd0fb6aee5861898d
2014-11-10 23:02:10 +00:00