Workaround: Using the ceph-ansible/v4.0.23 instead of the packaged one fixed the issue.
(undercloud) [stack@undercloud ~]$ sudo rm -rf /usr/share/ceph-ansible (undercloud) [stack@undercloud ~]$ git clone https://github.com/ceph/ceph-ansible.git (undercloud) [stack@undercloud ~]$ git checkout v4.0.23 (undercloud) [stack@undercloud ~]$ sudo ln -s /home/stack/ceph-ansible/ /usr/share/ceph-ansible
Workaround: v4.0.23 instead of the packaged one fixed the issue.
Using the ceph-ansible/
(undercloud) [stack@undercloud ~]$ sudo rm -rf /usr/share/ ceph-ansible /github. com/ceph/ ceph-ansible. git ceph-ansible/ /usr/share/ ceph-ansible
(undercloud) [stack@undercloud ~]$ git clone https:/
(undercloud) [stack@undercloud ~]$ git checkout v4.0.23
(undercloud) [stack@undercloud ~]$ sudo ln -s /home/stack/