[kolla] Stein base container build fails

Radosław Piliszek radoslaw.piliszek at gmail.com
Tue Feb 9 07:17:46 UTC 2021


On Mon, Feb 8, 2021 at 10:46 PM Eric K. Miller
<emiller at genesishosting.com> wrote:
>
> Hi,
>

Hi Eric,

>
> I'm trying to update a few things in a Stein cluster and while building some kolla containers, I get the following error when building the base container:
>
>
>
> INFO:kolla.common.utils.openstack-base:Step 4/8 : RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py     && python get-pip.py     && rm get-pip.py
>
> INFO:kolla.common.utils.openstack-base: ---> Running in f5c8bb3fe6f0
>
> INFO:kolla.common.utils.openstack-base:curl (https://bootstrap.pypa.io/get-pip.py): response: 200, time: 0.423, size: 1929903
>
> INFO:kolla.common.utils.openstack-base:Traceback (most recent call last):
>
> INFO:kolla.common.utils.openstack-base:  File "get-pip.py", line 24244, in <module>
>
> INFO:kolla.common.utils.openstack-base:
>
> INFO:kolla.common.utils.openstack-base:    main()
>
> INFO:kolla.common.utils.openstack-base:  File "get-pip.py", line 199, in main
>
> INFO:kolla.common.utils.openstack-base:    bootstrap(tmpdir=tmpdir)
>
> INFO:kolla.common.utils.openstack-base:  File "get-pip.py", line 82, in bootstrap
>
> INFO:kolla.common.utils.openstack-base:    from pip._internal.cli.main import main as pip_entry_point
>
> INFO:kolla.common.utils.openstack-base:  File "/tmp/tmpDXRruf/pip.zip/pip/_internal/cli/main.py", line 60
>
> INFO:kolla.common.utils.openstack-base:    sys.stderr.write(f"ERROR: {exc}")
>
> INFO:kolla.common.utils.openstack-base:
>
> INFO:kolla.common.utils.openstack-base:                    ^
>
> INFO:kolla.common.utils.openstack-base:SyntaxError: invalid syntax
>
> INFO:kolla.common.utils.openstack-base:
>
> INFO:kolla.common.utils.openstack-base:Removing intermediate container f5c8bb3fe6f0
>
> ERROR:kolla.common.utils.openstack-base:Error'd with the following message
>
> ERROR:kolla.common.utils.openstack-base:The command '/bin/sh -c curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py     && python get-pip.py     && rm get-pip.py' returned a non-zero code: 1
>
>
>
> Any ideas as to where the issue is?  Is this a pip installer bug?

This, among other things, has already been fixed in the repo. [1]

Stein is in EM (Extended Maintenance) phase and does not get new
releases so you are advised to run from the stable/stein branch. [2]

[1] https://review.opendev.org/c/openstack/kolla/+/772490
[2] https://opendev.org/openstack/kolla/src/branch/stable/stein

-yoctozepto



More information about the openstack-discuss mailing list