617 Commits

Author SHA1 Message Date
Julien Danjou
3dd6a23271 Finish transition to oslo.i18n
Change-Id: Ia0c8c15ba95b1fac6c815b86ccd8771b3ca24327
2014-10-06 13:28:05 +02:00
Jenkins
0aa3312b46 Merge "Enable oslo.i18n for oslo.messaging" 2014-10-04 02:10:02 +00:00
OpenStack Proposal Bot
969847d3f0 Imported Translations from Transifex
Change-Id: I081352535004988c4020265994ecbf17b602dde0
2014-10-03 06:17:54 +00:00
Jenkins
6199e0f92f Merge "Imported Translations from Transifex" 2014-10-01 13:03:46 +00:00
Jenkins
a2f719f0fc Merge "Cleanup listener after stopping rpc server" 2014-10-01 08:43:03 +00:00
OpenStack Proposal Bot
63a5f1c456 Imported Translations from Transifex
Change-Id: I4924b3a25c134a43e12e0b07f6c28944f602e2f7
2014-10-01 06:09:23 +00:00
Jenkins
055e305016 Merge "Updated from global requirements" 2014-09-28 05:34:46 +00:00
Jenkins
dc51213f12 Merge "Add documentation explaining how to use the AMQP 1.0 driver" 2014-09-28 04:38:06 +00:00
OpenStack Proposal Bot
6b405b9fa6 Updated from global requirements
Change-Id: I3ca1464ef5a1dadcc8f030caf7e62135492d05a2
2014-09-26 03:59:04 +00:00
OpenStack Proposal Bot
d4e64d879f Imported Translations from Transifex
Change-Id: I2488afc8064ccfdc7ea7218aa32d0b17b3e0fa2a
2014-09-25 06:24:50 +00:00
Davanum Srinivas
487bbf5b13 Enable oslo.i18n for oslo.messaging
Change-Id: Ic8e05ae4ffe3eb871ae64243c41a9955f47cbe2a
2014-09-24 22:18:50 -04:00
Julien Danjou
8d242bd7ab Switch to oslo.serialization
Change-Id: I24be947cfc2d9ce60e65054e6562e544b1e21195
2014-09-23 14:54:30 +02:00
Abhijeet Malawade
f37800943e Cleanup listener after stopping rpc server
If you don't close the AMQP connection, then the connection
remains open and the next time when the messages are sent on
the listening topic, then some of the messages will not be processed
as there is no dispatcher running to process the message.

Closes-Bug: #1335086
Change-Id: I1f39eedf1500b6b6209ae0222f32e08e304895e0
2014-09-23 03:35:43 -07:00
Jenkins
2b6e24f81b Merge "fix memory leak for function _safe_log" 2014-09-22 05:58:25 +00:00
Jenkins
c364afa9c9 Merge "Stop using intersphinx" 2014-09-21 21:57:37 +00:00
Jenkins
1240e3a2f8 Merge "Stop using importutils from oslo-incubator" 2014-09-21 10:13:37 +00:00
Jenkins
5ff4cbfe60 Merge "Updated from global requirements" 2014-09-20 07:07:18 +00:00
Jenkins
5397da4de3 Merge "Message was send to wrong node with use zmq as rpc_backend" 2014-09-20 01:08:38 +00:00
Jenkins
83c00a256b Merge "Construct ZmqListener with correct arguments" 2014-09-20 00:04:28 +00:00
OpenStack Proposal Bot
5fd9845d2e Updated from global requirements
Change-Id: I10186a04dd5a487a363d9041cf5728af97344d61
2014-09-19 08:51:00 +00:00
jazeltq
93283f2c2d fix memory leak for function _safe_log
In _safe_log it uses recursive closure. The gc can not free stack for
this recursive closure for cycle-reference. So cut down the cycle
to fix it.

Resolved-bug: #1365892
Change-Id: I05fbd7091b886344d76b172a5ad66d9225599d69
2014-09-18 09:26:11 +08:00
Julien Danjou
24786754aa Stop using importutils from oslo-incubator
Change-Id: Ieb06e8325903864cec74bbc72311038fef120144
2014-09-17 16:36:09 +02:00
Jenkins
73d6b210f3 Merge "Updated from global requirements" 2014-09-17 12:55:09 +00:00
Jenkins
d375e76feb Merge "Ensure the amqp options are present in config file" 2014-09-16 14:32:26 +00:00
Jenkins
a37b3f2157 Merge "Imported Translations from Transifex" 2014-09-13 08:37:42 +00:00
OpenStack Proposal Bot
f44b61295a Updated from global requirements
Change-Id: Ib339bbd3d796ae0ee0462ddb561ef87d43848cb5
2014-09-13 07:27:40 +00:00
Jenkins
965715c407 Merge "Let oslotest manage the six.move setting for mox" 2014-09-13 05:27:29 +00:00
Andreas Jaeger
f57a4ab337 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This causes docs jobs to fail because we error out on warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
2014-09-12 22:48:38 +02:00
Kenneth Giusti
bc0033a9c0 Add documentation explaining how to use the AMQP 1.0 driver
Change-Id: I076ccff2b34be3ecf07cdcd0bb9753997c1e3218
Closes-Bug: #1367910
2014-09-12 12:01:35 -04:00
OpenStack Proposal Bot
d2b34c001b Imported Translations from Transifex
Change-Id: Ic64d16459fc2dc1449458b2ef64f94cbfe0c0019
2014-09-12 06:06:41 +00:00
Jenkins
e36340190b Merge "Work toward Python 3.4 support and testing" 2014-09-12 05:29:02 +00:00
James Page
4b57eeed13 Construct ZmqListener with correct arguments
The ZmqListener constructor only accepts a driver as an argument.

