<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oslo.git/openstack/common/rpc, branch master</title>
<subtitle>OpenStack's oslo-incubator patches.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/'/>
<entry>
<title>Merge "Add support for heartbeating in the kombu RPC driver"</title>
<updated>2013-07-08T13:09:28+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-07-08T13:09:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=eb605e8c1e2eacb4cae879a62e046cd0573c124d'/>
<id>eb605e8c1e2eacb4cae879a62e046cd0573c124d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for heartbeating in the kombu RPC driver</title>
<updated>2013-07-08T10:27:01+00:00</updated>
<author>
<name>Kiall Mac Innes</name>
<email>kiall@hp.com</email>
</author>
<published>2013-06-28T20:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=c37f6aaab3ac00b7865dee18158114433350237e'/>
<id>c37f6aaab3ac00b7865dee18158114433350237e</id>
<content type='text'>
This aides in detecting connection interruptions that would otherwise
go unnoticed.

Fixes bug #856764

Change-Id: Id4eb3d36036969b62890175d6a33b4e304be0527
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This aides in detecting connection interruptions that would otherwise
go unnoticed.

Fixes bug #856764

Change-Id: Id4eb3d36036969b62890175d6a33b4e304be0527
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace sys.exit by a RPCException</title>
<updated>2013-07-02T07:48:25+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>mehdi.abaakouk@enovance.com</email>
</author>
<published>2013-06-21T13:44:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=dea334a3f55ee7876fdb1b4717e7be8f21499b81'/>
<id>dea334a3f55ee7876fdb1b4717e7be8f21499b81</id>
<content type='text'>
This change replace sys.exit by a RPCException like the zmq
implementation does, to allow library users to handle the case of the
rpc failure in their applications.

Change-Id: Iafda7bfa20840fa5488dece1d5ad49e2b14b73b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change replace sys.exit by a RPCException like the zmq
implementation does, to allow library users to handle the case of the
rpc failure in their applications.

Change-Id: Iafda7bfa20840fa5488dece1d5ad49e2b14b73b5
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Don't reconnect to exclusive fanout consumers."</title>
<updated>2013-06-26T11:41:19+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-06-26T11:41:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=b7b4dbc41c4b361ca1afcc8ded0d47f78b53a131'/>
<id>b7b4dbc41c4b361ca1afcc8ded0d47f78b53a131</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Make AMQP based RPC consumer threads more robust"</title>
<updated>2013-06-26T11:40:23+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-06-26T11:40:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=891287451754ac0394f1b8fa31a0505a304dccc2'/>
<id>891287451754ac0394f1b8fa31a0505a304dccc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make AMQP based RPC consumer threads more robust</title>
<updated>2013-06-25T21:49:50+00:00</updated>
<author>
<name>Raymond Pekowski</name>
<email>pekowski@gmail.com</email>
</author>
<published>2013-06-25T04:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=22ec8ff616a799085239e3e529daeeefea6366c4'/>
<id>22ec8ff616a799085239e3e529daeeefea6366c4</id>
<content type='text'>
bug 1189711 Should RPC consume_in_thread() be more fault tolerant?

There are unprotected holes in the thread kicked off by RPC
consume_in_thread such that an exception will kill the thread.
This exists for both the service (TopicConsumer) and the new
reply proxy (DirectConsumer) consumers. This patch plugs
those holes as close to the base of the consumer thread as
possible by catching all non-caught exceptions and retrying
with sleeps between retries and some pacing of the log
output to prevent log flooding.

Change-Id: I0d6ec8a5e3a310314da201656ee862bb40b41616
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bug 1189711 Should RPC consume_in_thread() be more fault tolerant?

There are unprotected holes in the thread kicked off by RPC
consume_in_thread such that an exception will kill the thread.
This exists for both the service (TopicConsumer) and the new
reply proxy (DirectConsumer) consumers. This patch plugs
those holes as close to the base of the consumer thread as
possible by catching all non-caught exceptions and retrying
with sleeps between retries and some pacing of the log
output to prevent log flooding.

