pip<10 does not support latest virtualenv (16.3.0)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
High
|
Arun S A G |
Bug Description
Devstack caps pip version to <10[1] and pip installed by devstack does not support 'pip config list' command. However the latest virtualenv(latest) force upgraded[2] by devstack requires this command to succeed[3]
[1] https:/
[2] https:/
[3] https:/
Steps to reproduce:
local.conf
==========
[[local|localrc]]
USE_VENV=True
RECLONE=False
PROJECT_
PROJECT_
PROJECT_
PROJECT_
GIT_BASE=https:/
KEYSTONE_
NOVA_REPO=
GLANCE_
NEUTRON_
REQUIREMENTS_
REQUIREMENTS_
KEYSTONE_
NOVA_BRANCH=
NEUTRON_
GLANCE_
#CINDER_
#HEAT_BRANCH=
DOWNLOAD_
ADMIN_PASSWORD=
DATABASE_
RABBIT_
SERVICE_
FIXED_RANGE=
FIXED_NETWORK_
#IPV4_ADDRS_
FLOATING_
LOGFILE=
LOGDAYS=2
disable_service n-novnc
disable_service horizon
disable_service cinder c-sch c-api c-vol
disable_service tempest
disable_service heat h-api h-api-cfn h-api-cw h-eng
disable_service ceilometer-acompute ceilometer-acentral ceilometer-
disable_service s-proxy s-object s-container s-account
# Enable nova-network and disable neutron
disable_service neutron q-agt q-dhcp q-l3 q-meta q-svc
enable_service n-net
[[post-
[DEFAULT]
osapi_compute_
[conductor]
workers = 8
Run ./stack.sh (this local.conf uses stable/ocata, the problem should be still reproducible in masteR)
Changed in devstack: | |
importance: | Undecided → High |
Please note that upstream CI is likely hiding this issue due to this line in the fix_stuff.sh script:
https:/ /github. com/openstack- dev/devstack/ blob/master/ tools/fixup_ stuff.sh# L244
if [[ ! -f /etc/ci/ mirror_ info.sh ]]; then
Clearly downstream CI systems don't have that file, and therefore the code that comes after it:
pip_install -U --force-reinstall virtualenv
is problematic (since it upgrades to a version of virtualenv that, as Arun says, is incompatible with the version of pip that is locked by devstack).