Ceph - after kernel to update "4.18.0-272.el8" the ansible playbook fails on TASK [ceph-mon : start the monitor service]

Solution Verified - Updated -

Issue

After kernel to update "4.18.0-272.el8" the ansible playbook fails on TASK [ceph-mon : start the monitor service] :

TASK [ceph-mon : start the monitor service] **************************************************************************************************************************************************************************************************
task path: /usr/share/ceph-ansible/roles/ceph-mon/tasks/start_monitor.yml:26
Wednesday 13 January 2021  09:39:12 -0500 (0:00:00.041)       0:02:52.803 ***** 
Using module file /usr/lib/python3.6/site-packages/ansible/modules/system/systemd.py
Pipelining is enabled.
<mons-0> ESTABLISH SSH CONNECTION FOR USER: None
<mons-0> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=600s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=60 -o ControlPath=/root/.ansible/cp/%h-%r-%p mons-0 '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ijzofqhbqtzcxqzaaaznqfduwwyzhrbk ; /usr/libexec/platform-python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<mons-0> (1, b'\n{"msg": "Unable to enable service ceph-mon: Failed to enable unit: Unit file ceph-mon.service does not exist.\\n", "failed": true, "invocation": {"module_args": {"name": "ceph-mon@mons-0", "state": "started", "enabled": true, "masked": false, "daemon_reload": true, "daemon_reexec": false, "no_block": false, "force": null, "user": null, "scope": null}}}\n', b'')
<mons-0> Failed to connect to the host via ssh: 
fatal: [mons-0]: FAILED! => changed=false 
  invocation:
    module_args:
      daemon_reexec: false
      daemon_reload: true
      enabled: true
      force: null
      masked: false
      name: ceph-mon@mons-0
      no_block: false
      scope: null
      state: started
      user: null
  msg: |-
    Unable to enable service ceph-mon: Failed to enable unit: Unit file ceph-mon.service does not exist.

Environment

Ansible 2.9.16
Red Hat Enterprise Linux 8.4 - 4.18.0-272.el8.x86_64
Red Hat Ceph Storage 4

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