2024-11-04 01:30:19,904: INFO: Building contrail-openstack-compute-init 2024-11-04 01:30:19,983: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5102 --build-arg CONTRAIL_CONTAINER_TAG=nightly-r24.1-centos --build-arg SITE_MIRROR=http://nexus.gz1.opensdn.io/repository/external-web-cache --build-arg LINUX_DISTR_VER=7 --build-arg LINUX_DISTR=centos --build-arg GENERAL_EXTRA_RPMS="" --build-arg BASE_EXTRA_RPMS="" --build-arg YUM_ENABLE_REPOS="" --build-arg CONTAINER_NAME=contrail-openstack-compute-init --build-arg UBUNTU_DISTR_VERSION=22.04 --build-arg UBUNTU_DISTR=ubuntu --build-arg VENDOR_NAME=OpenSDN-IO --build-arg VENDOR_DOMAIN=io.opensdn Sending build context to Docker daemon 7.168 kB Step 1/7 : FROM nexus.gz1.opensdn.io:5102/contrail-general-base:nightly-r24.1-centos ---> 9ba71b39e375 Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> 0a889da92d95 Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in 8d7daf2a9b61 ---> Removed intermediate container 8d7daf2a9b61 ---> 55da4fac6e8b Step 4/7 : LABEL name=$CONTAINER_NAME summary="Init container for OpenStack Compute" description="Sidecar container with libraries for nova-compute." $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in 9cf3c910b600 ---> Removed intermediate container 9cf3c910b600 ---> e5e003cafb87 Step 5/7 : COPY vrouter-port-control *.sh / ---> 1a32bf6d956f Step 6/7 : RUN rpm -Uvh --nodeps $(repoquery -q --location contrail-vrouter-agent) && rpm -Uvh --nodeps $(repoquery -q --location contrail-nova-vif) && mkdir -p /opt/contrail/bin /opt/contrail/site-packages && mv /vrouter-port-control /opt/contrail/bin/vrouter-port-control && chmod a+x /opt/contrail/bin/vrouter-port-control && cp /usr/bin/vrouter-port-control /opt/contrail/bin/vrouter-port-control.py && cp -rf /usr/lib/python2.7/site-packages/vif_plug_vrouter* /opt/contrail/site-packages && cp -rf /usr/lib/python2.7/site-packages/vif_plug_contrail_vrouter* /opt/contrail/site-packages && cp -rf /usr/lib/python2.7/site-packages/nova_contrail_vif* /opt/contrail/site-packages && yum autoremove -y contrail-vrouter-agent contrail-nova-vif && yum clean all -y && rm -rf /var/cache/yum ---> Running in 4ae96c4938fd Retrieving http://localhost:6667/x86_64/contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_centos.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-vrouter-agent-nightly.r24.1.c######################################## WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting paramiko Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/1fe/df06b08535905/paramiko-3.5.0-py3-none-any.whl (227kB) Collecting passlib Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/aa6/bca462b8d8bda/passlib-1.7.4-py2.py3-none-any.whl (525kB) Collecting xmltodict Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/20c/c7d723ed72927/xmltodict-0.14.2-py2.py3-none-any.whl Collecting cryptography>=3.3 (from paramiko) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/c33/c0d32b8594fa6/cryptography-40.0.2.tar.gz (625kB) Complete output from command python setup.py egg_info: =============================DEBUG ASSISTANCE========================== If you are seeing an error here please try the following to successfully install cryptography: Upgrade to the latest pip and try again. This will fix errors for most users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip =============================DEBUG ASSISTANCE========================== Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-wc71mbo3/cryptography/setup.py", line 18, in from setuptools_rust import RustExtension ModuleNotFoundError: No module named 'setuptools_rust' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wc71mbo3/cryptography/ warning: %post(contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_centos.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/x86_64/contrail-nova-vif-nightly.r24.1.centos-nightly_r24.1_centos.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-nova-vif-nightly.r24.1.centos######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-nova-vif.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7 will be erased ---> Package contrail-vrouter-agent.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7 will be erased --> Finished Dependency Resolution --> Finding unneeded leftover dependencies Found and removing 0 unneeded dependencies Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: contrail-nova-vif x86_64 nightly.r24.1.centos-nightly_r24.1_centos.el7 installed 99 k contrail-vrouter-agent x86_64 nightly.r24.1.centos-nightly_r24.1_centos.el7 installed 51 M Transaction Summary ================================================================================ Remove 2 Packages Installed size: 51 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum.  Erasing : contrail-nova-vif-nightly.r24.1.centos-nightly_r24.1_cento 1/2 Erasing : contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_ 2/2 Verifying : contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_ 1/2 Verifying : contrail-nova-vif-nightly.r24.1.centos-nightly_r24.1_cento 2/2 Removed: contrail-nova-vif.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7 contrail-vrouter-agent.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7 Complete! Loaded plugins: fastestmirror, ovl Cleaning repos: contrail contrail-tpc : tf-mirrors.ci_repos_centos-openstack-queens : tf-mirrors.ci_repos_dockerrepo tf-mirrors.ci_repos_yum7-base : tf-mirrors.ci_repos_yum7-centos-sclo-rh : tf-mirrors.ci_repos_yum7-centosplus : tf-mirrors.ci_repos_yum7-extras tf-mirrors.ci_repos_yum7-updates ---> Removed intermediate container 4ae96c4938fd ---> 5be91fa629db Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in d590fdfa7f94 ---> Removed intermediate container d590fdfa7f94 ---> bba4577bc3aa [Warning] One or more build-args [BASE_EXTRA_RPMS CONTRAIL_CONTAINER_TAG CONTRAIL_REGISTRY GENERAL_EXTRA_RPMS LINUX_DISTR LINUX_DISTR_VER SITE_MIRROR UBUNTU_DISTR UBUNTU_DISTR_VERSION VENDOR_DOMAIN VENDOR_NAME YUM_ENABLE_REPOS] were not consumed Successfully built bba4577bc3aa Successfully tagged nexus.gz1.opensdn.io:5102/contrail-openstack-compute-init:nightly-r24.1-centos Successfully tagged nexus.gz1.opensdn.io:5102/tf-openstack-compute-init:nightly-r24.1-centos 2024-11-04 01:32:43,806: INFO: Docker build duration: 144 seconds The push refers to repository [nexus.gz1.opensdn.io:5102/contrail-openstack-compute-init] 98425fbd307e: Preparing e5d40674a97f: Preparing f28f3660f40e: Preparing 67f862fc18a7: Preparing c0abc079be0a: Preparing 632b4b711693: Preparing a8af783b6e7b: Preparing 735f923f3a62: Preparing 174f56854903: Preparing 632b4b711693: Waiting a8af783b6e7b: Waiting 735f923f3a62: Waiting 174f56854903: Waiting e5d40674a97f: Pushed c0abc079be0a: Layer already exists 98425fbd307e: Pushed 67f862fc18a7: Layer already exists f28f3660f40e: Layer already exists 632b4b711693: Layer already exists a8af783b6e7b: Layer already exists 735f923f3a62: Layer already exists 174f56854903: Layer already exists nightly-r24.1-centos: digest: sha256:4e13e02b8d93b47d756b1a4e147cc10cb8db17dc04317550916705b0869aded8 size: 2197 The push refers to repository [nexus.gz1.opensdn.io:5102/tf-openstack-compute-init] 98425fbd307e: Preparing e5d40674a97f: Preparing f28f3660f40e: Preparing 67f862fc18a7: Preparing c0abc079be0a: Preparing 98425fbd307e: Waiting e5d40674a97f: Waiting f28f3660f40e: Waiting 67f862fc18a7: Waiting 632b4b711693: Preparing a8af783b6e7b: Preparing 735f923f3a62: Preparing 174f56854903: Preparing c0abc079be0a: Waiting 632b4b711693: Waiting a8af783b6e7b: Waiting 735f923f3a62: Waiting 174f56854903: Waiting 98425fbd307e: Layer already exists e5d40674a97f: Layer already exists f28f3660f40e: Layer already exists 67f862fc18a7: Layer already exists c0abc079be0a: Layer already exists 632b4b711693: Layer already exists a8af783b6e7b: Layer already exists 735f923f3a62: Layer already exists 174f56854903: Layer already exists nightly-r24.1-centos: digest: sha256:4e13e02b8d93b47d756b1a4e147cc10cb8db17dc04317550916705b0869aded8 size: 2197 2024-11-04 01:32:55,333: INFO: Building contrail-openstack-compute-init finished successfully, duration: 156 seconds