yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19670
[Bug 1363231] [NEW] Periodic thread lockup
Public bug reported:
The instance locking introduced in
cc5388bbe81aba635fb757e202d860aeed98f3e8 keeps the power state sane
between stop and the periodic task power sync. However, locking on
an instance in the periodic task thread can potentially lock
that thread for a long time.
Example:
1) User boots an instance. The instance gets locked by uuid.
2) Driver spawn begins and the image starts downloading from glance.
3) During spawn, periodic tasks run. Sync power states tries to grab
the same instance lock by uuid.
4) Periodic task thread hangs until the driver spawn completes in
another greenthread.
This scenario results in nova-compute appearing unresponsive for
a long time.
** Affects: nova
Importance: Undecided
Assignee: Brian Elliott (belliott)
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1363231
Title:
Periodic thread lockup
Status in OpenStack Compute (Nova):
In Progress
Bug description:
The instance locking introduced in
cc5388bbe81aba635fb757e202d860aeed98f3e8 keeps the power state sane
between stop and the periodic task power sync. However, locking on
an instance in the periodic task thread can potentially lock
that thread for a long time.
Example:
1) User boots an instance. The instance gets locked by uuid.
2) Driver spawn begins and the image starts downloading from glance.
3) During spawn, periodic tasks run. Sync power states tries to grab
the same instance lock by uuid.
4) Periodic task thread hangs until the driver spawn completes in
another greenthread.
This scenario results in nova-compute appearing unresponsive for
a long time.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1363231/+subscriptions
Follow ups
References