Fix in regular expression matching OSD ID on non-contenerized deployment. restart_osd_daemon.sh is used to discover and restart all OSDs on a host. To do it the scripts loops the list of ceph-osd@ services in the system. This commit fixes bug in the regular expression responsible for extraction of OSDs - prior version uses `[0-9]{1,2}` expression which is ignoring all OSDS which numbers are greater than 99 (thus longer than 2 digits). Fix removed upper limit of digits in the number. This problem existed in two places in the script.
"Fix in regular expression matching OSD ID on non-contenerized deployment." is in ceph-ansible v3.1.0rc14.
It's fine, you can just test the regex from ceph-ansible.
* Verified that the updated regular expression in [1] could parse 0-1000 successfully. * Have set SanityOnly based on the discussions Moving to VERIFIED state. Regards, Vasishta QE, Ceph [1] - https://github.com/ceph/ceph-ansible/pull/2972/files#diff-dd4df7e227c487cfcb15a8af288dcc25R77
*** Bug 1612853 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:2819