1787 Commits

Author SHA1 Message Date
Oleksii Zamiatin
ae1123e438 [zmq] Add py34 configuration for functional tests
Change-Id: I6bd94323d88ce9123776b1359696fbc2e31933de
Closes-Bug: #1602234
2016-07-12 17:01:39 +00:00
OpenStack Proposal Bot
c6c70aba2d Updated from global requirements
Change-Id: I3d565fabb11b45c6420ed80c81504886b53b99c7
2016-07-09 19:25:54 +00:00
Jenkins
afd5f8233c Merge "Add Python 3.4 functional tests for AMQP 1.0 driver" 2016-07-08 18:33:38 +00:00
Gevorg Davoian
66ded1f914 [zmq] Use json/msgpack instead of pickle
Change-Id: Ia4a08b6f2d932ad0642d64f55bcdadef814e4350
Closes-Bug: #1582207
Closes-Bug: #1584763
Depends-On: I90df59d61af2b40b516a5151c67c184fcc91e366
2016-07-08 12:50:58 +00:00
Gevorg Davoian
ac484f6b26 [zmq] Refactor publishers
This patch refactors publishers by separating responsibilities and
introducing senders and waiters within publishers.

Change-Id: I90df59d61af2b40b516a5151c67c184fcc91e366
Co-Authored-By: Oleksii Zamiatin <ozamiatin@mirantis.com>
2016-07-07 13:45:39 +03:00
Jenkins
58ad758dc2 Merge "Remove rabbitmq max_retries" 2016-07-06 17:39:40 +00:00
Kenneth Giusti
96438a3e1f Add Python 3.4 functional tests for AMQP 1.0 driver
Change-Id: Ieead11641df3e711555420517e9668258a79410b
Closes-Bug: #1598209
2016-07-06 09:50:57 -04:00
Jenkins
68556b36ee Merge "[zmq] Additional configurations for f-tests" 2016-07-05 16:04:39 +00:00
Mehdi Abaakouk
35146383d0 tests: allow to override the functionnal tests suite args
Change-Id: Ia958b3812be7c51a07734081542f14452c5de658
2016-07-04 17:54:35 +00:00
Jenkins
eef2bd058a Merge "tests: rabbitmq failover tests" 2016-07-04 10:55:23 +00:00
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
Mehdi Abaakouk
865bfec975 tests: rabbitmq failover tests
This leverages the pifpaf library to exercice
rabbitmq failover.

Change-Id: Ic6acc5d006344e08c219724e488fc9222786d849
2016-07-04 00:24:13 +00: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
Mehdi Abaakouk
861a3aceb2 Remove rabbitmq max_retries
It was never clear was the purpose of this option.

For the RPC API point of view raising MessageDeliveryFailure is kind
of unexpected. For the Notification API, this is weird that when
application put retry=-1, the lib stop to retry only with rabbit.

So this change deprecates this option for removal.

Change-Id: I4ac3a062426418276c96e1745d1c96a8525c36da
2016-06-29 16:26:25 +02: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