[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2015-01-22 Thread James Page
Released in Ubuntu in 1.5.1.

** Changed in: oslo.messaging (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to oslo.messaging in Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2015-01-22 Thread James Page
Released in Ubuntu in 1.5.1.

** Changed in: oslo.messaging (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-12-02 Thread Mehdi Abaakouk
** Changed in: oslo.messaging
   Status: Fix Committed = Fix Released

** Changed in: oslo.messaging
Milestone: None = 1.5.0

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to oslo.messaging in Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-12-02 Thread Mehdi Abaakouk
** Changed in: oslo.messaging
   Status: Fix Committed = Fix Released

** Changed in: oslo.messaging
Milestone: None = 1.5.0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-11-20 Thread Elena Ezhova
** Changed in: neutron
   Status: Opinion = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-11-19 Thread Elena Ezhova
If we look at the problem from the Neutron side, we can see that while
Neutron server starts, it firstly loads core plugin and service plugins,
which start message handling server, and only then forks to create api-
workers. As a result, all child processes get the same copy of the
context.

In this case, instead of making singletony ZeroMQ Context thread-local,
that is supposed to be used for threads and not processes, it is better
to create new Context for each socket. This will prevent such situations
from happening and will guarantee that each process works with its own
Context.

I have updated the proposed fix accordingly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-11-19 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/126914
Committed: 
https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=0d49793e340728416c0c7b1bf964b54efd7e5acb
Submitter: Jenkins
Branch:master

commit 0d49793e340728416c0c7b1bf964b54efd7e5acb
Author: Elena Ezhova eezh...@mirantis.com
Date:   Wed Oct 8 18:18:20 2014 +0400

Create ZeroMQ Context per socket

ZeroMQ Context is a singleton and thus is created only once. This leads
to problems when there is more than one process working with it.
For example, while Neutron server starts, it firstly loads core
plugin and service plugins, which start message handling server,
and only then forks to create api-workers. As a result, all child
processes get the same copy of the context.

Creating new Context for each socket will prevent such situations
from happening and will guarantee that each process works with its
own Context.

Change-Id: I56912e39b119c20f6f23311fc2c7c4b9e9e480d0
Closes-Bug: #1364814


** Changed in: oslo.messaging
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-11-19 Thread Dongcan Ye
Good job, thanks eezhoova.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-10-17 Thread James Page
** Tags added: zmq

** Also affects: oslo.messaging (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to oslo.messaging in Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1364814] Re: Neutron multiple api workers can't send cast message to agent when use zeromq

2014-10-17 Thread James Page
** Tags added: zmq

** Also affects: oslo.messaging (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1364814

Title:
  Neutron multiple api workers can't send cast message to agent when use
  zeromq

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1364814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs