We are gleeful to announce the release of: oslo.messaging 4.1.0: Oslo Messaging API
This release is part of the mitaka release series. With source available at: http://git.openstack.org/cgit/openstack/oslo.messaging With package available at: https://pypi.python.org/pypi/oslo.messaging Please report issues through launchpad: http://bugs.launchpad.net/oslo.messaging For more details, please see below. Changes in oslo.messaging 4.0.0..4.1.0 -------------------------------------- e7d6e92 [zmq] Fix slow down e32560e Update translation setup b515859 Let PikaDriver inherit base.BaseDriver 062fedc Improve simulator.py a0d806f Fixed some warnings about imports and variable 79c9b46 Updated from global requirements 07822a0 Adds document and configuration guide 3c41df9 [zmq] Support KeyboardInterrupt for broker 08dd23d [zmq] Reduce proxy for direct messaging 166cfbf Fixed a couple of pep8 errors/warnings 890125e assertEquals is deprecated, use assertEqual fb1164f Updated from global requirements 3e5a9f6 Updated from global requirements 7aa7a88 Trivial: Remove unused logging import 6e2f4ef replace string format arguments with function parameters 2706e16 Adds params field to BlockingConnection object 2d2f6ca Python 3 deprecated the logger.warn method in favor of warning c066c96 Fix URL in warning message a0a58da [zmq] Implement background redis polling from the client-side bb8f950 rabbit: Add option to configure QoS prefetch count 0870604 rabbit: making interval_max configurable 4ca6583 Imported Translations from Zanata 7d71a98 Updated from global requirements 39729e4 Logging rpc client/server targets c818e85 Updated from global requirements 9880765 Topic/server arguments changed in simulator.py 0b350f2 [zmq] Update zmq-guide with new options 3fd208e [zmq] Listeners management cleanup 5a78019 Drop H237,H402,H904 in flake8 ignore list 5150661 Replace deprecated library function os.popen() with subprocess 5ff2dfc py3: Replaces xrange() with six.moves.range() 10625ee Kombu: make reply and fanout queues expire instead of auto-delete 3706263 fix .gitreview - bad merge from pika branch 19921a9 Explicitly add pika dependencies 2c8f393 Add duration option to simulator.py 6f6a0ae [zmq] Added redis sentinel HA implementation to zmq driver c5825e2 rabbit: set interval max for auto retry f99a459 [zmq] Add TTL to redis records 9f41070 Updated from global requirements ca6c34a make enforce_type=True in CONF.set_override b7fee71 Use assertTrue/False instead of assertEqual(T/F) 6b20fa8 Improvement of logging acorrding to oslo.i18n guideline 91273fe Updated from global requirements d49ddc3 rabbit: fix unit conversion error of expiration 87e06d9 list_opts: update the notification options group 3d4babe rabbit: Missing to pass parameter timeout to next 817cb0c Fix formatting of code blocks in zmq docs 83a08d4 Adds unit tests for pika_poll module 7c723af Updated from global requirements 7e6470a [zmq] Switch notifications to PUB/SUB pattern e0a9b0c Optimize sending of a reply in RPC server 2251966 Optimize simulator.py for better throughput 54d0d59 Remove stale directory synced from oslo-incubator f342573 Fix wrong bugs report URL in CONTRIBUTING e8703dc zmq: Don't log error when can't import zmq module 417f079 assertIsNone(val) instead of assertEqual(None,val) 5149461 Adds tests for pika_message.py 3976a2f Fixes conflicts after merging master bee303c Adds comment for pika_pooler.py 438a808 Adds comment, updates pika-pool version bbf0efa Preparations for configurable serialization a30fcdf Adds comments and small fixes 46ac91e Provide missing parts of error messages 8caa4be Removes additional select module patching e24f4fa Fix delay before host reconnecting cc3db22 Implements more smart retrying 8737dea Splits pika driver into several files 968d3e6 Fixes and improvements after testing on RabbitMQ cluster: 9cae182 Fix fanout exchange name pattern ad2f475 Implements rabbit-pika driver 6fceab1 bootstrap branch Diffstat (except docs and test files) ------------------------------------- CONTRIBUTING.rst | 2 +- .../en_GB/LC_MESSAGES/oslo.messaging-log-error.po | 31 - .../en_GB/LC_MESSAGES/oslo.messaging-log-info.po | 27 - .../LC_MESSAGES/oslo.messaging-log-warning.po | 34 -- .../es/LC_MESSAGES/oslo.messaging-log-error.po | 32 -- .../fr/LC_MESSAGES/oslo.messaging-log-error.po | 27 - oslo.messaging/locale/oslo.messaging-log-error.pot | 30 - oslo.messaging/locale/oslo.messaging-log-info.pot | 25 - .../locale/oslo.messaging-log-warning.pot | 39 -- oslo.messaging/locale/oslo.messaging.pot | 24 - .../ru/LC_MESSAGES/oslo.messaging-log-error.po | 29 - oslo_messaging/_cmd/__init__.py | 1 - oslo_messaging/_cmd/zmq_broker.py | 12 +- oslo_messaging/_drivers/__init__.py | 1 - oslo_messaging/_drivers/amqp.py | 2 - oslo_messaging/_drivers/amqpdriver.py | 30 +- oslo_messaging/_drivers/base.py | 4 + oslo_messaging/_drivers/common.py | 5 +- oslo_messaging/_drivers/impl_kafka.py | 7 +- oslo_messaging/_drivers/impl_pika.py | 285 ++++++++++ oslo_messaging/_drivers/impl_rabbit.py | 126 +++-- oslo_messaging/_drivers/impl_zmq.py | 32 +- oslo_messaging/_drivers/pika_driver/__init__.py | 0 oslo_messaging/_drivers/pika_driver/pika_engine.py | 438 +++++++++++++++ .../_drivers/pika_driver/pika_exceptions.py | 68 +++ .../_drivers/pika_driver/pika_listener.py | 155 +++++ .../_drivers/pika_driver/pika_message.py | 621 +++++++++++++++++++++ oslo_messaging/_drivers/pika_driver/pika_poller.py | 402 +++++++++++++ .../_drivers/protocols/amqp/controller.py | 52 +- oslo_messaging/_drivers/protocols/amqp/driver.py | 8 +- .../_drivers/protocols/amqp/drivertasks.py | 4 +- .../_drivers/protocols/amqp/eventloop.py | 9 +- .../_drivers/zmq_driver/broker/zmq_base_proxy.py | 3 - .../_drivers/zmq_driver/broker/zmq_queue_proxy.py | 35 +- .../publishers/dealer/zmq_dealer_call_publisher.py | 96 +--- .../publishers/dealer/zmq_dealer_publisher.py | 34 +- .../dealer/zmq_dealer_publisher_proxy.py | 87 --- .../client/publishers/zmq_pub_publisher.py | 20 +- .../client/publishers/zmq_publisher_base.py | 104 ++-- .../client/publishers/zmq_push_publisher.py | 11 +- .../_drivers/zmq_driver/client/zmq_client.py | 15 +- .../_drivers/zmq_driver/client/zmq_client_base.py | 7 - .../_drivers/zmq_driver/client/zmq_request.py | 6 - .../_drivers/zmq_driver/matchmaker/base.py | 27 +- .../zmq_driver/matchmaker/matchmaker_redis.py | 88 ++- .../_drivers/zmq_driver/poller/green_poller.py | 3 - .../_drivers/zmq_driver/poller/threading_poller.py | 5 +- .../server/consumers/zmq_consumer_base.py | 4 +- .../server/consumers/zmq_pull_consumer.py | 11 +- .../server/consumers/zmq_router_consumer.py | 78 ++- .../server/consumers/zmq_sub_consumer.py | 28 +- .../zmq_driver/server/zmq_incoming_message.py | 5 - .../_drivers/zmq_driver/server/zmq_server.py | 24 +- oslo_messaging/_drivers/zmq_driver/zmq_async.py | 7 +- oslo_messaging/_drivers/zmq_driver/zmq_names.py | 10 +- oslo_messaging/_drivers/zmq_driver/zmq_socket.py | 29 +- oslo_messaging/_executors/impl_eventlet.py | 4 - oslo_messaging/_i18n.py | 2 +- oslo_messaging/_utils.py | 3 - oslo_messaging/conffixture.py | 5 +- oslo_messaging/dispatcher.py | 5 +- oslo_messaging/hacking/checks.py | 2 +- .../en_GB/LC_MESSAGES/oslo_messaging-log-error.po | 31 + .../en_GB/LC_MESSAGES/oslo_messaging-log-info.po | 27 + .../LC_MESSAGES/oslo_messaging-log-warning.po | 27 + .../es/LC_MESSAGES/oslo_messaging-log-error.po | 32 ++ oslo_messaging/locale/oslo_messaging-log-error.pot | 50 ++ oslo_messaging/locale/oslo_messaging-log-info.pot | 25 + .../locale/oslo_messaging-log-warning.pot | 42 ++ oslo_messaging/locale/oslo_messaging.pot | 28 + oslo_messaging/notify/dispatcher.py | 7 +- oslo_messaging/notify/messaging.py | 5 +- oslo_messaging/notify/notifier.py | 5 +- oslo_messaging/openstack/__init__.py | 0 oslo_messaging/openstack/common/__init__.py | 0 oslo_messaging/openstack/common/_i18n.py | 45 -- oslo_messaging/opts.py | 2 +- oslo_messaging/server.py | 13 +- .../drivers/zmq/matchmaker/test_impl_matchmaker.py | 9 +- requirements.txt | 38 +- setup-test-env-pika.sh | 32 ++ setup.cfg | 13 +- test-requirements.txt | 25 +- tools/simulator.py | 206 ++++--- tox.ini | 6 +- 112 files changed, 4671 insertions(+), 1094 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index ba8876a..71be8bc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +5 @@ -pbr>=1.6 +pbr>=1.6 # Apache-2.0 @@ -7,2 +7,2 @@ pbr>=1.6 -futurist>=0.1.2 # Apache-2.0 -oslo.config>=2.7.0 # Apache-2.0 +futurist>=0.6.0 # Apache-2.0 +oslo.config>=3.4.0 # Apache-2.0 @@ -10,2 +10,2 @@ oslo.context>=0.2.0 # Apache-2.0 -oslo.log>=1.12.0 # Apache-2.0 -oslo.utils>=3.2.0 # Apache-2.0 +oslo.log>=1.14.0 # Apache-2.0 +oslo.utils>=3.4.0 # Apache-2.0 @@ -14 +14 @@ oslo.service>=1.0.0 # Apache-2.0 -oslo.i18n>=1.5.0 # Apache-2.0 +oslo.i18n>=2.1.0 # Apache-2.0 @@ -16 +16 @@ stevedore>=1.5.0 # Apache-2.0 -debtcollector>=0.3.0 # Apache-2.0 +debtcollector>=1.2.0 # Apache-2.0 @@ -19 +19 @@ debtcollector>=0.3.0 # Apache-2.0 -six>=1.9.0 +six>=1.9.0 # MIT @@ -26,2 +26,2 @@ cachetools>=1.0.0 # MIT License -eventlet>=0.17.4 -greenlet>=0.3.2 +eventlet!=0.18.0,>=0.17.4 # MIT +greenlet>=0.3.2 # MIT @@ -29 +29 @@ greenlet>=0.3.2 -WebOb>=1.2.3 +WebOb>=1.2.3 # MIT @@ -32 +32 @@ WebOb>=1.2.3 -PyYAML>=3.1.0 +PyYAML>=3.1.0 # MIT @@ -36,2 +36,8 @@ PyYAML>=3.1.0 -amqp>=1.4.0 -kombu>=3.0.7 +amqp>=1.4.0 # LGPL +kombu>=3.0.7 # BSD +pika>=0.10.0 # BSD +pika-pool>=0.1.3 # BSD + +# used by pika and zmq drivers +futures>=3.0;python_version=='2.7' or python_version=='2.6' # BSD +retrying!=1.3.0,>=1.2.3 # Apache-2.0 @@ -43,2 +49,2 @@ oslo.middleware>=3.0.0 # Apache-2.0 -aioeventlet>=0.4 -trollius>=1.0 +aioeventlet>=0.4 # Apache-2.0 +trollius>=1.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 1387e1a..2b62be5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,8 +8,8 @@ hacking<0.11,>=0.10.0 -discover -fixtures>=1.3.1 -mock>=1.2 -mox3>=0.7.0 -python-subunit>=0.0.18 -testrepository>=0.0.18 -testscenarios>=0.4 -testtools>=1.4.0 +discover # BSD +fixtures>=1.3.1 # Apache-2.0/BSD +mock>=1.2 # BSD +mox3>=0.7.0 # Apache-2.0 +python-subunit>=0.0.18 # Apache-2.0/BSD +testrepository>=0.0.18 # Apache-2.0/BSD +testscenarios>=0.4 # Apache-2.0/BSD +testtools>=1.4.0 # MIT @@ -19 +19,2 @@ oslotest>=1.10.0 # Apache-2.0 -redis>=2.10.0 +redis>=2.10.0 # MIT +retrying!=1.3.0,>=1.2.3 # Apache-2.0 @@ -30 +31 @@ kafka-python>=0.9.2 # Apache-2.0 -coverage>=3.6 +coverage>=3.6 # Apache-2.0 @@ -33 +34 @@ coverage>=3.6 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 +sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD @@ -41 +42 @@ pyngus>=2.0.0 # Apache-2.0 -bandit>=0.13.2 +bandit>=0.13.2 # Apache-2.0 __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev