2536 Commits

Author SHA1 Message Date
Zuul
bf7ca2aa53 Merge "Updated from global requirements" 2017-11-13 17:43:43 +00:00
OpenStack Proposal Bot
d1e5cf2a77 Updated from global requirements
Change-Id: If146ea28a75593f6ef07a9088b87431881721c12
2017-11-13 10:26:39 +00:00
gord chung
7fe91cc01a fix batch handling
for some reason there are two timeouts. in the batch scenario,
all the time wasted waiting on initial 'get' is never accounted
for so the batch timeout is always longer than it is declared.

Change-Id: I6132c770cccdf0ffad9f178f7463288cf954d672
2017-11-12 13:43:48 -05:00
Zuul
51d4b753ae Merge "Remove stable/newton from zuul settings" 2017-11-06 04:59:17 +00:00
Jeremy Liu
a89317ab75 Remove stable/newton from zuul settings
stable/newton branch is EOL now, remove relevant settings from zuul.

Change-Id: I5359f9f1096f5e4cce9d359db813a3749a0b9c64
2017-10-31 11:24:46 +08:00
James E. Blair
d4348ad7c0 Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I025170ddb33b404747b18fcbac9ef4af6a1181f0
2017-10-29 15:44:44 -07:00
Zuul
c2bb75f1e7 Merge "Move legacy zuulv3 tests into oslo.messaging repo" 2017-10-20 06:20:42 +00:00
Kenneth Giusti
e1a3da9443 Move legacy zuulv3 tests into oslo.messaging repo
Next step will be to re-write these for zuulv3

Change-Id: I2f6a8432e037f75d6abee3bc977933a310a4a2c7
2017-10-17 16:01:29 -04:00
Jenkins
c5b36127ef Merge "Fix typo in contributor docs title" 2017-10-11 15:15:56 +00:00
OpenStack Proposal Bot
24e1d8a652 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib28aea3b87c63d0d3e470d43f72d236d5edbc37b
2017-10-09 08:02:00 +00:00
Ben Nemec
d925e112b5 Flesh out transport_url help
This is a complicated config opt and the single line help text
doesn't provide anywhere near enough detail for a user to properly
configure it.  This change adds the expected format from the
TransportURL docstring and leaves a link to the docs for that
class since the full details are probably too verbose to put in the
help text in their entirety.

Change-Id: I66122bf9c619d35bcb3caadfde9c0dcdb5cd9095
2017-10-06 20:04:34 +00:00
Ben Nemec
47d66d2b46 Fix typo in contributor docs title
"Contributing oslo.messaging" is not grammatically correct.  It
should be "Contributing to oslo.messaging".

Change-Id: I71737086745beb6d8d76669ab04b7580f1b7b11a
2017-10-02 23:52:24 +00:00
Jenkins
a9d10d33cd Merge "Fix default value of RPC dispatcher access_policy" 2017-09-26 14:19:54 +00:00
zhangxuanyuan
3a9c01ffe9 Fix default value of RPC dispatcher access_policy
Change-Id: I4d30ff269b2e34f4409e8d1ce822eb93918cf5a2
Closes-Bug: #1712393
2017-09-24 20:25:38 -07:00
Rajath Agasthya
6efa86a8d5 Fix wrong transport warnings in functional tests
Change-Id: Ie6726ecd566d965a94343bde7a518e986b434346
Closes-Bug: #1718691
2017-09-22 17:13:26 -07:00
OpenStack Proposal Bot
c2338ee325 Updated from global requirements
Change-Id: I1315cfd256afa17aaa3be3ae4a3a3f6ee5cbb564
2017-09-20 16:23:04 +00:00
Jenkins
393ecff345 Merge "Warn when wrong transport instance is used" 2017-09-15 18:33:29 +00:00
OpenStack Proposal Bot
4226badc83 Updated from global requirements
Change-Id: I674e086307ef8785244a14fd4e83ffaedc927eb9
2017-09-11 21:47:08 +00:00
Rajath Agasthya
03b6f18f80 Warn when wrong transport instance is used
Since RPC and notifications can have different backends, it is
useful to warn users if they use a notification transport in RPC
and vice versa. This patch introduces RPCTransport and
NotificationTransport subclasses of Transport, so it's easier to
add different behavior for them if need be.

