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 (RHCS) in containers
  • ceph-ansible version 3.2.8 and below

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content