From fa6d9c940acef8dad558ed9744ebd4f8454e7b55 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Tue, 12 Mar 2019 11:22:03 -0400 Subject: [PATCH] rolling_update: Update systemd unit regex for nvme The systemd unit regex doesn't handle nvme devices (/dev/nvmeXn1). Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1687828 Signed-off-by: Dimitri Savineau (cherry picked from commit c8442f3705d0bd7b64fe2b14d925a82d52a052e4) --- infrastructure-playbooks/rolling_update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index b37fee259..7872c7201 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -347,7 +347,7 @@ when: not containerized_deployment - name: get osd unit names - container - shell: systemctl list-units | grep -E "loaded * active" | grep -oE "ceph-osd@([0-9]{1,}|[a-z]+).service" + shell: systemctl list-units | grep -E "loaded * active" | grep -oE "ceph-osd@([a-z0-9]+).service" register: osd_names changed_when: false when: containerized_deployment