Description of problem: In the documentation found here: https://github.com/openshift/installer/blob/master/docs/user/openstack/install_upi.md In the section were the python environment is created, the commands fail as the required python requirements are not installed or specified. python -m venv venv source venv/bin/activate pip install -U pip pip install -r requirements.txt On rhel-server-7.7-update-1-x86_64-kvm.qcow2 there is only python2 untill you install python3 Version-Release number of the following components: rpm -q openshift-ansible rpm -q ansible ansible --version How reproducible: Steps to Reproduce: subscription-manager register subscription-manager attach --pool=8a85f98c60c2c2b40160c32447481b48 sudo subscription-manager repos --disable=* sudo subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-7-server-extras-rpms yum install -y git vim python-virtualenv git clone https://github.com/openshift/installer.git mkdir ~/upi-playbook cp -r . ~/upi-playbook cd ~/upi-playbook Actual results: [cloud-user@ansible-node ~]$ python -m venv venv /usr/bin/python: No module named venv Expected results: Installation process to proceed
sudo subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-optional-rpms yum install -y git vim gcc python3 python3-devel is needed for python3 -m venv venv source venv/bin/activate pip install -U pip pip install -r requirements.txt to work
Thank you for reporting. We are working on removing pip, and providing steps for installing from repository. *** This bug has been marked as a duplicate of bug 1810202 ***