Comment 0 for bug 1301975

Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :

Right now after partitioning the disk we have a sleep(3) to avoid the #device is busy problem, but that's not the right way to avoid this kind of problem, a better way to do it would be to check with fuser or lsof whether there's any process holding the device or if it's free (not busy).

https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/deploy_utils.py#L99