Description of problem:
When ceph-installer tries to run Ansible on Xenial cluster nodes, these nodes might not have Python 2.7 installed, so Ansible will fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a minimal version of Xenial (for example, an Ubuntu Xenial cloud
2. Verify that the minimal version of Xenial does not have the "python" package
3. Proceed with the installation as normal:
- Run the bootstrap script on the node (for example `curl
http://installer-node:8181/setup/ | bash`)
- Next, try to manage the node with ceph-installer (for example, POST to curl
http://installer-node:8181/api/mon/install to install the ceph-mon software
on the Xenial node, or any other Ansible action)
Ansible will fail because Python 2 is not present.
ceph-installer is able to manage Xenial nodes with Ansible, and the administrator does not need to manually install "python" on the Xenial nodes ahead of time.
The fix will be to have the bootstrap script explicitly ensure that Python 2 is present for Ansible to use. https://github.com/ceph/ceph-installer/pull/144
USM Server/ceph-installer server RHEL 7.2:
Ceph Nodes Ubuntu 16.04.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.