Drop surplus 'None' in listen_for_notifications method.

Change-Id: I6aec91122bb9406e387728eb2a2380f2c2094595
Closes-Bug: #1368154
2014-09-11 12:13:30 +01:00
zhangjl
3e6c0b38a3 Message was send to wrong node with use zmq as rpc_backend
zmq: Send message to correct endpoint for directed messages

If set the zmq driver needs to use the topic.server
attribute to ensure that messages directed to a
specific endpoint are sent to the correct server rather
than being randomly sent to endpoints advertising the
required topic.

Change-Id: If63235640e0b8e6ec8690a4edaefa1b303705ac6
Closes-bug: #1301723
2014-09-11 17:19:21 +08:00
Jenkins
3603c76f6e Merge "Import notifier middleware from oslo-incubator" 2014-09-10 09:32:08 +00:00
Jeremy Stanley
e0adc7db6c Work toward Python 3.4 support and testing
Change-Id: I766de4fa6f352fa1c9284187134654de1a468622
2014-09-09 23:25:31 +00:00
Jenkins
59e0ec93c2 Merge "Add contributing page to docs" 2014-09-09 15:47:35 +00:00
Mehdi Abaakouk
d753b030c6 Ensure the amqp options are present in config file
This change ensures that the amqp1 will be present into the
configfile even the required python module are not present and
also put them into the correct section, [oslo_messaging_amqp1].

Change-Id: I1005405d7ed51090495688eadbe400dbff7c3cc9
2014-09-09 11:57:12 +02:00
Jenkins
37ed443727 Merge "Add square brackets for ipv6 based hosts" 2014-09-09 05:31:35 +00:00
Davanum Srinivas
214fa5e312 Add contributing page to docs
Change-Id: I23d5220f3c3b58a92d51307637ce0424c023d80e
2014-09-08 20:38:07 -04:00
Julien Danjou
f8ea1a0f76 Import notifier middleware from oslo-incubator
Blueprint: graduate-notifier-middleware

Change-Id: I2aa341f3e96a7344b87160609fb47e43bae5b245
2014-09-08 16:27:27 -04:00
Jenkins
fbaa46e276 Merge "warn against sorting requirements" 2014-09-08 16:23:08 +00:00
Jenkins
ac74be3c80 Merge "Improve help strings" 2014-09-08 15:24:39 +00:00
Doug Hellmann
41fbe410aa Let oslotest manage the six.move setting for mox
This instruction to set up a move in six for the mox module conflicts
with the one in oslotest. We are trying to use mox3 everywhere, so
remove this instruction and let oslotest handle it.
Imported from the incubator change with the same ID.

Change-Id: I59d5799283233f8411044ddb15c8abfc8850014c
2014-09-07 17:24:02 -04:00
OpenStack Proposal Bot
6ea3b12492 Imported Translations from Transifex
Change-Id: I0b52daf264131025c3a6c0c92a481a39f4b96fea
2014-09-07 06:09:33 +00:00
Davanum Srinivas
ff6c5e95da Add square brackets for ipv6 based hosts
Closes-Bug: #1364837
Change-Id: I8f9702377cc049b74622c2db847ffac3ba946b3a
2014-09-05 14:50:18 +00:00
Gordon Sim
fbee94170f An initial implementation of an AMQP 1.0 based messaging driver
The key driver interfaces are implemented in the ProtonDriver class in
driver.py.  The logic for interfacing with Pyngus in order to
send/receive messages, manage AMQP connections and links, and handle
protocol events is in controller.py.  eventloop.py is a fairly generic
socket connection and I/O processor which runs in its own thread.
controller.py uses the eventloop.py thread to schedule subscription
and message send requests from the driver, as well as handle all
protocol event callbacks coming from Pyngus.

Included in this patch are a set of functional tests that can be run
under tox (tox -eamqp1).  These tests fully exercise the new driver,
from the driver API down to the 'wire' - nothing in the driver is
mocked out.  The functional tests implement a simple loopback test
broker, which allows the driver to send and receive messages via the
local network.  All RPC call patterns, RPC timeouts, and even broker
failover are verified by the included functional tests.

This driver uses the Pyngus module, which is a pure-python client API
built on the Proton AMQP 1.0 protocol engine library from the Apache
Qpid project.  Pyngus is available via pypi.python.org.

This driver introduces a dependency on the Proton AMQP 1.0 protocol
library, which is a platform-dependent library that must be installed
in order to use this driver and run the functional tests.

Change-Id: I871703e4cdc04cee3e6c214e911c9df464ede2ed
Implements: blueprint amqp10-driver-implementation
2014-09-04 15:12:43 -04:00
Doug Hellmann
b9a917c2e2 warn against sorting requirements
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Addresses-Bug: #1365061
2014-09-03 14:23:10 -04:00
Andreas Jaeger
7c2853a92c Improve help strings
Follow oslo.config conventions for consistency of help strings:
* Use sentence style capitalization.
* End entry with a "."
Fix capitalization of AMQP.

Change-Id: I0a6b170a2a7cfa539e06781f4495c4353d22e4d0
2014-08-28 06:59:33 +02:00
Julien Danjou
a9ec73f38d Switch to oslo.utils
Change-Id: I262e98d8d03acbe2ff8fee5d607279a669a89e34
2014-08-27 14:14:00 +02:00
Jenkins
4f929c3470 Merge "Import oslo-incubator context module" 2014-08-27 11:36:04 +00:00