Frequent threading lockup when using rbd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
Fix Released
|
High
|
Unassigned |
Bug Description
Recently glance_store can lock up while copying an image to an RBD store. This manifests in CI with the following tempest failure:
Traceback (most recent call last):
File "/opt/stack/
waiters.
File "/opt/stack/
raise exc_cls(message)
tempest.
Details: (ImportImagesTe
The following traceback can be found in the glance API logs when this happens:
May 18 00:03:54.307045 np0034059457 <email address hidden>[109619]: Traceback (most recent call last):
May 18 00:03:54.307045 np0034059457 <email address hidden>[109619]: File "/usr/local/
May 18 00:03:54.307045 np0034059457 <email address hidden>[109619]: timer()
May 18 00:03:54.307045 np0034059457 <email address hidden>[109619]: File "/usr/local/
May 18 00:03:54.307045 np0034059457 <email address hidden>[109619]: cb(*args, **kw)
May 18 00:03:54.307045 np0034059457 <email address hidden>[109619]: File "/usr/local/
May 18 00:03:54.307045 np0034059457 <email address hidden>[109619]: waiter.
May 18 00:03:54.307750 np0034059457 <email address hidden>[109619]: greenlet.error: cannot switch to a different thread
Changed in glance-store: | |
importance: | Undecided → High |
Changed in glance-store: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/openstack /glance_ store/+ /883532 /opendev. org/openstack/ glance_ store/commit/ 99f4014493fa617 8961a588ca6e1c5 2b4cc8d549
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 99f4014493fa617 8961a588ca6e1c5 2b4cc8d549
Author: Dan Smith <email address hidden>
Date: Thu May 18 14:12:25 2023 +0000
Revert "RBD: Wrap RBD calls in native threads"
This reverts commit 27ab8a6aeb7a59b c56ed0ad26ffb5a 83d426b447.
Reason for revert: The change introduced a blocking library call for
the thread running import jobs.
Closes-Bug: #2020122 67cf4adf7257d59 60338901158
Change-Id: I83e3a0da9fdf71