Ask Your Question
0

openstack aio TASK [python_venv_build : Install python packages into the venv FAILED

asked 2019-10-04 07:26:46 -0500

tomislak gravatar image

Hi,

I'm new to openstack. I try to install openstack aio like described in https://docs.openstack.org/openstack-ansible/stein/user/aio/quickstart.html (https://docs.openstack.org/openstack-...). Running first two playbooks went ok, but third ( "openstack-ansible setup-openstack.yml" ) break:

TASK [python_venv_build : Install python packages into the venv] *************** FAILED - RETRYING: Install python packages into the venv (5 retries left). FAILED - RETRYING: Install python packages into the venv (4 retries left). FAILED - RETRYING: Install python packages into the venv (3 retries left). FAILED - RETRYING: Install python packages into the venv (2 retries left). FAILED - RETRYING: Install python packages into the venv (1 retries left). fatal: [aio1_keystone_container-1b46c525]: FAILED! => {"attempts": 5, "changed": false, "cmd": ["/openstack/venvs/ keystone-19.0.4/bin/pip2", "install", "-U", "--constrai ... for keystone==15.0.1.dev11 (from -c /openstack/venvs/keystone-19.0.4/constraints.txt (line 125))\nWARNING: You are using pip version 19.1, however version 19.2.3 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}

In log ( /var/log/python_venv_build.log ) in aio1-keystone-container I found: Collecting keystone==15.0.1.dev11 (from -c /openstack/venvs/keystone-19.0.4/constraints.txt (line 125))\n \n :stderr: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.\n

and here started warnings: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.httpconnection object="" at="" 0x7fe17aaa0990="">: Failed to establish a new connection: [Errno 113] No route to host',)': /os-releases/19.0.4/centos-7.7-x86_64\n

And end up with: ERROR: Could not find a version that satisfies the requirement keystone==15.0.1.dev11 (from -c /openstack/venvs/keystone-19.0.4/constraints.txt (line 125)) (from versions: 12.0.2, 12.0.3, 13.0.2, 14.0.0, 14.0.1, 14.1.0, 15.0.0.0rc1, 15.0.0.0rc2, 15.0.0, 16.0.0.0rc1)\n ERROR: No matching distribution found for keystone==15.0.1.dev11 (from -c /openstack/venvs/keystone-19.0.4/constraints.txt (line 125))\n

It is a single VM install on VirtualBox on Windovs. Guest was CentOS7.6, which was upgraded to CentOS 7.7.

Any help?

edit retag flag offensive close merge delete

Comments

I am in a similar situation using Centos 7, trying to install OS-Ansible stein AiO, following the guide in site docs. Still haven't found any useful info to get past this problem. To me it looks like network connectivity issues. Currently searching assistance on IRC.

LarsON gravatar imageLarsON ( 2019-10-13 11:59:04 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2019-10-14 13:58:53 -0500

LarsON gravatar image

With help from the IRC channel I have been able to solve my similar problems. The reason for my problems were the firewall being enabled on my host OS. Check with firewall-cmd --state After disabling firewalld (systemctl stop firewalld ; systemctl disable firewalld) I have finished the installation to a usable state. Future updates might include automatic handling of this. /LONorell

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-10-04 07:26:46 -0500

Seen: 15 times

Last updated: Oct 04