Bug 1924007 - Concurrent volume operation causes deadlock in cinder-volume process when json log format is used and debug is enabled [NEEDINFO]
Summary: Concurrent volume operation causes deadlock in cinder-volume process when jso...
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Cinder Bugs List
QA Contact: Evelina Shames
Andy Stillman
URL:
Whiteboard:
Depends On:
Blocks: 2222869
TreeView+ depends on / blocked
 
Reported: 2021-02-02 12:19 UTC by Takashi Kajinami
Modified: 2023-07-14 09:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
knoha: needinfo? (geguileo)
knoha: needinfo? (geguileo)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-2174 0 None None None 2022-06-27 07:54:34 UTC

Description Takashi Kajinami 2021-02-02 12:19:09 UTC
Description of problem:

In the deployment with json log format and debug enabled, when a user executes concurrent volume creation/attachment operations cinder-volume got deadlock.

The process keeps running but and subsequent volume operation gets stuck in *ing status like creating, attaching and so on.
Later the service status in "openstack volume service list" becomes down.


Version-Release number of selected component (if applicable):


How reproducible:
The issue was reproduce several times

Steps to Reproduce:
1. Deploy overcoud with json log format and debug enabled
2. Execute multiple volume creations and attachments

Actual results:
some of volume operations get stuck and status of the cinder-volume service becomes down

Expected results:
volume operations complete and cinder-volume service keeps its up status


Additional info:

Comment 2 Luigi Toscano 2021-02-02 12:32:19 UTC
Doesn't it look like a duplicate of bug 1905301 ?

Comment 3 Takashi Kajinami 2021-02-02 12:37:22 UTC
(In reply to Luigi Toscano from comment #2)
> Doesn't it look like a duplicate of bug 1905301 ?
Thank you for pointing that out.

I initially suspect the same mechanism (because I reported that bug in fact... ),
but my investigation of GURU report indicates that the cause is a circular reference
about locks for log and mysql connection, which I believe is different.


Note You need to log in before you can comment on or make changes to this bug.