Comment 8 for bug 2069611

Revision history for this message
Tadas Sutkaitis (t42x) wrote :

I'm using docker engine:

INFO:kolla.common.utils:Attempt number: 4 to run task: BuildTask(openstack-base)
INFO:kolla.common.utils.openstack-base:Building started at 2024-07-18 12:32:42.689756
INFO:kolla.common.utils.openstack-base:Clone dir /var/folders/cm/y_rphw8s2gd7rm0z9fb8cd0c0000gn/T/kolla-2024-07-18_12-30-51_lajr6cs0/docker/openstack-base/openstack-base-archive-94f3181ff91c6f7a5bb18a202d19afddd0565358 exists. Removing it.
INFO:kolla.common.utils.openstack-base:Directory /var/folders/cm/y_rphw8s2gd7rm0z9fb8cd0c0000gn/T/kolla-2024-07-18_12-30-51_lajr6cs0/docker/openstack-base/additions already exist. Skipping.
ERROR:kolla.common.utils.openstack-base:[WARNING]: Empty continuation line found in: RUN ln -s openstack-base-source/*requirements* /requirements && sed -e "/^ovs===/d" -i requirements/upper-constraints.txt && mkdir -p /var/lib/kolla && python3 -m venv --system-site-packages /var/lib/kolla/venv

ERROR:kolla.common.utils.openstack-base:[WARNING]: Empty continuation lines will become errors in a future release.

ERROR:kolla.common.utils.openstack-base:Step 1/10 : FROM quay.io/xxxxxxxx/kolla/base:2024.1
ERROR:kolla.common.utils.openstack-base:
ERROR:kolla.common.utils.openstack-base:---> eff75fe2e854
ERROR:kolla.common.utils.openstack-base:Step 2/10 : LABEL maintainer="Tadas <email address hidden>" name="openstack-base" build-date="20240718"
ERROR:kolla.common.utils.openstack-base:
ERROR:kolla.common.utils.openstack-base:---> Using cache
ERROR:kolla.common.utils.openstack-base:---> 1a61d3793886
ERROR:kolla.common.utils.openstack-base:Step 3/10 : RUN dnf config-manager --enable crb || true
ERROR:kolla.common.utils.openstack-base:
ERROR:kolla.common.utils.openstack-base:---> Using cache
ERROR:kolla.common.utils.openstack-base:---> 8fd4e1ea96bc
ERROR:kolla.common.utils.openstack-base:Step 4/10 : RUN dnf -y install gcc gcc-c++ git httpd iproute libffi-devel libxml2-devel libxslt-devel libyaml-devel make mod_ssl openssl openssl-devel pcre-devel postgresql postgresql-devel python3-devel python3-mod_wsgi sqlite-devel zip && dnf clean all && rm -rf /var/cache/dnf
ERROR:kolla.common.utils.openstack-base:
ERROR:kolla.common.utils.openstack-base:---> Using cache
ERROR:kolla.common.utils.openstack-base:---> 90e1caadb291
ERROR:kolla.common.utils.openstack-base:Step 5/10 : ADD plugins-archive /openstack-base-source
ERROR:kolla.common.utils.openstack-base:
ERROR:kolla.common.utils.openstack-base:---> Using cache
ERROR:kolla.common.utils.openstack-base:---> 720a7bb530fd
ERROR:kolla.common.utils.openstack-base:Step 6/10 : RUN ln -s openstack-base-source/plugins/* /pycadf && mkdir -p /etc/pycadf && cp /pycadf/etc/pycadf/* /etc/pycadf/
ERROR:kolla.common.utils.openstack-base:
ERROR:kolla.common.utils.openstack-base:---> Using cache
ERROR:kolla.common.utils.openstack-base:---> 89865a2bda9a
ERROR:kolla.common.utils.openstack-base:Step 7/10 : RUN ln -s openstack-base-source/*requirements* /requirements && sed -e "/^ovs===/d" -i requirements/upper-constraints.txt && mkdir -p /var/lib/kolla && python3 -m venv --system-site-packages /var/lib/kolla/venv
ERROR:kolla.common.utils.openstack-base:
ERROR:kolla.common.utils.openstack-base:---> Running in e063ecd9bdbb
ERROR:kolla.common.utils.openstack-base:sed: can't read requirements/upper-constraints.txt: No such file or directory

ERROR:kolla.common.utils.openstack-base:---> Removed intermediate container e063ecd9bdbb
ERROR:kolla.common.utils.openstack-base:Unknown container engine error when building
Traceback (most recent call last):
  File "/Users/xxxxxxxx/Work/personal/kolla/kolla/image/tasks.py", line 407, in builder
    for stream in self.engine_client.images.build(
  File "/Users/xxxxxxxx/Work/personal/python-kolla-dev/lib/python3.9/site-packages/docker/models/images.py", line 304, in build
    raise BuildError(chunk['error'], result_stream)
docker.errors.BuildError: The command '/bin/sh -c ln -s openstack-base-source/*requirements* /requirements && sed -e "/^ovs===/d" -i requirements/upper-constraints.txt && mkdir -p /var/lib/kolla && python3 -m venv --system-site-packages /var/lib/kolla/venv' returned a non-zero code: 2
INFO:kolla.common.utils:=========================
INFO:kolla.common.utils:Successfully built images
INFO:kolla.common.utils:=========================
INFO:kolla.common.utils:base
INFO:kolla.common.utils:===========================
INFO:kolla.common.utils:Images that failed to build
INFO:kolla.common.utils:===========================
ERROR:kolla.common.utils:openstack-base Failed with status: error
INFO:kolla.common.utils:=========================================