Stable stein|train py2 devstack based jobs are broken on py2 interpreter

Bug #1922736 reported by Ghanshyam Mann
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
devstack
Invalid
Critical
Unassigned

Bug Description

All py2 devstack based jobs are broken on stable/stein|train, below is the traceback.

https://zuul.opendev.org/t/openstack/build/962fd73a2480441d849e47ac68a46450

/opt/stack/requirements/.venv/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/connectionpool.py:860: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  Downloading https://mirror-int.dfw.rax.opendev.org/pypifiles/packages/af/e7/02db816dc88c598281bacebbb7ccf2c9f1a6164942e88f1a0fded8643659/setuptools-45.0.0-py2.py3-none-any.whl (583kB)
setuptools requires Python '>=3.5' but the running Python is 2.7.17
----------------------------------------
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 2375, in <module>
    main()
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 724, in main
    symlink=options.symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 992, in create_environment
    download=download,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 922, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 817, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /opt/stack/requirements/.venv/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1
Running virtualenv with interpreter /usr/bin/python2

Changed in devstack:
status: New → Confirmed
importance: Undecided → Critical
summary: - Stable stein?train py2 devstack based jobs are broken on py2 interpreter
+ Stable stein|train py2 devstack based jobs are broken on py2 interpreter
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Have not we established it was due to index funkiness?

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

yeah nothing to do in devstack, this was due to indexing things.

http://lists.openstack.org/pipermail/openstack-discuss/2021-April/021633.html

Changed in devstack:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.