LVM hang in volume creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Won't Fix
|
High
|
Unassigned |
Bug Description
Sometimes, after running a bunch of cinder create-volumes in parallel (anecdotally this is easier to reproduce on a clear system), we see a bunch of stuck LVM processes, e.g.:
root@overcloud-
7601 ? root lvcreate - 4 flock_lock_
10533 ? root lvcreate - 4 flock_lock_
13098 ? root lvcreate - 4 flock_lock_
13505 ? root lvcreate - 4 flock_lock_
13552 ? root lvcreate - 4 flock_lock_
16955 ? root lvs - 0 flock_lock_
17227 ? root lvcreate - 4 flock_lock_
19629 ? root lvcreate - 4 flock_lock_
22434 ? root lvs - 0 flock_lock_
23525 ? root lvcreate - 4 SYSC_semtimedop
23732 ? root lvcreate - 4 flock_lock_
27043 ? root lvcreate - 4 flock_lock_
29726 ? root lvcreate - 4 flock_lock_
29858 ? root lvs - 0 flock_lock_
One is waiting for the semaphore to be decremented, the others are queued up behind the flock held by that process.
Killing the process waiting for the semaphore, or running "dmsetup udevcomplete_all", causes the system to get unwedged
Changed in cinder: | |
assignee: | nobody → Albert Syriy (asyriy) |
Changed in cinder: | |
assignee: | Albert Syriy (asyriy) → nobody |
Looks like we might be seeing this in the gate now: logs.openstack. org/22/ 119522/ 9/check/ check-tempest- dsvm-postgres- full/46a5f8c/ logs/screen- c-vol.txt. gz
http://