179 Commits

Author SHA1 Message Date
Andy Smith
f2fd8d4375 Remove the deprecated ZeroMQ driver
Users of the oslo.messaging RPC communications service must use
the rabbit ("rabbit://...") or AMQP 1.0 ("amqp://...") drivers.

Change-Id: If3474142f1fe99d41d7b4466061ed0e23ca38549
Closes-Bug: 1789259
2018-08-28 16:00:50 -04:00
Daniel Alvarez
7dc7684311 Bump py-amqp to >= 2.3.0
Due to the bug below we want to have py-amqp>=2.3.0 so that connecting
to rabbit endpoints don't timeout when relying on /etc/hosts entries.
Closes-Bug: 1780992

Change-Id: Ia2c1114cb0f8d480695197714f7c6293751430dd
2018-07-11 15:22:21 +02:00
OpenStack Proposal Bot
9e5ddb2fe4 Updated from global requirements
Change-Id: Ie79d1e4a364ec17c7a2524a095c852677e562c7f
2018-03-25 22:32:26 +00:00
Kenneth Giusti
222a939361 Remove the deprecated Pika driver
It is recommended that all users of the Pika driver transition to
using the Rabbit driver instead.  Typically this is done by changing
the prefix of the transport_url configuration option from "pika://..."
to "rabbit://...".  There are no changes required to the RabbitMQ
server configuration.

Change-Id: I52ea5ccb7e7c247abd95e2d8d50dac4c4ad11246
Closes-Bug: #1744741
2018-03-21 10:58:23 -04:00
OpenStack Proposal Bot
008f58335a Updated from global requirements
Change-Id: I9500a0d27953881cfad24d5542356c539353d6a7
2018-03-15 07:49:08 +00:00
OpenStack Proposal Bot
95e98a98f1 Updated from global requirements
Change-Id: Ieee5fa811e69e7ae4f597ce361319758d8030bde
2018-01-24 02:16:24 +00:00
OpenStack Proposal Bot
0b42cfda14 Updated from global requirements
Change-Id: I5bc6a1ba5214d5f73fc61fd8b656d3c00b0ca193
2017-12-19 01:38:48 +00:00
OpenStack Proposal Bot
5d99ea8f05 Updated from global requirements
Change-Id: I370881ada05c29399f1351444544eaf28150c4d1
2017-11-29 09:15:12 +00:00
OpenStack Proposal Bot
709ee7989d Updated from global requirements
Change-Id: Id5276f0b18005af895cad852bedfdc7d8eb9b8e8
2017-11-16 11:21:28 +00:00
OpenStack Proposal Bot
8c129459a7 Updated from global requirements
Change-Id: Iea65ddb73a626c048411d85af2669a2e01819f66
2017-11-15 11:58:20 +00:00
OpenStack Proposal Bot
d1e5cf2a77 Updated from global requirements
Change-Id: If146ea28a75593f6ef07a9088b87431881721c12
2017-11-13 10:26:39 +00:00
OpenStack Proposal Bot
c2338ee325 Updated from global requirements
Change-Id: I1315cfd256afa17aaa3be3ae4a3a3f6ee5cbb564
2017-09-20 16:23:04 +00:00
OpenStack Proposal Bot
4226badc83 Updated from global requirements
Change-Id: I674e086307ef8785244a14fd4e83ffaedc927eb9
2017-09-11 21:47:08 +00:00
OpenStack Proposal Bot
501862b1d2 Updated from global requirements
Change-Id: I8b670cf0164078be22d16786c903b05013af5e77
2017-08-24 05:58:36 +00:00
OpenStack Proposal Bot
38d8bdcd19 Updated from global requirements
Change-Id: Ida4133ebeb4cc0cbfbd0e8ee62a52236dc4a0256
2017-08-18 11:40:06 +00:00
OpenStack Proposal Bot
a931af6fd5 Updated from global requirements
Change-Id: I7b81c8def55f702b95204d727b95d879c441167e
2017-07-18 01:54:53 +00:00
OpenStack Proposal Bot
2fb4a216cc Updated from global requirements
Change-Id: Ib872e230f563ca2e1e3e67f9dabe13250735c9e7
2017-06-15 16:32:57 +00:00
OpenStack Proposal Bot
d46f3cfdf9 Updated from global requirements
Change-Id: I1a4a507ba4077b8a8e2e4f1c4e7ac93158918b48
2017-06-02 02:35:03 +00:00
OpenStack Proposal Bot
aa931f4fe7 Updated from global requirements
Change-Id: I65c767b4562d31cde8f77243eef018f8a4dbd769
2017-05-26 01:55:22 +00:00
OpenStack Proposal Bot
dad5796cea Updated from global requirements
Change-Id: Ia57edf8d331b729072025c5622f8fd93295996a1
2017-05-23 11:58:01 +00:00
OpenStack Proposal Bot
c074efbaf7 Updated from global requirements
Change-Id: Idabf4c8204d6df8a13749151405ac338b38e32ba
2017-04-12 04:20:09 +00:00
OpenStack Proposal Bot
4993f011d2 Updated from global requirements
Change-Id: I7fe4a3b0d1d0e925834237866b478260e9313d05
2017-04-03 21:58:21 +00:00
gord chung
631ade59bc remove all kombu<4.0.0 workarounds
we lower cap at kombu>=4.0.0 so no need to support kombu3 stuff

