registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #09161
[Bug 609749] [NEW] nova.process singleton isn't working, causing "Someone released me too many times: too many tokens!" assertion
Public bug reported:
The singleton logic in nova.process is broken, causing this assertion to
be hit:
DEBUG:root:Someone released me too many times: too many tokens!
The problem is that the override of SharedPool.__new__ doesn't stop
ProcessPool.__init__ from being run whenever process.simple_execute is
called. When __init__ runs for the second time, the DeferredSemaphore
is replaced. This means that as soon as you have more than one Deferred
running at the same time, you end up releasing a different semaphore to
the one that you acquired.
** Affects: nova
Importance: Undecided
Assignee: Ewan Mellor (ewanmellor)
Status: In Progress
** Changed in: nova
Status: New => In Progress
** Changed in: nova
Assignee: (unassigned) => Ewan Mellor (ewanmellor)
--
nova.process singleton isn't working, causing "Someone released me too many times: too many tokens!" assertion
https://bugs.launchpad.net/bugs/609749
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.
Follow ups
-
[Bug 609749] Re: nova.process singleton isn't working, causing "Someone released me too many times: too many tokens!" assertion
From: Eric Day, 2010-10-25
-
[Bug 609749] Re: nova.process singleton isn't working, causing "Someone released me too many times: too many tokens!" assertion
From: vishvananda, 2010-07-27
-
[Bug 609749] Re: nova.process singleton isn't working, causing "Someone released me too many times: too many tokens!" assertion
From: Ewan Mellor, 2010-07-25
-
[Bug 609749] Re: nova.process singleton isn't working, causing "Someone released me too many times: too many tokens!" assertion
From: Ewan Mellor, 2010-07-25
-
[Bug 609749] [NEW] nova.process singleton isn't working, causing "Someone released me too many times: too many tokens!" assertion
From: Ewan Mellor, 2010-07-25
References