[openstack-dev] [oslo.messaging][zmq] Redundant zmq.Context creation

Elena Ezhova eezhova at mirantis.com
Fri Jan 23 11:22:05 UTC 2015


On Fri, Jan 23, 2015 at 1:55 PM, Ilya Pekelny <ipekelny at mirantis.com> wrote:

>
>
> On Fri, Jan 23, 2015 at 12:46 PM, ozamiatin <ozamiatin at mirantis.com>
> wrote:
>
>> IMHO It should be created once per Reactor/Client or even per driver
>> instance.
>>
>
> Per driver, sounds good.
>
Wouldn't this create regression for Neutron? The original change was
supposed to fix the bug [1], where each api-worker process got the same
copy of the Context due to its singletony nature.

>
>
>>
>> By the way (I didn't check it yet with current implementation of the
>> driver) such approach should break the IPC, because such kind of sockets
>> should be produced from the same context.
>>
>
> Please, check it. Looks like a potential bug.
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
[1] https://bugs.launchpad.net/neutron/+bug/1364814
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150123/fce2bfb7/attachment.html>


More information about the OpenStack-dev mailing list