Commit Graph

558 Commits

Author SHA1 Message Date
Matt Riedemann d3dfeb44d6 Move wsgi-intercept to test-requirements.txt
The wsgi-intercept dependency is only used in the functional
tests for the placement API, so we should move it to the
test-requirements.txt file so people don't try to package
it for runtime installs.

Change-Id: I0d8325e12ed7d5d022877782d6aa4ba4055c30db
Closes-Bug: #1625653
2016-09-20 14:17:54 -04:00
OpenStack Proposal Bot b5356323aa Updated from global requirements
Change-Id: I83d40bf2761173a40ec0d5c460b7c6743134dbbb
2016-09-20 00:29:31 +00:00
Sean Dague bad2497b70 Update minimum requirement for netaddr
Depends-On: Iffede36c4d9fb3b27d94c9497980504a70a435ba

Change-Id: I75770f3ed4fbf9f48fde210ece90662091bc0c23
Closes-Bug: #1623838
2016-09-15 09:49:55 -04:00
Chris Dent b922af9ee8 [placement] functional test for report client
This sets up a scheduler report client that talks to a real
placement API (running via a wsgi-intercept). It then calls methods
to verify that a resource provider is created, some inventory set,
and some allocations written and deleted. For now this checks
simply that when things are done right, the right things happen
without any explosions. Additional tests could be added for unhappy
paths.

Some mocking of keystoneauth1 is required to get auth and endpoint
handling to work properly without a real keystone.

wsgi-intercept is added to requirements.txt to make the use of it in
these tests explicit. wsgi-intercept is already in global
requirements and is already required in nova (at a higher version)
by gabbi.

Change-Id: Ic28ace11796d7d746a16bdfa27cef9b8640f8c0e
2016-09-13 20:10:44 +00:00
OpenStack Proposal Bot 9a19dda3b6 Updated from global requirements
Change-Id: Idec7ecaca9ae0292194947e232740a16b634d2c2
2016-09-09 16:08:46 +00:00
OpenStack Proposal Bot 7f69d0d1c7 Updated from global requirements
Change-Id: I1bfb88ea51f046e4c4b793cbf20ce7644a350b3f
2016-09-03 01:59:32 +00:00
OpenStack Proposal Bot 3b95a3d97e Updated from global requirements
Change-Id: Id0b383be94063c6ff4bf23c335c482382c61aeef
2016-08-25 09:28:26 +00:00
OpenStack Proposal Bot 1285a02646 Updated from global requirements
Change-Id: Ic0dd5e1788bb44925c768884c6002a3a80e92e60
2016-08-21 00:07:54 +00:00
OpenStack Proposal Bot bae943b80a Updated from global requirements
Change-Id: Iabf37c6608c928fda2ca708bef52893e4a0a16e0
2016-08-16 08:58:17 +00:00
OpenStack Proposal Bot 6e508dae2a Updated from global requirements
Change-Id: I13f759652f056978a242fc1a84508f5dfcc23082
2016-08-10 20:37:21 +00:00
Jenkins d6d38fc964 Merge "network: introduce helper APIs for dealing with os-vif objects" 2016-08-09 11:45:45 +00:00
Daniel P. Berrange a8a0d89fdd network: introduce helper APIs for dealing with os-vif objects
This introduces a os_vif_utils module to nova/network which
contains logic for converting between the existing Nova
python objects in the nova.network.model namespace, and
the os-vif objects under os_vif.objects

The conversion is currently only wired up for the Linux
Bridge and OVS VIF types, which are directly supported
by os-vif. Conversion of other types will follow as &
when os-vif plugins are created for them.

This object model conversion is only expected to exist
for a short-term. The intention is that Neutron will
later be converted so that it sends across a serialized
os_vif.objects.vif.VIFBase object, instead of the port
binding dict. When this happens, Nova will be able to
directly deserialize the os-vif objects, skipping all
use of the nova.network.model objects.

As part of using os-vif, each registered plugin gets the
ability to read config parameters from nova.conf in a
private section named 'vif_plug_<plugin name>'. For
example the OpenVSwitch plugin will be in 'vif_plug_ovs'.

Plugins which make use of oslo.privsep for running some
privileged code will have a further private section in
nova.conf named 'vif_plug_<plugin namee>_privileged'
from which the privsep library will pull its configuration.
It is unlikely that operators will need to set any params
in this section, since the defaults should work optimally
for almost all scenarios.

