Bug 1612853 - osd restart is limited to 99 OSD number
Summary: osd restart is limited to 99 OSD number
Keywords:
Status: CLOSED DUPLICATE of bug 1612854
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z1
: 3.1
Assignee: Sébastien Han
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-06 12:18 UTC by Sébastien Han
Modified: 2018-09-19 14:04 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-18 18:01:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 2973 0 None None None 2018-08-06 15:57:43 UTC

Description Sébastien Han 2018-08-06 12:18:39 UTC
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.

Comment 5 Ken Dreyer (Red Hat) 2018-09-18 18:01:19 UTC

*** This bug has been marked as a duplicate of bug 1612854 ***


Note You need to log in before you can comment on or make changes to this bug.