Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow OSD nodes to quiesce after a deleting pool
When deleting a pool, it may take a while for the OSD nodes to delete the objects in the pool. This change makes CBT wait until the OSD nodes quiesce in order to ensure they are idle before starting the next test run. Quiescing is done by waiting until the maximum disk utilization for any disk falls below a threshold, and waiting until the maximum CPU utilization for any ceph-osd process falls below a threshold. The thresholds can be tuned using the following cluster configuration parameters (the default values are listed): cluster: quiesce_disk_util_max: 3 quiesce_disk_window_size: 30 quiesce_osd_cpu_max: 3 If quiesce_disk_util_max or quiesce_osd_cpu_max is zero then the corresponding disk/CPU quiescing operation is skipped. Closes ceph#117 (cherry picked from commit 3d442c7)
- Loading branch information