Blueprint: os-vif-library
Change-Id: Id78858bc55ce4f3f0727cad644ef9c8f9f718556
2016-08-04 19:31:37 +01:00
OpenStack Proposal Bot 37835ab66e Updated from global requirements
Change-Id: I91540333994e68eba2f36a7dc5b55d7951d86cb4
2016-08-04 02:39:19 +00:00
OpenStack Proposal Bot fd1e672d99 Updated from global requirements
Change-Id: Ia167df49b554ade9f2fbaaa158d0177e34a1068e
2016-08-02 15:13:13 +00:00
Jenkins 9fdb5a43f2 Merge "Updated from global requirements" 2016-08-01 23:55:51 +00:00
Jenkins 71db89a350 Merge "Initialise oslo.privsep early in main" 2016-08-01 21:13:39 +00:00
OpenStack Proposal Bot 2182d2fbd7 Updated from global requirements
Change-Id: I2de707122245ed7933b4a53095f3fbc17448220e
2016-08-01 18:45:15 +00:00
Angus Lees 4a8f2b0d44 Initialise oslo.privsep early in main
Any process using oslo.privsep should now initialise the library before
first use with things like the rootwrap command to use.

This should be done near the top of main() in any command that expects
to make privileged calls via oslo.privsep (eg: nova-compute, and not
nova-api).

See I3ea73e16b07a870629e7d69e897f2524d7068ae8 for the corresponding
change in oslo.privsep.

Change-Id: I3a52f762deb176fe9201b2a0f0da363057f8aaec
Depends-On: I52259e2023e277e8fd62be5df4fd7f799e9b36d7
Closes-Bug: #1592043
2016-08-01 15:52:09 +00:00
OpenStack Proposal Bot ac409b8c6a Updated from global requirements
Change-Id: I004a05132eb9a7cd7ccccfbd4fdda8f5ee43c518
2016-07-29 02:32:26 +00:00
OpenStack Proposal Bot 0c3f0d91e3 Updated from global requirements
Change-Id: I29b117b895bfa3b91bfbb1e98a3050b3a8c1ad83
2016-07-26 23:32:00 +00:00
OpenStack Proposal Bot 12692e6e9e Updated from global requirements
Change-Id: I4a5f1ee1a399b70f9b8189a53d40d95d4e2e752e
2016-06-20 21:17:05 +00:00
OpenStack Proposal Bot 662995fa97 Updated from global requirements
Change-Id: I56d30f91b813d257b7cc16f364a5552f84f3fed0
2016-06-14 21:08:59 +00:00
OpenStack Proposal Bot 62a9d38eec Updated from global requirements
Change-Id: I3f5e7a1d94d5b91f0f3273b8506ee02de16f2385
2016-06-13 01:52:21 +00:00
OpenStack Proposal Bot 3c29c1a5df Updated from global requirements
Change-Id: Ie0e45701fd499d5667f08e11716e6e2fc3077c18
2016-06-09 18:15:26 +00:00
OpenStack Proposal Bot 597f079abe Updated from global requirements
Change-Id: I79d5d82d32c157853de112e815089e71e16b39d3
2016-06-03 20:12:55 +00:00
OpenStack Proposal Bot 7e0f846230 Updated from global requirements
Change-Id: I8fe5932db506648b3de99d9c51485d1bcc73ca50
2016-06-01 13:52:24 +00:00
OpenStack Proposal Bot 028091d623 Updated from global requirements
Change-Id: Id0b421cc4341eb8a4980f162d73ace1a17eda992
2016-05-31 03:04:34 +00:00
OpenStack Proposal Bot da61fecb0a Updated from global requirements
Change-Id: I9528100fe099193edcd87bcbc7e91e1b630d0499
2016-05-23 12:02:46 +00:00
OpenStack Proposal Bot cc980b1cd8 Updated from global requirements
Change-Id: I13d8d43caf0b81a7eb458ecaf35c1991f9cd19bb
2016-05-20 06:02:34 +00:00
OpenStack Proposal Bot 008727cf24 Updated from global requirements
Change-Id: I74141a52bccaa4540ae5682d0f862a6d30b40617
2016-05-19 13:35:40 +00:00
OpenStack Proposal Bot 12385e1879 Updated from global requirements
Change-Id: I54ef494539257c893fd134ec27b2a9469c957c7c
2016-05-13 00:43:58 +00:00
Sean Dague 6b1293fd6f Drop paramiko < 2 compat code
This drops the paramiko < 2 compatibility code so we only need to
support one major version.

Depends-On: I2369638282b4fefccd8484a5039fcfa9795069a7
(global requirements change)

Change-Id: Ife4df9e64299e1182d77d568d1deed5ec3b608b3
Closes-Bug: #1483132
2016-05-10 12:01:22 -05:00
Davanum Srinivas 82b525f1fa Add pycrypto explicitly
Running "tox -e pip-missing-reqs" was broken around the
time of the Mitaka release and we missed this requirement.

nova/crypto.py:29 dist=pycrypto module=Crypto.PublicKey.RSA

Essentially, since we are constrained using upper-constraints.txt
and the upper-constraints.txt has an entry for pycrypto, we
do not see a problem anywhere.

The dependency was introduced in:
If88beeb3983705621fe736995939ac20b2daf1f3

Closes-Bug: #1578047
Change-Id: I12978a6ca49524aa2256930617a259023e6908eb
2016-05-05 10:29:21 -04:00
OpenStack Proposal Bot 5bafd5fba5 Updated from global requirements
Change-Id: I42af18e5619fd48951a362de0de0f490b3be4385
2016-04-30 18:07:08 +00:00
OpenStack Proposal Bot 53e31a83bb Updated from global requirements
Change-Id: Iacdc56ae67ce67407b84bdabd8b1972dd175d916
2016-04-21 18:15:25 +00:00
Jenkins e34d48a9c5 Merge "Initial use of microversion_parse" 2016-04-21 13:30:06 +00:00
OpenStack Proposal Bot adf760187a Updated from global requirements
Change-Id: I32eabad9307c4d1a9d7f50ec2a8245fc298f6661
2016-04-19 12:27:23 +00:00
Chris Dent 815a60e294 Initial use of microversion_parse
microversion_parse is a new simple library that does one job: it
extracts microversions from headers. By default it will look for
the new style 'OpenStack-API-Version: compute 2.15' but can be
called to look in a variety of old style headers.

In this change 'X-OpenStack-Nova-API-Version: 2.15' continues to
work and no further changes are done. Followup patches will add
tests for the new style header and versioning of the microversion
(if required).

Depends-On: Iea8bf5cc70ad24bb352347ef347be71817db3dc5
Change-Id: I9098ab8f0800fb0550887f5eff219b18addde709
2016-04-15 10:28:07 +00:00
OpenStack Proposal Bot 7823730348 Updated from global requirements
Change-Id: Ibab571ba7147a338560b99cdcfb93a0056de39e2
2016-04-14 02:36:44 +00:00
OpenStack Proposal Bot 44db7db0a8 Updated from global requirements
Change-Id: I6a48ce8c27259a9a077691366d7fd85f78a57ffa
2016-04-12 23:12:25 +00:00
OpenStack Proposal Bot 2b079fa477 Updated from global requirements
Change-Id: Iabf9a359d34319d684781258074958ac0f120f42
2016-04-08 18:40:37 +00:00
Sean Dague d5091520ac remove alembic from requirements.txt
Alembic was used in attempt #1 of online schema migrations, however
that was reverted in Icae28ceee3ec975c907d73b95babab58dcb30c23 when
that approach was dropped.

There are no other uses of alembic directly in Nova, so we should not
list this requirement.

Change-Id: I452bfc8454aedff1bbaffacc99d0845186ba4234
2016-04-08 07:23:26 -04:00
OpenStack Proposal Bot e2140d23b7 Updated from global requirements
Change-Id: I15eb62743dfcfea3fdf99361f358ec06e25ffdf5
2016-04-08 00:31:05 +00:00
OpenStack Proposal Bot a957e1ef5d Updated from global requirements
Change-Id: Iedd1f5264e87e506bd3a1c09614aa1dc891dc685
2016-04-05 13:41:00 +00:00
OpenStack Proposal Bot 3261300188 Updated from global requirements
Change-Id: I74168f8aa7d4875b160e44ff53b9abd6083d1fe4
2016-04-02 16:15:18 +00:00
OpenStack Proposal Bot a35bd32391 Updated from global requirements
Change-Id: I7fc5fe2e1ba2f1f0e705f0b92984139e176f4daf
2016-03-05 20:48:35 +00:00
OpenStack Proposal Bot 6e3b955b27 Updated from global requirements
Change-Id: I7cc4d3e806686f299dc9faaf0d954f448f3774aa
2016-02-26 01:51:32 +00:00
OpenStack Proposal Bot 3278b8b625 Updated from global requirements
Change-Id: If99cbc9232013146ce4ba0a002dd3dd61faa5532
2016-02-24 08:35:48 +00:00
OpenStack Proposal Bot 84fdf2dca1 Updated from global requirements
Change-Id: I24f3dc7739aa1dd8d1a06a5fd5c4a134a8657eb1
2016-02-12 20:04:58 +00:00
OpenStack Proposal Bot 15043e547e Updated from global requirements
Change-Id: Ib3f0d8dfae66f4692cab91932e285797f2d3dcc6
2016-02-05 05:11:04 +00:00