Change-Id: I4c3bc4de6026b089fffae7ae4d34f718d45cb972
2017-03-30 12:32:58 +00:00
ChangBo Guo(gcb)
914b529000 serializer: remove deprecated RequestContextSerializer
We deprecated RequestContextSerializer in 404bebcca and
it's not used by any project, so we can remove it safely now.

Change-Id: I0300f5d2aaa85d515c0437e0e69399b9f5bad09a
2017-03-29 16:21:17 +08:00
OpenStack Proposal Bot
71ce6929cf Updated from global requirements
Change-Id: I20b3921d23894962a3b7f83b843c326647b418ec
2017-03-28 21:36:21 +00:00
OpenStack Proposal Bot
7bfbac5621 Updated from global requirements
Change-Id: If91d1a8a4ff9a120704360705b81b0d4422cae10
2017-03-04 01:51:17 +00:00
OpenStack Proposal Bot
3e727ea715 Updated from global requirements
Change-Id: I1a5882d3fe0189ab3e651155681a1410c37d8a82
2017-02-16 23:17:36 +00:00
gord chung
5bacea1f42 support kombu4
- kombu4 wraps recoverable errors as OperationalErrors rather than
raising amqp errors
- also, raise a recoverable error and redeclare if for some reason a
message is double acknowledged... previously, this was hidden.
- ensure socket is not none
- use connect method to ensure connection

Depends-On: I9f980b51901ac31599b9651633956ad2eea6a1ac
Change-Id: I73958c8057353a2eefe1baaa7a41148193d507f7
2017-02-10 13:21:22 +00:00
Mehdi Abaakouk
31db9516c2 eventlet is no more a hard dependency
Change-Id: Ie386dea5cc4b9ff02dc2b638d2d6908c3cdad883
2017-01-04 08:10:56 +01:00
OpenStack Proposal Bot
64914790f4 Updated from global requirements
Change-Id: I6375d299c56fb3789c9d37276dc0a6adb6ec4de8
2016-12-28 09:15:07 +00:00
OpenStack Proposal Bot
ea61a81014 Updated from global requirements
Change-Id: I35e0f9e78c31a7c68746401dcf289f8648ef7e6a
2016-12-17 20:48:42 +00:00
OpenStack Proposal Bot
2c3ae0af3c Updated from global requirements
Change-Id: Icdcb2a730f2e01d7c4aad42bf4cb1cc3e7876eff
2016-12-08 20:11:30 +00:00
OpenStack Proposal Bot
8efe0bea31 Updated from global requirements
Change-Id: Ib8c1fa32298caf654d706a839a23f605989e0a48
2016-11-09 23:03:04 +00:00
OpenStack Proposal Bot
c961ba9295 Updated from global requirements
Change-Id: I195d860b550aeff473c1779fb83ed0cfc650cdf6
2016-11-06 02:05:50 +00:00
Gevorg Davoian
90125aa885 Replace retrying with tenacity
This patch replaces the legacy retrying library with the newer
and more convenient tenacity one, taking into account that:
1) retrying uses milliseconds for wait times, but tenacity uses seconds;
2) retrying has a lot of numeric arguments for specifying behaviour
of decorated functions, while tenacity has a few of them, which are
specialized objects, thus making the retry-decorator more flexible.

