Comment 4 for bug 1989367

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

So, after digging into the issue. It occurs because ansible does not discover and define `discovered_interpreter_python` fact for Rocky Linux.

For ceph deployment we leverage ceph-ansible project. There's assumption made, that `discovered_interpreter_python` is always defined, which is not the case for Rocky. That's why you receive mentioned failure.

I believe this is quite valid ansible bug rather then openstack-ansible, as we can't really fix neither ceph-ansible logic nor ansibles. So I will mark this bug report as Invalid.

However as a workaround you can define in /etc/openstack_deploy/group_vars/ceph_all:

  ansible_python_interpreter: /usr/bin/python3