1759 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
5afb60512a Updated from global requirements
Change-Id: I0cc8324da21fa246c936685048782ad2c2a94368
2016-06-14 21:09:44 +00:00
liusheng
e57afac051 [Trival] fix a typo nit
Change-Id: I3d40726cf55aedb838ebe605f3d58618d594acca
2016-06-13 16:34:12 +08:00
Jenkins
01338c940a Merge "[zmq] Periodic updates of endpoints connections" 2016-06-10 17:24:28 +00:00
Jenkins
5690156d9b Merge "Add query paramereters to TransportURL" 2016-06-10 15:15:35 +00:00
Gevorg Davoian
8a9d82899e [zmq] Remove unused Request.close method
Change-Id: Iab4f2416158902e6bb6711d9952f7e3b10ec8caf
2016-06-09 15:17:05 +00:00
Gevorg Davoian
282cbc222e Add query paramereters to TransportURL
This patch proposes to allow TransportURLs to have query parameters
with driver-specific options which may override corresponding
values from a static configuration. As an example, the patch
implements this possibility in the pika driver. If the idea is
approved, it will be possible to also implement it in the other
drivers.

Change-Id: Ibb7e13b4509fde035a3c334cde9bc4c498f92140
2016-06-09 16:05:36 +03:00
Dmitriy Ukhlov
3109828375 Fix temporary problems with pika unit tests
Change-Id: Ib79dcd77cdae6d228507eea71ae9dcbd067ae61e
2016-06-09 12:49:58 +03:00
ozamiatin
956bbb92e7 [zmq] Periodic updates of endpoints connections
* Connect endpoints to a newcomer router-proxy.
* Add TTL expriation to all redis keys.
* Update redis periodically from routers.

Change-Id: I0f73cc47f32f95bd4bb7e7f144adba491e94a346
2016-06-08 16:22:25 +03:00
Jenkins
a4a4a50eb7 Merge "Modify info of default_notification_exchange" 2016-06-08 03:00:14 +00:00
Jenkins
bd4b55c1a3 Merge "Imported Translations from Zanata" 2016-06-07 18:02:13 +00:00
Jenkins
fc446c3854 Merge "[zmq] Fix timeout in ThreadingPoller.poll" 2016-06-07 13:50:37 +00:00
Jenkins
390831efb2 Merge "[zmq] Remove rpc_zmq_concurrency option" 2016-06-07 13:50:20 +00:00
liu-lixiu
8674f738b8 Modify info of default_notification_exchange
There is a redundant for in help info of
default_notification_exchange, delete it.

Change-Id: I258bfe7fbc06f45398f0800ac69159dc313f2ff2
Closes-Bug: #1589381
2016-06-07 17:57:32 +08:00
OpenStack Proposal Bot
4af68789f1 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Id04d7508e73afa801099c8c8fefc9d98467f79ce
2016-06-07 07:07:00 +00:00
Jenkins
3b10fa8fcb Merge "[impl_rabbit] Remove deprecated get_expiration method" 2016-06-06 15:51:23 +00:00
Gevorg Davoian
6166b44cba [zmq] Remove rpc_zmq_concurrency option
Closes-Bug: #1569800
Change-Id: Ia61a5dc9ecac202b936d1923af82ba9a7a85775b
2016-06-06 13:19:57 +03:00
Gevorg Davoian
fbf5cb442d [zmq] Fix timeout in ThreadingPoller.poll
Change-Id: I3f97ce93c719b5729885b4d37518880dd6213d1d
2016-06-03 13:31:56 +03:00
Jenkins
f7ceec7aa4 Merge "[AMQP 1.0] Randomize host list connection attempts" 2016-06-02 14:34:45 +00:00
Jenkins
a30f3e1cc5 Merge "Fix typo: 'olso' to 'oslo'" 2016-06-02 13:56:57 +00:00
Edan David
2668177256 Fix typo: 'olso' to 'oslo'
Change-Id: Ic86ded995ecf24b094b25c140da264526eafe611
2016-06-02 02:06:28 -04:00
OpenStack Proposal Bot
a620319af4 Updated from global requirements
Change-Id: Idb293b41afef83871ebfdb451f7f6a079ce10711
2016-06-02 04:08:22 +00:00
Jenkins
e3d55aa275 Merge "[zmq] Don't skip non-direct message types" 2016-06-01 20:41:47 +00:00
Jenkins
c59bec3cf0 Merge "[zmq] Refactoring of zmq client" 2016-06-01 20:41:31 +00:00
ozamiatin
31691745d4 [zmq] Don't skip non-direct message types
If using the router proxy we need to be able to
dispatch all types of messages over the routers,
not limiting them to direct types only.

Also added fanout possibility to do on a client-side,
so we can reduce latency on a proxy, and not using
pub-sub for fanout when we don't want it.

Change-Id: Ic88c306c1d386dd582cbccfc5719fba5668a9db8
2016-05-31 20:51:32 +00:00
Jenkins
49c7f91327 Merge "Updated from global requirements" 2016-05-31 18:13:15 +00:00
Jenkins
389e45b81d Merge "Documents recommended executor" 2016-05-31 17:19:40 +00:00
ozamiatin
8ee19159d2 [zmq] Refactoring of zmq client
Split ZmqClient in order to create different clients
for different configurations (direct/proxy).

Change-Id: Ib374f62f53f2c82278ce5bc555ea440e8eba6617
2016-05-31 14:47:49 +00:00
Kirill Bespalov
034c8f03aa [impl_rabbit] Remove deprecated get_expiration method
This method is called on each message publishing and as shows
profiling (CProfile), the method is time-consuming, because it
uses pkg_resources module.