Change-Id: I0d6ec8a5e3a310314da201656ee862bb40b41616
</pre>
</div>
</content>
</entry>
<entry>
<title>rpc: remove some unused serialization code</title>
<updated>2013-06-25T06:12:21+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2013-06-25T06:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=13650b13ddd535481a0112de9c2ffcb7a2996b11'/>
<id>13650b13ddd535481a0112de9c2ffcb7a2996b11</id>
<content type='text'>
The first commit of Nova contains this code as

 https://github.com/openstack/nova/blob/bf6e6e7/nova/rpc.py#L149

    try:
        publisher.send({'result': reply})
    except TypeError:
        publisher.send(
                {'result': dict((k, repr(v))
                                for k, v in reply.__dict__.iteritems())
                 })

but when the kombu driver was first added, it became:

 https://github.com/openstack/nova/blob/9cb46c48/nova/rpc/impl_kombu.py#L717

        try:
            msg = {'result': reply, 'failure': failure}
        except TypeError:
            msg = {'result': dict((k, repr(v))
                            for k, v in reply.__dict__.iteritems()),
                    'failure': failure}
        conn.direct_send(msg_id, msg)

Obviously, TypeError can't be raised with the current code and we dump
everything to json these days before passing down to kombu, qpid, etc.

Change-Id: I932fbfbbe824fbd9de8d31f070878e9db853ee45
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The first commit of Nova contains this code as

 https://github.com/openstack/nova/blob/bf6e6e7/nova/rpc.py#L149

    try:
        publisher.send({'result': reply})
    except TypeError:
        publisher.send(
                {'result': dict((k, repr(v))
                                for k, v in reply.__dict__.iteritems())
                 })

but when the kombu driver was first added, it became:

 https://github.com/openstack/nova/blob/9cb46c48/nova/rpc/impl_kombu.py#L717

        try:
            msg = {'result': reply, 'failure': failure}
        except TypeError:
            msg = {'result': dict((k, repr(v))
                            for k, v in reply.__dict__.iteritems()),
                    'failure': failure}
        conn.direct_send(msg_id, msg)

Obviously, TypeError can't be raised with the current code and we dump
everything to json these days before passing down to kombu, qpid, etc.

Change-Id: I932fbfbbe824fbd9de8d31f070878e9db853ee45
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Optionally reject messages on exception."</title>
<updated>2013-06-24T21:27:10+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-06-24T21:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=bc10b7aeada4ea66e85e10b94b5c219e3c8d2e77'/>
<id>bc10b7aeada4ea66e85e10b94b5c219e3c8d2e77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Optionally reject messages on exception.</title>
<updated>2013-06-20T17:35:25+00:00</updated>
<author>
<name>Sandy Walsh</name>
<email>sandy.walsh@rackspace.com</email>
</author>
<published>2013-06-19T20:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=e204885a907c6cca79f8504a942006cdb737bb28'/>
<id>e204885a907c6cca79f8504a942006cdb737bb28</id>
<content type='text'>
Rather than blindly ack() all messages, consumers can be created
that reject() the message if an exception occurs in the callback.

Currently only implemented in kombu driver.

Change-Id: I308dd794b50966e3a189d31b2b51fdac36cd7d3a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than blindly ack() all messages, consumers can be created
that reject() the message if an exception occurs in the callback.

Currently only implemented in kombu driver.

Change-Id: I308dd794b50966e3a189d31b2b51fdac36cd7d3a
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused zmq relay functionality</title>
<updated>2013-06-17T20:47:11+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2013-06-06T06:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=688832fd379776bf12f21f76c884caa42a48d2c5'/>
<id>688832fd379776bf12f21f76c884caa42a48d2c5</id>
<content type='text'>
Fixes bug #1188029

This relay functionality appears to be completely unused and untested
so just remove it. If we need it in future, we can restore it from the
git history.

Change-Id: I479d654aefdbd58c80946818b9a405eaa02644db
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes bug #1188029

This relay functionality appears to be completely unused and untested
so just remove it. If we need it in future, we can restore it from the
git history.

Change-Id: I479d654aefdbd58c80946818b9a405eaa02644db
</pre>
</div>
</content>
</entry>
</feed>
