Ceph - ceph-ansible rolling-update.yml does not restart nvme osds running in containers

Solution Verified - Updated -

Issue

Following pre-task in the rolling-upgrade.yml playbook fails with NVME devices, where the name of the service is like ceph-osd@nvme0n1.service:

349     - name: get osd unit names - container
350       shell: systemctl list-units | grep -E "loaded * active" | grep -oE "ceph-osd@([0-9]{1,}|[a-z]+).service"

$ systemctl list-units | grep -E "loaded * active" | grep -oE "ceph-osd@([0-9]{1,}|[a-z]+).service"
$ echo $?
1

Environment

Red Hat Ceph Storage in containers
ceph-ansible version 3.2.8 and below

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In