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.
*** This bug has been marked as a duplicate of bug 1632157 ***