Commit Graph

66 Commits

Author SHA1 Message Date
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
OpenStack Proposal Bot 82a94bb70e Updated from global requirements
Change-Id: I11c99071cab59458a093485aa903b5fff9b8c1d5
2014-10-28 11:50:22 +00:00
OpenStack Proposal Bot 49b339d61c Updated from global requirements
Change-Id: I0143a9659a2dafaacf687f117b77a627e468a106
2014-10-13 18:48:45 +00:00
OpenStack Proposal Bot 05a9337c8d Updated from global requirements
Change-Id: Ib0b48969350c16427e05470edcf1d240819798fb
2014-09-19 18:20:40 +00:00
OpenStack Proposal Bot 63ad39a90b Updated from global requirements
Change-Id: Ia631e585f9133f4d2f606394a6ffe47c323a9242
2014-09-13 07:26:01 +00:00
Michael Davies e3fe96d71a Import Ironic Driver & supporting files - part 1
Import the Ironic virt driver and supporting files (client lib wrapper
and state mapping), as well as relevant unit tests, as of commit
da967d77894be6f23d81fb5cc948f9d13898ba84

This is the dicing up of review/103167 into smaller chunks
ready for review.

Change-Id: If1f51c97212f687dd0d4d4044e9dbf7a90335e75
Co-authored-by: Adam Gandelman <adamg@ubuntu.com>
Co-authored-by: Andrey Kurilin <akurilin@mirantis.com>
Co-authored-by: ChangBo Guo(gcb) <eric.guo@easystack.cn>
Co-authored-by: Chris Behrens <cbehrens@codestud.com>
Co-authored-by: Chris Krelle <nobodycam@gmail.com>
Co-authored-by: David Shrewsbury <shrewsbury.dave@gmail.com>
Co-authored-by: Devananda van der Veen <devananda.vdv@gmail.com>
Co-authored-by: Dmitry Tantsur <dtantsur@redhat.com>
Co-authored-by: Jim Rollenhagen <jim@jimrollenhagen.com>
Co-authored-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Co-authored-by: Matthew Gilliard <matthew.gilliard@hp.com>
Co-authored-by: Mikhail Durnosvistov <mdurnosvistov@mirantis.com>
Co-authored-by: Pablo Fernando Cargnelutti <pablo.fernando.cargnelutti@intel.com>
Co-authored-by: Robert Collins <rbtcollins@hp.com>
Co-authored-by: ryo.kurahashi <kurahashi-rxa@necst.nec.co.jp>
2014-09-05 19:00:12 -04:00
Dolph Mathews d2ea835147 warn against sorting requirements
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Closes-Bug: 1365061
2014-09-03 11:49:54 -05:00
OpenStack Proposal Bot aae07caffc Updated from global requirements
Change-Id: I07afee130b7e1a362597784e8e31dc35e6f74674
2014-08-22 23:33:29 +00:00
OpenStack Proposal Bot c71ef8e109 Updated from global requirements
Change-Id: Ide162a1145a2c8b67546812fbfcdc24a5753818b
2014-07-28 19:51:31 +00:00
Clark Boylan 8f505b8526 Stop depending on sitepackages libvirt-python
We can install libvirt-python bindings from pypi now because the libvirt
devs are supporting pypi packages and the version of libvirt we are
testing nova master against is new enough to link against that pypi
package.

Making this switch will better isolate nova test environments as all
dependencies can be installed without any site packages leaking into
virtualenvs. It will also make the dependency on libvirt-python a bit
more explicit.

Change-Id: I2890702869f05a02ad5e2ecb419db06433231b36
2014-07-25 12:36:46 -07:00
Jenkins 101d16237c Merge "Move oslotest to test only requirements" 2014-07-14 03:21:10 +00:00