Description of problem: The 'RETRIES' counter is not reset after each call of check_pgs in the restart_osd_daemon.sh script. It's set with a default of 40 attempts, it means that it would wait for up to 40 lots of 30s across *all* the OSDs on a host. How reproducible: 100% Steps to Reproduce: 1. Deploy a cluster. 2. Make a change so the 'restart osds daemon' handler is triggered. 3. Relaunch the playbook. Actual results: The playbook will retry up to 40 times across all the OSDs on a node. Expected results: We should retry for the same amount of time after each OSD restart.
*** Bug 1632160 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3530