2291 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
38d8bdcd19 Updated from global requirements
Change-Id: Ida4133ebeb4cc0cbfbd0e8ee62a52236dc4a0256
2017-08-18 11:40:06 +00:00
Jenkins
74a960a13d Merge "Fix a typo" 2017-08-17 05:41:20 +00: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
OpenStack Proposal Bot
0976185b69 Updated from global requirements
Change-Id: I8e7c47dc199798a3490ebfffa0581cf74566f45b
2017-08-03 12:47:07 +00:00
Adam Spiers
1038a1c038 fix 'configration' typo
Fix typos in the documentation and corresponding directory structure.

Change-Id: I90c40139f6c6af3d326f6f9251e6821d5c4b1a82
2017-07-31 11:28:28 +01:00
4aec303960 Update reno for stable/pike
Change-Id: Ia038290d7cc73acdf6d978203fa710366fda6643
2017-07-28 21:05:03 +00:00
Kenneth Giusti
2c9ac202eb Remove the test that counts kombu connect calls
This test removes a check of the number of times kombu's
Connection.connect() method is being called for each mocked retry.
The number of calls kombu makes internally is irrelevant to proving
the API is correct.  The rest of the tests do ensure that the target
method is retried as expected, which is relevant to the API.

This change is necessary due to the kombu v4.1.0 release actually
calling Connection.connect() twice for each call to the target method
when compaired to earlier releases.

Change-Id: I3326b8e92efe3bef00b1f389d81944af9cc080f8
Closes-Bug: #1707263
2017-07-28 14:08:32 -04:00
OpenStack Proposal Bot
a931af6fd5 Updated from global requirements
Change-Id: I7b81c8def55f702b95204d727b95d879c441167e
2017-07-18 01:54:53 +00:00
Jenkins
78b698af28 Merge "Add monkey_patch to demo code." 2017-07-13 06:10:43 +00:00
ChangBo Guo(gcb)
60f9989920 Update URLs in documents according to document migration
Change-Id: I139d4d38e49590d50e51495b6e3b84836975c6ed
2017-07-12 22:54:02 +08:00
zhiCHang1990
1389893dd0 Add monkey_patch to demo code.
The RPC server code can not work if we
don't add eventlet.monkey_patch() at the
begining.

Change-Id: I65a162a427fb5615c95a70e6d1bbec899a78f231
2017-07-11 09:45:08 +08:00
Jenkins
cbf56b0afd Merge "switch from oslosphinx to openstackdocstheme" 2017-07-10 03:54:23 +00:00
Dong Ma
bff426f0eb switch from oslosphinx to openstackdocstheme
Change-Id: Ic3d9b9cbef0040512e37c8e99df7bb028e344bc9
2017-07-06 15:50:11 +00:00
Dong Ma
ee38414f21 update the docs url in the readme
Change-Id: I9e24fe1c1dd17246fd090e852b5895132952eb02
2017-07-06 13:54:27 +08:00
Jenkins
b36cfac525 Merge "rearrange content to fit the new standard layout" 2017-07-06 03:34:12 +00:00
Dong Ma
280cb368f7 rearrange content to fit the new standard layout
Change-Id: I4dd1c9c289d31077b71f3d96877b776d9d5e16f7
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2017-07-06 03:19:38 +08:00
Jenkins
e432fac63b Merge "Enable some off-by-default checks" 2017-07-05 12:52:59 +00:00
OpenStack Proposal Bot
58eb8ab4aa Updated from global requirements
Change-Id: I3c492ddd176882989a8a083fb560ab5c5df2452f
2017-06-27 12:20:15 +00:00
blue55
f87c349bc3 Enable some off-by-default checks
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None

Change-Id: I54b4b950dfcd2ce5a64f38b5d5b5cbe95846a8fa
2017-06-22 11:02:49 +08:00
OpenStack Proposal Bot
2fb4a216cc Updated from global requirements
Change-Id: Ib872e230f563ca2e1e3e67f9dabe13250735c9e7
2017-06-15 16:32:57 +00:00
Andrew Smith
eccdea5ceb Add kafka_driver directory
Make uniform with other drivers, kafka driver files, etc.

Change-Id: I6c6e201c304a6005ef191f96e5ac39ffaf4ab8f7
2017-06-13 08:46:50 -04:00
Jenkins
4784d70a0e Merge "Fix html_last_updated_fmt for Python3." 2017-06-12 10:51:54 +00:00
OpenStack Proposal Bot
e6b225c562 Updated from global requirements
Change-Id: I9313f1d68f67c3839a261ac9661e85bbdb03b94e
2017-06-10 13:35:26 +00:00
Jenkins
570fb93a2e Merge "Fix rabbitmq driver with blocking executor" 2017-06-09 12:35:52 +00:00
ZhangHongtao
53b699b90a Fix html_last_updated_fmt for Python3.
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: Ifde17e94d0345a289eea29ba3d664d31f1eb51d9
Closes-Bug:#1693670
2017-06-09 17:38:47 +08:00
Thomas Herve
08094214ba Add note for blocking executor deprecation
Change-Id: I5a7607add852258ca6623f9b855c36eda5ff9e1e
2017-06-08 14:26:10 +02:00
Mehdi Abaakouk
8ee5ae135a Fix rabbitmq driver with blocking executor
We recently move ack/requeue of messages in main/polling thread
of rabbitmq drivers. And break the blocking executor.

