Comment 2 for bug 1592520

Revision history for this message
Rodrigo Freire (rbs-j) wrote :

And I have found the solution too.

When detaching the LUNs, multipath -f <WWID> can be racy, leaving these lingering devices.
The proposed solution involves:

1. Disable lvmetad in the compute node:
   * Edit /etc/lvm/lvm.conf and change:
     use_lvmetad = 1
   to
     use_lvmetad = 0

2. Insert a sleep just after multipath -f <WWID> in os_brick/initiator/linuxscsi.py.