bootstrap-ansible.sh not installing ansible==2.4.3.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Critical
|
Jesse Pretorius |
Bug Description
I currently have an AIO deployed w/ master -- initial deployment went fine. Periodically, I pull down changes in /opt/openstack-
Here's some output from scripts/
+ PIP_COMMAND=
+ PIP_OPTS+=' --constraint global-
+ PIP_OPTS+=' --constraint https:/
+ /opt/ansible-
Ignoring jsbeautifier: markers 'python_version == "3.4"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.4"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.4"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.4"' don't match your environment
Ignoring unicodecsv: markers 'python_version == "2.7"' don't match your environment
Ignoring pathlib: markers 'python_version == "2.7"' don't match your environment
Ignoring tornado: markers 'python_version == "3.4"' don't match your environment
Ignoring backports.
Ignoring ruamel.yaml: markers 'python_version == "3.4"' don't match your environment
Ignoring html2text: markers 'python_version == "3.4"' don't match your environment
Ignoring funcsigs: markers 'python_version == "2.7"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring hpack: markers 'python_version == "3.4"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.4"' don't match your environment
Ignoring mypy: markers 'python_version == "3.4"' don't match your environment
Ignoring urwid: markers 'python_version == "3.4"' don't match your environment
Ignoring singledispatch: markers 'python_version == "2.7"' don't match your environment
Ignoring thriftpy: markers 'python_version == "2.7"' don't match your environment
Ignoring argh: markers 'python_version == "3.4"' don't match your environment
Ignoring weakrefmethod: markers 'python_version == "2.7"' don't match your environment
Ignoring blinker: markers 'python_version == "3.4"' don't match your environment
Ignoring typed-ast: markers 'python_version == "3.4"' don't match your environment
Ignoring h2: markers 'python_version == "3.4"' don't match your environment
Ignoring mitmproxy: markers 'python_version == "3.4"' don't match your environment
Ignoring EditorConfig: markers 'python_version == "3.4"' don't match your environment
Ignoring ndg-httpsclient: markers 'python_version == "2.7"' don't match your environment
Ignoring functools32: markers 'python_version == "2.7"' don't match your environment
Ignoring watchdog: markers 'python_version == "3.4"' don't match your environment
Ignoring pathtools: markers 'python_version == "3.4"' don't match your environment
Ignoring qpid-python: markers 'python_version == "2.7"' don't match your environment
Ignoring scandir: markers 'python_version == "2.7"' don't match your environment
Ignoring futures: markers 'python_version == "2.7"' don't match your environment
Ignoring happybase: markers 'python_version == "2.7"' don't match your environment
Ignoring sortedcontainers: markers 'python_version == "3.4"' don't match your environment
Ignoring ndg-httpsclient: markers 'python_version < "3.0"' don't match your environment
Collecting pyopenssl==17.5.0 (from -c http://
Downloading http://
Collecting netaddr==0.7.19 (from -c http://
Downloading http://
Collecting prettytable==0.7.2 (from -c http://
Collecting pyyaml==3.12 (from -c http://
Collecting pyasn1==0.4.2 (from -c http://
Downloading http://
Collecting python_
Downloading http://
Collecting six==1.11.0 (from -c http://
Downloading http://
Collecting virtualenv==15.1.0 (from -c http://
Downloading http://
Collecting ansible==2.3.2.0 (from -c http://
Collecting paramiko==2.4.0 (from -c http://
Downloading http://
Collecting jinja2==2.10 (from -c http://
Downloading http://
Collecting bcrypt==3.1.4 (from -c http://
Downloading http://
Collecting pynacl==1.2.1 (from -c http://
Downloading http://
Collecting markupsafe==1.0 (from -c http://
Collecting cryptography==2.1.4 (from -c http://
Downloading http://
Requirement already up-to-date: setuptools==38.5.1 in /opt/ansible-
Collecting pycrypto==2.6.1 (from -c http://
Collecting cffi==1.11.4 (from -c http://
Downloading http://
Collecting asn1crypto==0.24.0 (from -c http://
Downloading http://
Collecting idna==2.6 (from -c http://
Downloading http://
Collecting pycparser==2.18 (from -c http://
Downloading http://
Installing collected packages: six, asn1crypto, idna, pycparser, cffi, cryptography, pyopenssl, netaddr, prettytable, pyyaml, pycrypto, pyasn1, python-memcached, virtualenv, markupsafe, jinja2, pynacl, bcrypt, paramiko, ansible
Successfully installed ansible-2.3.2.0 asn1crypto-0.24.0 bcrypt-3.1.4 cffi-1.11.4 cryptography-2.1.4 idna-2.6 jinja2-2.10 markupsafe-1.0 netaddr-0.7.19 paramiko-2.4.0 prettytable-0.7.2 pyasn1-0.4.2 pycparser-2.18 pycrypto-2.6.1 pynacl-1.2.1 pyopenssl-17.5.0 python-
As you can see, we request ansible==2.4.3.0 but ansible-2.3.2.0 is getting installed. If I look at requirements_
root@aio1:
ansible==2.3.2.0
root@aio1:
A hacky workaround has been to move /root/.pip aside, run scripts/
Please let me know if I can provide any further info.
Thanks!
--Matt
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
Additionally, here's my /root/. pip/pip. conf:
root@aio1: /opt/openstack- ansible# cat /root/.pip/pip.conf
# Ansible managed
[global] 172.29. 236.100: 8181/simple 172.29. 236.100: 8181/os- releases/ 17.0.0/ ubuntu- 16.04-x86_ 64/requirements _absolute_ requirements. txt
172.29. 236.100
timeout = 120
index-url = http://
constraint =
http://
trusted-host =
[install] 172.29. 236.100: 8181/os- releases/ 17.0.0/ ubuntu- 16.04-x86_ 64/ /opt/openstack- ansible#
upgrade = True
pre = True
find-links =
http://
root@aio1: