201 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
73a087bcc2 Updated from global requirements
Change-Id: I9865d4d0cdd475638ca49b0588ba880a52ee8897
2014-08-04 03:24:23 +00:00
OpenStack Proposal Bot
98870727b8 Updated from global requirements
Change-Id: I4116476698feba5b17ed4443db75a27c53da8615
2014-07-28 19:49:32 +00:00
OpenStack Proposal Bot
fe792e2676 Updated from global requirements
Change-Id: Ibdbdae16eb5b15cdfa5ca194dc852abfde14f74d
2014-07-24 16:04:36 +00:00
Jenkins
5aa6a96ad5 Merge "Use auth_token from keystonemiddleware" 2014-07-15 22:11:03 +00:00
Brant Knudson
2238d52b6d Use auth_token from keystonemiddleware
auth_token middleware in python-keystoneclient is deprecated and has
been moved to the keystonemiddleware repo.

Closes-Bug: #1342274

Change-Id: I1aadbe24db63eb2507b088cd53886d7f2e192cab
2014-07-15 18:37:04 +00:00
OpenStack Proposal Bot
2c1671b24d Updated from global requirements
Change-Id: I128b621ecb9f54db5054e24a8db807e2722ce619
2014-07-08 04:00:53 +00:00
OpenStack Proposal Bot
cbdd6e7522 Updated from global requirements
Change-Id: If26b2e9b875f8cae0af1cf66607ef1efb8dd429c
2014-07-02 12:25:51 +00:00
OpenStack Proposal Bot
0f8d979534 Updated from global requirements
Change-Id: I4e105ae586e8a2379f3025f6f0d0344738b4e925
2014-07-01 13:08:10 +00:00
Roman Podoliaka
73a2650c15 Switch to using of oslo.db
oslo.db first stable release has been cut and we can start using it
instead of openstack/common/db/* code which is now marked obsolete.

Change-Id: I1ccf896922a5a762d37a1a3b93c56c8b8ae8c085
2014-06-30 14:07:59 +03:00
OpenStack Proposal Bot
9615349656 Updated from global requirements
Change-Id: Ie0621bc8226585199a7c36771f23fc125747d3f9
2014-06-24 07:22:04 +00:00
Ihar Hrachyshka
3aca3f7745 Port to oslo.messaging
Now that all preparations are done, actually port the code to use
oslo.messaging. This patch does as little as possible. Follow up patches
that refactor and cleanup the code and configuration files, will be
merged later. The reason for this is to make the patch as slim as
possible, to make review process more smooth and concentrated.

Details:
* neutron/common/rpc.py:
  - added init() and cleanup() to set global RPC layer state.
  - added utility functions: get_server(), get_client(), get_notifier()
    that wrap up oslo.messaging API a bit, enforcing eventlet executor
    and setting serializer, among other things.
  - removed PluginRpcDispatcher, instead introduced PluginRpcSerializer
    to use as a default serializer for API callbacks.

* neutron/common/rpc_compat.py:
  - emulated incubator RPC layer behaviour thru previously introduced
    stub classes (RpcCallback, RpcProxy, ...) using new oslo.messaging
    API.
  - switched to using new oslo.messaging exception types.

* neutron/service.py:
  - expect multiple RPC listeners that are of MessageHandlingServer
    type, not GreenThread.

* neutron/common/config.py:
  - initialize RPC layer in init()

* setup.cfg:
  - added entry points for old notifier drivers to retain backward
    compatibility.

* neutron/tests/...:
  - introduced fake_notifier to replace impl_fake.
  - faked out consume_in_thread() to avoid starting RPC listeners when
    running unit tests.
  - used 'fake' transport driver.
  - made sure neutron.test.* exceptions are caught.
  - initialize and clean up RPC layer for each test case.

* Ported all affected code from using neutron.openstack.common.notifier
  API to oslo.messaging.Notifier.

* rpc.set_defaults() was renamed to rpc.set_transport_defaults()

* other changes not worth mentioning here.

blueprint oslo-messaging

DocImpact

Change-Id: I5a91c34df6e300f2dc46217b1b16352fcc3039fc
2014-06-19 12:58:01 +02:00
OpenStack Proposal Bot
4b86c00c5b Updated from global requirements
Change-Id: I321a9db3ff1082e226f9cf8d831c287c64d871f9
2014-06-18 19:35:58 +00:00
OpenStack Proposal Bot
4a07490905 Updated from global requirements
Added exclusions for newly triggered errors.

Change-Id: I580c4a6a3861c399e010f435c0b92ed719d6a418
2014-06-12 01:07:39 -04:00
OpenStack Proposal Bot
849d52fa2a Updated from global requirements
Change-Id: I724ef5f13fd7444ea053bd29fbefda2f73897353
2014-05-09 02:24:03 +00:00
Dirk Mueller
82fd4d3c71 Remove explicit dependency on amqplib
kombu already depends on amqp or amqplib depending on its
version, and no explicit access to amqplib exists in neutron code.

Closes-Bug: #1317094
Change-Id: I5cf189d7173b732cba6df3f9b6aff1d2bb85cdfe
2014-05-07 15:15:15 +02:00
OpenStack Proposal Bot
23386c41f8 Updated from global requirements
Change-Id: I11182ae01c05ed104b064c2b68bcbf5a53e0da99
2014-04-22 01:49:26 +00:00
OpenStack Jenkins
61c9418369 Updated from global requirements
Change-Id: I576919f28d7dd1a04ce1a3795bbf940b82d0d76f
2014-04-07 21:10:22 +00:00
OpenStack Jenkins
6894647394 Updated from global requirements
Change-Id: I920146bc6ea4eb490f42e1293552536f62949316
2014-04-01 11:51:30 +00:00
OpenStack Jenkins
2d2515893c Updated from global requirements
Change-Id: I211336108a37b6396c2b82ee2469873b8a569755
2014-03-21 22:28:55 +00:00
OpenStack Jenkins
a770de3253 Updated from global requirements
Change-Id: I2e22d529892a1a15aa300b9904362cf491fd8064
2014-03-11 17:31:09 +00:00
OpenStack Jenkins
67a31ebed6 Updated from global requirements
Change-Id: I40115d573e0f5dbfde9641a5f797e2aa7af254a3
2014-03-10 14:47:21 +00:00
OpenStack Jenkins
3b496ec619 Updated from global requirements
Change-Id: I5d909a9924f69ee21f463aa09e702b30f1ef1860
2014-03-08 01:51:30 +00:00
OpenStack Jenkins
3c661d72bd Updated from global requirements
Change-Id: I9ae28b6f84f1914fc4d53f7ad1f7742baa50dea9
2014-03-05 19:24:53 +00:00
OpenStack Jenkins
9f52870206 Updated from global requirements
Change-Id: Idafb224b0a2c4845fd1689527a08e0c36701cddd
2014-02-28 17:37:58 +00:00
Justin Lund
aee6c9abe6 Sync minimum requirements
Change-Id: I1a0653058f1f8085918d7c43147d6b2631acb013
Closes-bug:1280941
2014-02-20 18:56:38 -05:00
Jenkins
cbd2536658 Merge "Remove psutil dependency" 2014-02-11 09:34:08 +00:00
Terry Wilson
da4f5a45d7 Remove psutil dependency
The version of psutil that was being required is not hosted on
PyPi which caused some issues. This patch removes the psutil
dependency in favor of using the method that was proposed for
the havana backport of polling minimization.

Closes-bug: #1268711
Change-Id: I5a1672cfd195099d92578321153c42b8bfd09b7d
2014-02-10 12:40:16 -06:00
Thierry Carrez
7d4a40ea8e Use oslo.rootwrap library instead of local copy
Remove rootwrap code copied from oslo-incubator, make the
{neutron,quantum}-rootwrap console_script entrypoints point to
oslo.rootwrap code instead.

Adjust bin/{neutron,quantum}-rootwrap[-xen-dom0] so that it calls
into oslo.rootwrap.cmd.

Change-Id: I22df4060d6bca6affd7761fec49d2767ca8f59cf
Implements: blueprint neutron-oslo-rootwrap
2014-02-07 10:58:27 +01:00
OpenStack Jenkins
bada0b2fa9 Updated from global requirements
Change-Id: Iec62e381c079d1a71bd5d49f09cf71f6f4f68f72
2013-12-10 23:42:28 +00:00
Terry Wilson
c84480dfc2 Ensure get_pid_to_kill works with rootwrap script
To ensure that correct process is killed when using a rootwrap
script, we must recursively list the children of our top-level
process and kill the last one. This patch uses the psutil python
module which is already used in the heat-cfntools project.

Change-Id: I702bb9dd794c08fcaab637284ee303de1778cbb9
2013-11-20 09:57:23 -06:00
OpenStack Jenkins
1ec75f8db8 Updated from global requirements
Change-Id: Ifbcffab245f7dee50f5a84489011e220a3f8fea8
2013-10-24 13:16:21 +00:00
OpenStack Jenkins
b6f49fb302 Updated from global requirements
Change-Id: Ica7315effe308bd739e90f885849fac27a3c542b
2013-10-19 15:38:27 +00:00
OpenStack Jenkins
b6e2fb6dac Updated from global requirements
Change-Id: Id6c3328045ab356a232eb0fe71033f1272b76c5d
2013-10-01 16:13:29 +00:00
Mark McLoughlin
5a6f2ffd71 Require oslo.config 1.2.0 final
Now that 1.2.0 has been released, require it rather than one of the beta
release tarballs.

Closes-Bug: #1182861
Change-Id: I75ffc4a572d14488d19491a38742d6920951c171
2013-09-24 21:56:14 +01:00
Nachi Ueno
af6a3b444f Reference driver implementation (IPsec) for VPNaaS
Implements blueprint ipsec-vpn-reference

This patch implements reference driver implementation for VPNaaS.
The driver uses openswan to manage vpn connections.

Future work: Support ikepolicy and ipsec update
Support service type framework
Intelligent updating of resources

This commit adds jinja2 for requirements.txt for
generating cofig file.

Change-Id: I8c5ed800a71ca014dc7bdbb6a57c4f8d18fa82e0
2013-09-04 00:32:39 -07:00
sukhdev
31b2239b1c Arista ML2 Mechanism driver
This patch implements Arista's modular L2 mechanism driver to
automate the management of virtual networks along with physical networks
using Arista hardware devices (Spine and Leaf switches)

This driver uses ML2 Mechanism Driver-API to interface with Neutron ML2 Plugin.

implements: blueprint arista-ml2-mechanism-driver

Change-Id: I1c4ca36cf3d7af013b7b3353e7b7d89fe39f91bf
2013-09-03 17:03:23 -04:00
Luke Gorrie
848e6685f1 ML2 Mechanism Driver for Tail-f Network Control System (NCS)
Define a new ML2 Mechanism Driver that replicates Neutron network/port
configuration changes to NCS: http://www.tail-f.com/network-control-system/

Configuration is sent using a HTTP/JSON interface.

Implements blueprint tailf-ncs

Change-Id: I1f73fa3f2e4eec8e5a0f2865aec2d934e25c76d1
2013-09-03 18:14:32 +00:00
alexpilotti
63f35d0c43 Fixes Windows setup dependency bug
Fixes bug: #1212385

The neutron project includes a setup hook that allows to dinamically
include setup dependencies.

Due to recent changes in the pbr project, the hook raises an exception
on Windows, which ends the setup process.

This fix solves the issue by adapting the hook to the recent pbr changes.

Change-Id: I4b00d74d23a7167a10ba86458943ff16ca51b0db
2013-08-15 22:58:14 +03:00
Clint Byrum
a170de9347 Restore Babel to requirements.txt
Babel is needed by code synced in from oslo-incubator, namely
neutron.openstack.common.gettextutils.

Fixes bug #1212135

Change-Id: I7f490fb8cf9a4fcba1711cf464f934d60d6d435e
2013-08-14 00:53:36 -07:00
Monty Taylor
0ab10e5dca Updated from global requirements
Also, revert commit 9826e0932596e77414b16b3c4ba237d847b30db1

Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530
2013-08-09 17:10:02 -03:00
Amir Sadoughi
eb2168c907 Adds Babel dependency missing from 555d27c
Fixes bug 1207882

Change-Id: Ic958ca774446b807d8675a1de94e6afafd6c97ba
2013-08-03 19:34:29 -05:00
zhhuabj
8984afb8d7 Fix the alphabetical order in requirement files
Fix the alphabetical order in requirement files,
Bring into correspondence with other project,like
https://github.com/openstack/requirements/blob/ \
master/requirements.txt

Fixes bug #1207823

Change-Id: If70ff2a815343615870e54991aa0d3db3adc5147
2013-08-03 00:50:13 +08:00
Hirofumi Ichihara
6a438c4c71 Remove comments from requirements.txt (workaround pbr bug)
Workaround for pbr bug #1191923

Change-Id: I3ab1f5bde70fea3ac30323449b645aef46352f81
2013-07-31 15:40:45 +09:00
Mark McLoughlin
57cd97a559 Fix issue with pip installing oslo.config-1.2.0
Fixes bug #1194807

Firstly, we update the oslo.config dep to 1.2.0a3 because of the issue
with namespace packages (bug #1194742).

But the main issue here is that if you currently do:

  $> pip install -r quantum/requirements.txt

then you end up with the oslo.config 1.1.1 code installed. This is
because oslo.config>=1.1.0 gets pulled in as a transitive dep and pip
gets confused. You can reproduce with e.g.

  $> pip install \
       http://.../oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3 \
       python-keystoneclient
  $> pip freeze | grep oslo.config
  oslo.config-1.2.0a3
  $> python -c 'from oslo.config.cfg import DeprecatedOpt'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
  ImportError: cannot import name DeprecatedOpt

This is because of a bug with pip where it sees oslo.config-1.2.0a3 and
oslo.config as two unrelated things. It should strip the version part of
the egg= fragment before using it as a package name, but it doesn't.

However, we can simply use the -f/--find-links pip option in our
requirements.txt to add the tarball URL to the list of URLs considered
and also add the oslo.config>=1.2.0a3 dependency:

  $> pip install \
       -f http://.../oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3 \
       'oslo.config>=1.2.0a3' \
       python-keystoneclient
  $> pip freeze | grep oslo.config
  oslo.config-1.2.0a3
  $> python -c 'from oslo.config.cfg import DeprecatedOpt'

This is actually exactly the semantics we want and we go to great
lengths in pbr to get these semantics while using a single tarball URL.
The only downside to this --find-links strategy is that we gain an extra
line in our requirements.txt ... but it does work around the pip bug.

Change-Id: I6f3eb5fd2c75615d9a1cae172aed859b36b27d4c
2013-07-11 20:17:04 +01:00
Mark McClain
380b0e7db6 Rename Quantum to Neutron
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.

implements blueprint: remove-use-of-quantum

Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
2013-07-06 15:02:43 -04:00
Dirk Mueller
5a18a8a0d1 Require greenlet 0.3.2 (or later)
Version 0.3.2 resolves a bug that allowed generic "except
Exception:" clauses to catch GreenletExit exceptions.

bug 1097203

Change-Id: Ifc5a40dd1da8d115ccbe7fa4a948d12ff1c89099
2013-06-23 15:34:22 +02:00
Mark McLoughlin
33eeb6f96a Allow use of lowercase section names in conf files
Fixes bug #1189889

oslo.config-1.2.0 normalizes section names in config files to lowercase.
This means that simply by upgrading to oslo.config-1.2.0, users will now
be able to do e.g.

  [default_servicetype]
  description = ...
  service_definition = ...

Change the default config files to make it clear we recommend the use of
lowercase section names.

Note, the use of an alpha tarball of oslo.config requires pbr>=0.5.15
but we already require >=0.5.16.

DocImpact

Change-Id: Ia47fb3d168da71d3221b25979f8c9257d70dd64d
2013-06-18 21:05:30 +01:00
Jenkins
18e5d8a480 Merge "Require pbr 0.5.16 or newer" 2013-06-17 02:26:52 +00:00
Jordan Tardif
f13787f379 Require pbr 0.5.16 or newer
Use a version of pbr greater then 0.5.15. Earlier versions have problems
when alpha tarballs are used as dependencies.

Fixes bug 1191155

Change-Id: I889358ae746761b282c5933c53bce10017be4c57
2013-06-16 15:12:53 -07:00
Gary Kotton
5fe502f739 Update to the latest stevedore
Use a version of stevedore that does not try to
install distribute.

The requirements change is in https://review.openstack.org/#/c/32738/

Change-Id: If39d886cb68044871617600650ef8546635143bc
2013-06-16 13:03:56 +00:00