1775 Commits

Author SHA1 Message Date
Oleksii Zamiatin
2b50ea5a30 [zmq] Additional configurations for f-tests
Extend functional testing to cover all zmq deployment configurations.

Change-Id: I03a1bb27a4cca429405a19e9de3ba593bbf1db63
2016-07-04 12:44:44 +03:00
OpenStack Proposal Bot
df9a0097a6 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I344d2a0c432927d6dde0208dc0682c36c8a85655
2016-07-01 07:58:08 +00:00
OpenStack Proposal Bot
6945323b34 Updated from global requirements
Change-Id: Ie47c04a5c439bd6303e50794909c2a81bc64e4d1
2016-06-30 18:48:25 +00:00
ChangBo Guo(gcb)
61aae0ffac Config: no need to set default=None
By default oslo.cfg sets the default value as None. There is no
need to explicitly do this.

TrivialFix

Change-Id: I57fa9651ea56a180a910d6cbf7b7f385da8af239
2016-06-28 15:47:39 +08:00
Jenkins
5dfb1d8ef9 Merge "Improve the impl_rabbit logging" 2016-06-23 14:14:27 +00:00
Jenkins
7a0f9334db Merge "[zmq] Fix message sending when using proxy and not using PUB/SUB" 2016-06-21 19:23:59 +00:00
Jenkins
60f9fc4f93 Merge "AMQP 1.0 - create only one Cyrus SASL configuration for the tests" 2016-06-20 13:57:45 +00:00
Gevorg Davoian
dfd5c791c9 [zmq] Fix message sending when using proxy and not using PUB/SUB
This patch fixes the problem of sending messages in the following
configuration: use_router_proxy=True and use_pub_sub=False. Right
now we have incorrect both cast and fanout messages: cast acts as
fanout (instead of round-robin) and fanout duplicate each message
twice.

Change-Id: I2b039aa462ddde300fd50b3754e4fe66abf6e635
2016-06-18 08:48:10 +03:00
Jenkins
47de68fb93 Merge "[zmq] Remove redundant Envelope class" 2016-06-16 03:18:36 +00:00
Jenkins
cca3091ba4 Merge "[zmq] Properly stop ZmqServer" 2016-06-15 23:40:18 +00:00
Jenkins
f3894c879f Merge "[zmq] Fix backend router port for proxy." 2016-06-15 23:39:19 +00:00
Kenneth Giusti
3316edb2ea AMQP 1.0 - create only one Cyrus SASL configuration for the tests
The Cyrus SASL library can only be initialized once per process. And
the configuration must remain available until all the tests have run.

Change-Id: I2810ecf53956fc5d4fcdc944f8e06237ca985e6a
Closes-Bug: #1591211
2016-06-15 16:00:58 -04:00
OpenStack Proposal Bot
5afb60512a Updated from global requirements
Change-Id: I0cc8324da21fa246c936685048782ad2c2a94368
2016-06-14 21:09:44 +00:00
Gevorg Davoian
eb02de8223 [zmq] Remove redundant Envelope class
Change-Id: Ia5f28fab6fa3baeb4f4c48ff6019df128cef042b
Partial-Bug: #1582207
2016-06-14 13:13:55 +00:00
ozamiatin
33c3f16f01 [zmq] Properly stop ZmqServer
Each service being stopped should become
invisible for clients. For zmq listener that
means to cleanup it's redis target record
and stop updating it.

Starting of all consumers happen in init method.

Change-Id: Icd2d2fc73871de1d4845280432f5dec9eab8d381
Closes-Bug: #1590000
2016-06-13 19:58:10 +03:00
liusheng
e57afac051 [Trival] fix a typo nit
Change-Id: I3d40726cf55aedb838ebe605f3d58618d594acca
2016-06-13 16:34:12 +08:00
Oleksii Zamiatin
d8b6bb0884 [zmq] Fix backend router port for proxy.
Incorrect value caused proxy to work only on FE socket.

Change-Id: I3dcb5eb654c2597d26c8edffcc577dc88660b577
2016-06-10 18:23:49 +00: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
Kirill Bespalov
dc1309a003 Improve the impl_rabbit logging
It would be better if we could log a client port and some additional
information about a connection, to understand where is problems occurs.
The client port especially helpful for associating events in a rabbitmq.log
with oslo.messaging logs.

Change-Id: I0dae619f5a1688fb2f64fd90623fde2444609f04
2016-06-07 20:21:45 +03: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