Change-Id: Ib6ecffe5d1cf292badbb9eb6db6260f17460f343
Closes-Bug: #1635399
2016-11-03 12:36:57 +00:00
OpenStack Proposal Bot
b1b3677a75 Updated from global requirements
Change-Id: I1358feb2f87821e8a18ac8b77461df57fa2a6168
2016-11-02 22:00:00 +00:00
OpenStack Proposal Bot
3efbdc703e Updated from global requirements
Change-Id: I8dced43299478078afb75c71b187b7f0607276ad
2016-10-27 12:21:15 +00:00
OpenStack Proposal Bot
96b9618228 Updated from global requirements
Change-Id: Ib121090566ec7765b52f22227e1ccfe2fe413aff
2016-10-14 05:30:16 +00:00
OpenStack Proposal Bot
86df23d979 Updated from global requirements
Change-Id: Id6a49871b29e74fcd9dee544cf796a5b6673723d
2016-08-24 01:37:31 +00:00
Kenneth Giusti
39c3901b8c Merge remote-tracking branch 'origin/master' into resync-to-master
Change-Id: Id59697351a2f5d00d8e145e95bfe6e7a919b86f2
2016-08-17 09:30:09 -04:00
Kenneth Giusti
b7717e1616 [AMQP 1.0] small fixes to improve timer scalability
This patch introduces the following tweaks to the timer
implementation:

Reduce the number of timers that need to be tracked by reducing the
timer granularity to units of seconds.

Decrease the default timeout values to further reduce the total number
of tracked timers.

Batch multiple expiring events that share the same deadline.

Inline the timer comparison code in the main event loop.

Avoid using an expensive comparison method in the heap sort by using
an integer primitive instead.

Use monotonic time instead of time.time()

Change-Id: I83e86bf203e6a641085e482c7ccf0e01f4fb4d86
2016-08-15 13:30:37 -04:00
OpenStack Proposal Bot
ee8fff03d9 Updated from global requirements
Change-Id: Ibef43ee38fc395b3d9d55f5e0f820e5c0d0308b1
2016-08-12 00:24:13 +00:00
OpenStack Proposal Bot
51652c57d2 Updated from global requirements
Change-Id: I5b87131404d34b69dab22564eccb8f1e1a141761
2016-08-04 02:40:46 +00:00
OpenStack Proposal Bot
2003a52a16 Updated from global requirements
Change-Id: Ibdebbd59e62297de8ddd6fbec7743e3c66d1108f
2016-08-03 09:06:36 +00:00
OpenStack Proposal Bot
12886219a6 Updated from global requirements
Change-Id: Iae11896324f16164fd62a53c089ebd2948437098
2016-07-29 02:33:54 +00:00
OpenStack Proposal Bot
d1cbca851b Updated from global requirements
Change-Id: I7e0a79888c46869c6b7deeda7e7aaeb877c8873d
2016-07-19 15:19:58 +00:00
OpenStack Proposal Bot
73b3286eee Updated from global requirements
Change-Id: Ib89194bdf72da24309f398016b73ee9d67885c39
2016-07-15 03:46:40 +00:00
OpenStack Proposal Bot
c6c70aba2d Updated from global requirements
Change-Id: I3d565fabb11b45c6420ed80c81504886b53b99c7
2016-07-09 19:25:54 +00:00
OpenStack Proposal Bot
6945323b34 Updated from global requirements
Change-Id: Ie47c04a5c439bd6303e50794909c2a81bc64e4d1
2016-06-30 18:48:25 +00:00
OpenStack Proposal Bot
5afb60512a Updated from global requirements
Change-Id: I0cc8324da21fa246c936685048782ad2c2a94368
2016-06-14 21:09:44 +00:00