commit 5166aab73ac55781a49aed6319302fd4ffa8b2be
Author: Imre Farkas <email address hidden>
Date: Thu Apr 24 17:44:36 2014 +0200
Fix workaround for the "device is busy" problem
Right after partitioning, we have a sleep(3) to avoid the "device is
busy" problem. A less error-prone solution is to check with fuser,
whether there is any process currently using the disk.
The following config options are introduced under the 'disk_partitioner'
group:
- check_device_interval: seconds between consecutive checks for the
device status
- check_device_max_retries: number of retries for checking the device
status
Reviewed: https:/ /review. openstack. org/90126 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=5166aab73ac 55781a49aed6319 302fd4ffa8b2be
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5166aab73ac5578 1a49aed6319302f d4ffa8b2be
Author: Imre Farkas <email address hidden>
Date: Thu Apr 24 17:44:36 2014 +0200
Fix workaround for the "device is busy" problem
Right after partitioning, we have a sleep(3) to avoid the "device is
busy" problem. A less error-prone solution is to check with fuser,
whether there is any process currently using the disk.
The following config options are introduced under the 'disk_partitioner' interval: seconds between consecutive checks for the max_retries: number of retries for checking the device
group:
- check_device_
device status
- check_device_
status
Change-Id: Icb73db5aeb16d1 abc390975c2bd8b f4b486566e5 status- check-with- fuser
Implements: blueprint device-
Closes-Bug: #1301975