Related-Bug: #1680192
Change-Id: Iab60544d69053c8e74c28a2d5c84665be749013f
2017-09-11 07:07:30 -07:00
Jenkins
6bbb3bc09d Merge "Class-level _exchanges in FakeExchangeManager" 2017-09-08 07:10:45 +00:00
Jenkins
809d4a54f1 Merge "Fix some reST field lists in docstrings" 2017-09-08 05:07:28 +00:00
Jenkins
338b85eb4e Merge "Suppress excessive debug logs when consume rabbit" 2017-09-07 23:24:51 +00:00
lingyongxu
d7229a124f Fix some reST field lists in docstrings
Probably the most common format for documenting arguments is reST field
lists [1]. This change updates some docstrings to comply with the field
lists syntax.
[1] http://sphinx-doc.org/domains.html#info-field-lists

Change-Id: Ifa8c0db3efc03eac3b034ef642aaa8fce514a66e
2017-09-07 05:42:45 +00:00
Rajath Agasthya
5ef5c7fc26 Remove pbr version from setup.py
Using pbr version in setup_requires is no longer recommended by Pbr.

Change-Id: I9373c0ba4017f8db732c0eb9c5cf0d129726f315
2017-09-06 21:55:54 -07:00
Jenkins
ff905655e9 Merge "Add support for virtual hosts" 2017-09-07 03:27:50 +00:00
Zhen Qin
147186c7b4 Suppress excessive debug logs when consume rabbit
If using rabbitmq as rpc backend, oslo.messaging generates large amount
of redundant timeout debug logs (several logs per second on multiple
openstack services, such as nova, heat, cinder), in format of 'Timed out
waiting for RPC response: Timeout while waiting on RPC response - topic:
"<unknown>", RPC method: "<unknown>" info: "<unknown>'. It's because
each socket timeout exception is raised to multiple levels of error
recovery callback functions then logged repeatedly.

However, the accompanying value of socket.timeout exception is currently
always “timed out”. Besides, oslo.messaging has implemented retry
mechanism to recover socket timeout failure. Therefore, IMO those logs
should be suppressed, even if at debug level, to save disk space and
make debugging more convenient.

Change-Id: Iafc360f8d18871cff93e7fd721d793ecdef5f4a1
Closes-Bug: #1714558
2017-09-06 21:35:33 -04:00
Jenkins
428f25ca5c Merge "Fix use of print function on python3" 2017-09-06 03:48:06 +00:00
Jenkins
dc7bd0591b Merge "Add licenses and remove unused import in doc/source/conf.py" 2017-09-05 15:32:27 +00:00
Kenneth Giusti
a76e8c043a Fix use of print function on python3
Fixes failures of qdrouterd based py35-func-amqp1 tests on python3

Change-Id: I14bfc3ca0756114c9235df2b4785c4a75f40a5ac
2017-08-31 09:18:33 -04:00
Jenkins
ba30a3067d Merge "Ensure RPC endpoint target attribute is correct" 2017-08-29 00:13:48 +00:00
Jenkins
4305740ef8 Merge "Update amqp 1.0 driver deployment guide" 2017-08-27 15:19:43 +00:00
Jenkins
01098406df Merge "Remove envelope argument from driver send() interface" 2017-08-27 15:19:35 +00:00
Rajath Agasthya
d15a6deb17 Remove envelope argument from driver send() interface
It is ignored by most drivers and hardcoded to True in the rabbit
driver

Closes-Bug: #1712877
Change-Id: Ic6b0d07bff3c544aca4cccdfcb4c59b8705e9128
2017-08-25 08:17:47 -07:00
Jenkins
d691c283f4 Merge "Updated from global requirements" 2017-08-25 04:46:24 +00:00
OpenStack Proposal Bot
f74328c63b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id9d500ffac34e52a246cbc00cd6c3e5f9efe979e
2017-08-24 08:19:48 +00:00
OpenStack Proposal Bot
501862b1d2 Updated from global requirements
Change-Id: I8b670cf0164078be22d16786c903b05013af5e77
2017-08-24 05:58:36 +00:00
Andrew Smith
8203b9ed73 Update amqp 1.0 driver deployment guide
This patch:
* Adds new options recently added to the driver
* Updates the devstack support information

Change-Id: I772e01ebb467a64c27b90e6105adf294bcb22654
2017-08-23 14:21:33 -04:00
Jenkins
6f992dfc7f Merge "Prevent rabbit from raising unexpected exceptions" 2017-08-22 16:44:22 +00:00
Jenkins
2e61438d2e Merge "Remove unnecessary setUp function in testcase" 2017-08-21 15:27:50 +00:00
Kenneth Giusti
f059bba6ae Prevent rabbit from raising unexpected exceptions
Publishing a message using the kombu connection autoretry method may
allow exceptions from the py-amqp library to be raised up to the
application. This does not conform to the documented oslo.messaging
API.

Enhance the try except block to capture any exception and translate it
into a MessageDeliveryFailure.

There are a few cases where exceptions will be raised during autoretry
publishing: recoverable connection or channel errors, and
non-recoverable connection or channel errors.

autoretry will only retry if the error is recoverable. Non recoverable
errors are re-raised immediately regardless of the retry count.

In the case of a recoverable error it seems unlikely that retrying
either the connection or the channel yet again is going to get us
anywhere, so in this case we simply clean up the channel state, log an
error and fail the operation.

In the case of non-recoverable error we are out of luck (think
authentication failure) - further retrying will not help.  Best we can
do is clean up state and log the heck out of it.

Change-Id: I2f65d2ee19a8c3e9a323b30404abbf0cbb45a216
Closes-Bug: #1705351
Closes-Bug: #1707160
2017-08-21 09:36:39 -04:00
OpenStack Proposal Bot
38d8bdcd19 Updated from global requirements
Change-Id: Ida4133ebeb4cc0cbfbd0e8ee62a52236dc4a0256
2017-08-18 11:40:06 +00:00
liuyamin
80c6283361 Remove unnecessary setUp function in testcase
In testcase, setUp will be called automatically. This patch used
to remove setUp functions that do nothing. Besides, it will keep
code clean.

Change-Id: I2bf79884704974dc00196816f7de43580b474d3e
2017-08-18 01:22:26 +00:00
liuyamin
59c0c8baa5 Add licenses and remove unused import in doc/source/conf.py
Change-Id: I1bded5759442c3d6dc59729f79f8166b999c9c60
2017-08-18 01:15:07 +00:00
Jenkins
74a960a13d Merge "Fix a typo" 2017-08-17 05:41:20 +00:00
Kenneth Giusti
b7382d58d7 Ensure RPC endpoint target attribute is correct
An endpoint can have an optional 'target' attribute which is used to
filter the callable endpoint by the target.version or .namespace
attributes.  Therefore 'target' is reserved and attempting to use an
endpoint that overrides the target attribute (say with a function
call) should fail with a TypeError.

Change-Id: I0bbf9fca0ecbe71efa87c9613ffd32eb718f2c0e
Closes-Bug: #1709131
2017-08-16 12:00:46 -04:00
Jenkins
28e67f4434 Merge "Update links in README" 2017-08-15 13:59:31 +00:00
lidong
b3b1ae1926 Fix a typo
Change-Id: Ie5cb0366804163309f573ca5a2bf5b129c3a8e9b
2017-08-10 01:10:47 +00:00
lidong
cd589ff91b Update links in README
Change-Id: I4c7912efd80333fecb9e7341f2a2e80e8f7ad152
2017-08-04 05:27:43 +00:00
Jenkins
ad4401c475 Merge "fix 'configration' typo" 2017-08-04 05:20:02 +00:00
Jenkins
55ac773571 Merge "Update reno for stable/pike" 2017-08-04 05:18:30 +00:00