[openstack-dev] oslo.messaging 1.5.0 released
Mehdi Abaakouk
sileht at sileht.net
Tue Dec 2 17:26:59 UTC 2014
The Oslo team is pleased to announce the release of oslo.messaging
1.5.0.
This release includes a number of fixes about rabbit driver timeout that
was not always respected, starts using kombu API instead of custom code
when it's possible. It also introduces the first ZMQ unit tests.
And ZMQ and AMQP 1.0 drivers got some bug fixes and improvements.
For more details, please see the git log history below and
https://launchpad.net/oslo.messaging/+milestone/1.5.0
Please report issues through launchpad:
https://launchpad.net/oslo.messaging
----------------------------------------
Changes in openstack/oslo.messaging 1.4.1..1.5.0
cb78f2e Rabbit: Fixes debug message format
2dd7de9 Rabbit: iterconsume must honor timeout
bcb3b23 Don't use oslo.cfg to set kombu in-memory driver
f3370da Don't share connection pool between driver object
c7d99bf Show what the threshold is being increased to
30a5b12 Wait for expected messages in listener pool test
c8e02e9 Dispath messages in all listeners in a pool
cb96666 Reduces the unit tests run times
b369826 Set correctly the messaging driver to use in tests
7bce31a Always use a poll timeout in the executor
f1c7e78 Have the timeout decrement inside the wait() method
e15cd36 Renamed PublishErrorsHandler
80e62ae Create a new connection when a process fork has been detected
42f55a1 Remove the use of PROTOCOL_SSLv3
a8d3da2 Add qpid and amqp 1.0 tox targets
a5ffc62 Updated from global requirements
ee6a729 Imported Translations from Transifex
973301a rabbit: uses kombu instead of builtin stuffs
d9d04fb Allows to overriding oslotest environ var
0d49793 Create ZeroMQ Context per socket
7306680 Remove unuseful param of the ConnectionContext
442d8b9 Updated from global requirements
5aadc56 Add basic tests for 0mq matchmakers
30e0aea Notification listener pools
7ea4147 Updated from global requirements
37e5e2a Fix tiny typo in server.py
10eb120 Switch to oslo.middleware
a3ca0e5 Updated from global requirements
6f76039 Activate pep8 check that _ is imported
f43fe66 Enable user authentication in the AMQP 1.0 driver
f74014a Documentation anomaly in TransportURL parse classmethod
f61f7c5 Don't put the message payload into warning log
70910e0 Updated from global requirements
6857db1 Add pbr to installation requirements
0088ac9 Updated from global requirements
f1afac4 Add driver independent functional tests
a476b2e Imported Translations from Transifex
db2709e zmq: Remove dead code
a87aa3e Updated from global requirements
3dd6a23 Finish transition to oslo.i18n
969847d Imported Translations from Transifex
63a5f1c Imported Translations from Transifex
1640cc1 qpid: Always auto-delete queue of DirectConsumer
6b405b9 Updated from global requirements
d4e64d8 Imported Translations from Transifex
487bbf5 Enable oslo.i18n for oslo.messaging
8d242bd Switch to oslo.serialization
f378009 Cleanup listener after stopping rpc server
5fd9845 Updated from global requirements
ed88623 Track the attempted method when raising UnsupportedVersion
93283f2 fix memory leak for function _safe_log
2478675 Stop using importutils from oslo-incubator
3fa6b8f Add missing deprecated group amqp1
f44b612 Updated from global requirements
f57a4ab Stop using intersphinx
bc0033a Add documentation explaining how to use the AMQP 1.0 driver
d2b34c0 Imported Translations from Transifex
4b57eee Construct ZmqListener with correct arguments
3e6c0b3 Message was send to wrong node with use zmq as rpc_backend
e0adc7d Work toward Python 3.4 support and testing
d753b03 Ensure the amqp options are present in config file
214fa5e Add contributing page to docs
f8ea1a0 Import notifier middleware from oslo-incubator
41fbe41 Let oslotest manage the six.move setting for mox
ff6c5e9 Add square brackets for ipv6 based hosts
b9a917c warn against sorting requirements
7c2853a Improve help strings
diffstat (except docs and test files):
.testr.conf | 2 +-
openstack-common.conf | 4 -
.../locale/de/LC_MESSAGES/oslo.messaging.po | 34 +-
.../LC_MESSAGES/oslo.messaging-log-critical.po | 21 -
.../en_GB/LC_MESSAGES/oslo.messaging-log-error.po | 14 +-
.../en_GB/LC_MESSAGES/oslo.messaging-log-info.po | 21 -
.../LC_MESSAGES/oslo.messaging-log-warning.po | 21 -
.../locale/en_GB/LC_MESSAGES/oslo.messaging.po | 33 +-
.../fr/LC_MESSAGES/oslo.messaging-log-error.po | 27 ++
.../locale/fr/LC_MESSAGES/oslo.messaging.po | 38 ++
oslo.messaging/locale/oslo.messaging-log-error.pot | 9 +-
oslo.messaging/locale/oslo.messaging.pot | 31 +-
oslo/messaging/_drivers/amqp.py | 34 +-
oslo/messaging/_drivers/amqpdriver.py | 62 ++-
oslo/messaging/_drivers/base.py | 9 +
oslo/messaging/_drivers/common.py | 32 +-
oslo/messaging/_drivers/impl_fake.py | 37 +-
oslo/messaging/_drivers/impl_qpid.py | 10 +-
oslo/messaging/_drivers/impl_rabbit.py | 359
+++++++--------
oslo/messaging/_drivers/impl_zmq.py | 88 +---
oslo/messaging/_drivers/matchmaker.py | 2 +-
oslo/messaging/_drivers/matchmaker_ring.py | 2 +-
oslo/messaging/_drivers/protocols/amqp/__init__.py | 14 -
.../_drivers/protocols/amqp/controller.py | 140 +++---
oslo/messaging/_drivers/protocols/amqp/driver.py | 93 ++--
.../messaging/_drivers/protocols/amqp/eventloop.py | 59 ++-
oslo/messaging/_drivers/protocols/amqp/opts.py | 73 +++
oslo/messaging/_executors/base.py | 4 +
oslo/messaging/_executors/impl_blocking.py | 14 +-
oslo/messaging/_executors/impl_eventlet.py | 14 +-
oslo/messaging/_i18n.py | 35 ++
oslo/messaging/conffixture.py | 15 -
oslo/messaging/notify/__init__.py | 3 +-
oslo/messaging/notify/_impl_log.py | 2 +-
oslo/messaging/notify/_impl_routing.py | 2 +-
oslo/messaging/notify/dispatcher.py | 7 +-
oslo/messaging/notify/listener.py | 14 +-
oslo/messaging/notify/log_handler.py | 5 +-
oslo/messaging/notify/middleware.py | 128 ++++++
oslo/messaging/openstack/common/__init__.py | 17 -
oslo/messaging/openstack/common/gettextutils.py | 498
---------------------
oslo/messaging/openstack/common/importutils.py | 73 ---
oslo/messaging/openstack/common/jsonutils.py | 196 --------
.../openstack/common/middleware/__init__.py | 0
oslo/messaging/openstack/common/middleware/base.py | 56 ---
oslo/messaging/openstack/common/strutils.py | 239 ----------
oslo/messaging/openstack/common/timeutils.py | 210 ---------
oslo/messaging/opts.py | 4 +-
oslo/messaging/rpc/dispatcher.py | 9 +-
oslo/messaging/server.py | 5 +-
oslo/messaging/transport.py | 24 +-
requirements-py3.txt | 19 +-
requirements.txt | 24 +-
setup.cfg | 2 +-
test-requirements-py3.txt | 12 +-
test-requirements.txt | 15 +-
tests/drivers/test_impl_rabbit.py | 198 +++-----
tests/drivers/test_matchmaker.py | 69 +++
tests/drivers/test_matchmaker_redis.py | 78 ++++
tests/drivers/test_matchmaker_ring.py | 73 +++
tests/executors/test_executor.py | 2 +-
tests/functional/__init__.py | 0
tests/functional/test_functional.py | 279 ++++++++++++
tests/functional/utils.py | 343 ++++++++++++++
tests/notify/test_dispatcher.py | 4 +-
tests/notify/test_listener.py | 199 ++++++--
tests/notify/test_log_handler.py | 18 +-
tests/notify/test_middleware.py | 190 ++++++++
tests/notify/test_notifier.py | 2 +-
tests/rpc/test_dispatcher.py | 2 +
tests/rpc/test_server.py | 20 +
tests/test_amqp_driver.py | 91 +++-
tests/test_exception_serialization.py | 2 +-
tests/test_opts.py | 3 +-
tests/test_transport.py | 2 +-
tests/utils.py | 1 +
tox.ini | 24 +-
82 files changed, 2464 insertions(+), 2260 deletions(-)
Requirements updates:
diff --git a/requirements-py3.txt b/requirements-py3.txt
index 1ddc482..e074095 100644
--- a/requirements-py3.txt
+++ b/requirements-py3.txt
@@ -1,3 +1,9 @@
-oslo.config>=1.2.1
-oslo.utils>=0.2.0
-stevedore>=0.14
+# The order of packages is significant, because pip processes them in
the order
+# of appearance. Changing the order has an impact on the overall
integration
+# process, which may cause wedges in the gate later.
+
+oslo.config>=1.4.0 # Apache-2.0
+oslo.serialization>=1.0.0 # Apache-2.0
+oslo.utils>=1.0.0 # Apache-2.0
+oslo.i18n>=1.0.0 # Apache-2.0
+stevedore>=1.1.0 # Apache-2.0
@@ -8,3 +13,0 @@ six>=1.7.0
-# used by openstack/common/gettextutils.py
-Babel>=1.3
-
@@ -15 +18 @@ PyYAML>=3.1.0
-kombu>=2.4.8
+kombu>=2.5.0
@@ -18 +21 @@ kombu>=2.4.8
-WebOb>=1.2.3
+oslo.middleware>=0.1.0 # Apache-2.0
diff --git a/requirements.txt b/requirements.txt
index efb513e..3f80258 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,11 @@
-oslo.config>=1.4.0.0a3
-oslo.utils>=0.2.0
-stevedore>=0.14
+# The order of packages is significant, because pip processes them in
the order
+# of appearance. Changing the order has an impact on the overall
integration
+# process, which may cause wedges in the gate later.
+
+pbr>=0.6,!=0.7,<1.0
+
+oslo.config>=1.4.0 # Apache-2.0
+oslo.utils>=1.0.0 # Apache-2.0
+oslo.serialization>=1.0.0 # Apache-2.0
+oslo.i18n>=1.0.0 # Apache-2.0
+stevedore>=1.1.0 # Apache-2.0
@@ -11,4 +19 @@ six>=1.7.0
-eventlet>=0.13.0
-
-# used by openstack/common/gettextutils.py
-Babel>=1.3
+eventlet>=0.15.2
@@ -20 +25,4 @@ PyYAML>=3.1.0
-kombu>=2.4.8
+kombu>=2.5.0
+
+# middleware
+oslo.middleware>=0.1.0 # Apache-2.0
diff --git a/test-requirements-py3.txt b/test-requirements-py3.txt
index 1c922e7..49c9cba 100644
--- a/test-requirements-py3.txt
+++ b/test-requirements-py3.txt
@@ -0,0 +1,4 @@
+# The order of packages is significant, because pip processes them in
the order
+# of appearance. Changing the order has an impact on the overall
integration
+# process, which may cause wedges in the gate later.
+
@@ -11,2 +15,2 @@ testscenarios>=0.4
-testtools>=0.9.34
-oslotest
+testtools>=0.9.36,!=1.2.0
+oslotest>=1.2.0 # Apache-2.0
@@ -20,2 +24,2 @@ coverage>=3.6
-sphinx>=1.1.2,!=1.2.0,<1.3
-oslosphinx
+sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
+oslosphinx>=2.2.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 610a052..3105e4c 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -0,0 +1,4 @@
+# The order of packages is significant, because pip processes them in
the order
+# of appearance. Changing the order has an impact on the overall
integration
+# process, which may cause wedges in the gate later.
+
@@ -11,2 +15,2 @@ testscenarios>=0.4
-testtools>=0.9.34
-oslotest
+testtools>=0.9.36,!=1.2.0
+oslotest>=1.2.0 # Apache-2.0
@@ -16,0 +21,3 @@ qpid-python
+# for test_matchmaker_redis
+redis>=2.10.0
+
@@ -23,2 +30,2 @@ coverage>=3.6
-sphinx>=1.1.2,!=1.2.0,<1.3
-oslosphinx
+sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
+oslosphinx>=2.2.0 # Apache-2.0
More information about the OpenStack-dev
mailing list