Building container images with python 2.7 in kolla failed due to get_pip macro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Unassigned | ||
Stein |
In Progress
|
Critical
|
Mark Goddard | ||
Train |
Fix Committed
|
Critical
|
Unassigned |
Bug Description
When I try to build image with Python 2.7 I got error:
RUN curl https:/
---> Running in 9fc6f53e4185
curl (https:/
Traceback (most recent call last):
File "get-pip.py", line 24226, in <module>
main()
File "get-pip.py", line 199, in main
bootstrap(
File "get-pip.py", line 82, in bootstrap
from pip._internal.
File "/tmp/tmp4rplra
sys.
^
SyntaxError:
invalid syntax
On January 23rd, the get_pip.py script was modified and now doesn't work well with Python 2.7. I used https:/
Changed in kolla: | |
importance: | Critical → Undecided |
importance: | Undecided → Critical |
Changed in kolla: | |
status: | Fix Committed → Fix Released |
Yes, we already have a fix in place: https:/ /review. opendev. org/c/openstack /kolla/ +/758057