As we uses kombu>=3.0.25 since Mitaka, we no longer need in it.

Change-Id: I00723a3de81249946a8220ad47129f059d6d544f
2016-05-31 14:08:57 +03:00
OpenStack Proposal Bot
4b0e247d2d Updated from global requirements
Change-Id: I5e48d3f427128c6beebdd04ec9dbfc96683cee9e
2016-05-31 03:05:21 +00:00
Andrew Smith
9d51fa4a2f [AMQP 1.0] Randomize host list connection attempts
Randomize the initial selection of the host list for amqp 1.0 connection
attempts.

This patch:
* randomizes initial index
* updates failover unit tests

Change-Id: Iab5ae684a2cd8ec0c6d0c59ffffde5eb5baf883b
2016-05-26 11:54:29 -04:00
Jenkins
acb398e317 Merge "Modify the TransportURL's docstrings" 2016-05-26 14:00:19 +00:00
Jenkins
ed29bae6b0 Merge "Fix problems after refactoring RPC client" 2016-05-24 21:21:03 +00:00
Jenkins
0e4db6531b Merge "kafka: Deprecates host, port options" 2016-05-24 21:03:03 +00:00
JiaJunsu
5fb8f269e7 Modify the TransportURL's docstrings
To match the test_urls.TestParseURL multi_creds

Change-Id: I4a37b7bce3703aa581bc46d41690bf7978f813a6
Close-Bug: #1529310
2016-05-24 11:37:16 +00:00
Gevorg Davoian
9ccfbdd3c3 Fix problems after refactoring RPC client
The patch fixes some problems arised after merging the previous
patch which this patch depends on.

Change-Id: If38edec19f9bffc8ac54818b2536243a9edaf7e8
Depends-On: I608c828123b196099933d16801f8ce7d9dd3a079
Closes-Bug: #1584889
2016-05-24 12:37:26 +03:00
Mehdi Abaakouk
4d0f7ab652 deprecate usage of transport aliases
This change starts the deprecation process for the transport aliases.

The first step is deprecate this one cycle. To ensure deployer have
updated they configuration during Newton Then in Octacia we will deprecate
'aliases' kwargs of transportURL() and get_transport() for consuming
application.

Related-bug: #1424728

Change-Id: I314cefa5fb1803fa7e21e3e34300e5ced31bba89
2016-05-23 16:05:57 +00:00
Mehdi Abaakouk
c07d02e498 Documents recommended executor
Change-Id: I6205c15975ce35349adc31999a93b80970c6787d
2016-05-23 10:14:02 +02:00
Jenkins
7809cdc602 Merge "Add reno for releasenotes management" 2016-05-20 20:40:21 +00:00
Jenkins
6ee6d55780 Merge "Remove logging from serialize_remote_exception" 2016-05-20 16:39:56 +00:00
Mehdi Abaakouk
a7e5a42968 kafka: Deprecates host, port options
kafka now can read configuration from TransportURL,
so we can deprecate the legacy options.

Change-Id: I87ed4c0404f323f93357dddcf7858c5d1ff16513
2016-05-20 18:38:05 +02:00
Jenkins
37add88e9b Merge "Fix consuming from missing queues" 2016-05-20 14:51:16 +00:00
OpenStack Proposal Bot
f6e1e0acb6 Updated from global requirements
Change-Id: Ief26e52f3ffdded98f1ba46e17c62c7fc7c2a8b8
2016-05-19 18:36:52 +00:00
Jenkins
ad1bea351d Merge "[kafka] Add several bootstrap servers support" 2016-05-19 15:14:33 +00:00
Kirill Bespalov
0991a696ca Add reno for releasenotes management
An initial patch to add reno and create a base directory for
release notes

Change-Id: If393d865f3f054379a713d0e9f905d43b2faeccb
2016-05-19 17:14:31 +03:00
Gevorg Davoian
39749c77a8 Remove logging from serialize_remote_exception
This patch removes log_failure argument from the function
serialize_remote_exception and from driver implementations
using it (because it is never used and always defaults to True)
and prevents error logging in this function (because these errors
are already logged by servers while processing incoming messages).

Change-Id: Ic01bb11d6c4f018a17f3219cdbd07ef4d30fa434
Closes-Bug: 1580352
2016-05-19 15:18:28 +03:00
Ildar Svetlov
99b843767d [kafka] Add several bootstrap servers support
At that moment kafka driver can use only url with one "host:port"
for the bootstrap server defining, but kafka client supports
set of host:port adresses: "host1:port1,host2:port2", ... .
This patch implement this functional in kafka driver for the better HA.

List self.hostaddrs stores strings "host:port" of Connection.
It collects from self.url.hosts

Change-Id: I5eece66ca6bd069a0df8c8629b4ac815f69a7c7d
Closes-Bug: #1572017
2016-05-19 10:51:58 +00:00
Jenkins
b8cafee601 Merge "Reorganize the AMQP 1.0 driver source files" 2016-05-18 16:21:51 +00:00
Kirill Bespalov
43cfc18fc9 Fix consuming from missing queues
Redeclare queues on 'Basic.consume: (404) no queue' exception
and enable by default consumer declaration with nowait=False
in order to wait for a broker response.

Change-Id: I99f2bc858dbc7c18a2f328ee26f39105ed17cee3
Closes-Bug: #1581148
2016-05-18 17:25:48 +03:00
Jenkins
46a98cf50e Merge "Fix bug with version_cap and target.version in RPCClient" 2016-05-18 11:26:35 +00:00
Jenkins
8b550c76e5 Merge "zeromq: Deprecates host, port options" 2016-05-18 11:26:24 +00:00