This one is not tested by any tests and now deprecated.

This change workaround the issue until we completely remove the
blocking executor.

Change-Id: Id479100f6ff364cf67a199e9b70f9f0c7bf7e1a9
Closes-bug: #1694728
2017-06-08 14:15:15 +02:00
Jeremy Stanley
1a036f5b55 Build universal wheels
The trove metadata for this package claims to support both Python
2.x and Py3K; build universal wheels so Python 3.x interpreters can
consume them too.

Change-Id: I0b88fcaa2ea36e1d7478d76b86c6c1f1e68c8616
2017-06-07 14:44:06 +00:00
Jenkins
652fc9c24a Merge "Updated from global requirements" 2017-06-06 09:46:58 +00:00
Jenkins
aaaf58269c Merge "deprecated blocking executor" 2017-06-06 07:04:35 +00:00
OpenStack Proposal Bot
d54efeb204 Updated from global requirements
Change-Id: I8f6d464a259ce1afc83728ddced8e8803e04f657
2017-06-06 06:10:38 +00:00
Kenneth Giusti
1642071feb Fix serializer tests
The serializer tests occasionally fail since the order of a dict() is
not guaranteed.  Explicitly compute the serializer instead of
pre-computing it.

Change-Id: I74f8fa227e6508491b5982fe7e2841683724540c
2017-06-05 14:14:56 -04:00
Mehdi Abaakouk
2566be199a deprecated blocking executor
Using blocking executor is not recommended for application. But it looks
like some use it just because it's the default and are not aware their
should change it despite of documentation and logging message.

Choosing the application threading model is an important step
of an application.

This change deprecates it, in the future we will just make executor
mandatory. This will ensure that application make a choice.

Also this will reduce headache of oslo.messaging developers to
make the driver code working in a sync and async.

And to finish test coverage of blocking executor is 0%...

This rework some tests to remove logging.captureWarnings() that can
catch unwanted warning of other tests. Tests mocks warning instead.

Related-bug: #694728
Change-Id: Ic67164d12e7a9bed76d6e64ca2ced12e3984ff5f
2017-06-04 14:27:41 +02:00
Jenkins
8b44bfd538 Merge "Clean up the TransportURL documentation" 2017-06-02 12:58:42 +00:00
OpenStack Proposal Bot
d46f3cfdf9 Updated from global requirements
Change-Id: I1a4a507ba4077b8a8e2e4f1c4e7ac93158918b48
2017-06-02 02:35:03 +00:00
Kenneth Giusti
c7d880c33a Clean up the TransportURL documentation
Be specific regarding which characters can be used in the 'username'
and 'password' fields of the URL.

Change-Id: I9a2a801b3dd86fceffb05f4d52c715748c88d0cb
Closes-Bug: #1693967
2017-06-01 15:43:03 -04:00
Jenkins
40532a2a45 Merge "Mark the Pika driver as deprecated" 2017-05-31 03:37:09 +00:00
Kenneth Giusti
c35fb276ce Mark the Pika driver as deprecated
The Pika driver was intended to be a more stable and performant
replacement for the default rabbit driver.  However due to lack of
both maintainers and compelling evidence that pika is superior to the
existing rabbit driver in either performance or stability it has been
deprecated for removal.

See:
http://lists.openstack.org/pipermail/openstack-dev/2017-May/116679.html

Change-Id: I98e0123edd3248be665325833283689fc3a897f7
2017-05-30 13:21:23 -04:00
Jenkins
268ca151dc Merge "Add missing {posargs:} to AMQP 1.0 functional tests" 2017-05-26 17:01:19 +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
Kenneth Giusti
d20e89c05c Add missing {posargs:} to AMQP 1.0 functional tests
Change-Id: Ic0e340e24212c5690d65d593221fb4b89600627d
2017-05-22 13:04:41 -04:00
Jenkins
46f9648261 Merge "rabbit: restore synchronous ack/requeue" 2017-05-22 15:28:34 +00:00
Mehdi Abaakouk
da02bc2169 rabbit: restore synchronous ack/requeue
In https://review.openstack.org/#/c/436958, we fix a thread safety
issue. But we make the ack/requeue of message asynchronous. In nominal
case, it works, but if network/rabbit connection issue occurs this
can result to rpc call handle twice. By chance we double check already
processed message ids, and drop duplicates, but that if the message
goes to another node, the mitigation won't work.

This restore the previous behavior, to ensure we run application
callback of rpc.call/rpc.cast only when the message have been
successfully ack.

Change-Id: I62b9e09513e3ebfebc64a941d4b21b6c053b511d
2017-05-21 11:42:41 +02:00
OpenStack Proposal Bot
7678848425 Updated from global requirements
Change-Id: Ic860a75be324005d072159e30d84b4c55b198242
2017-05-17 13:47:59 +00:00
Jenkins
6feb4a6f54 Merge "Add get_rpc_transport call" 2017-05-17 10:09:26 +00:00