Comment 6 for bug 1461126

Revision history for this message
Alexander Gordeev (a-gordeev) wrote : Re: IBP failed to boot into image on SSD

It's not clear what happens.

fuel-agent log stops at
2015-06-03 17:08:14.734 9132 DEBUG fuel_agent.utils.utils [-] Trying to execute command: lvcreate -L 32768m -n swap os

any 'lvs'/'pvs'/another lvm related command gets stuck.

[root@bootstrap ~]# pvs
^C Interrupted...
  Giving up waiting for lock.
  /var/lock/lvm/V_os: flock failed: Interrupted system call
  Can't get lock for os
  Skipping volume group os
  PV VG Fmt Attr PSize PFree
  /dev/sda5 vm lvm2 a-- 10.82t 10.82t
[root@bootstrap ~]# pvs
^C Interrupted...
  Giving up waiting for lock.
  /var/lock/lvm/V_os: flock failed: Interrupted system call
  Can't get lock for os
  Skipping volume group os
  PV VG Fmt Attr PSize PFree
  /dev/sda5 vm lvm2 a-- 10.82t 10.82t
[root@bootstrap ~]# lvs

Also noticed that if 'provision' is executed in background just as 'provision &' it will fihish proreply.

I'm not sure how to properly reproduce lvm deadlock and how to avoid it.