2025-04-14 22:14:07,303: INFO: Building contrail-openstack-compute-init 2025-04-14 22:14:07,383: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=r24.1-1_5_4_2-2 --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:5101/contrail-general-base:r24.1-1_5_4_2-2 ---> a9f12b57aa55 Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> ea62282b802f Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in 1c0882d5be7d ---> Removed intermediate container 1c0882d5be7d ---> fabb8942d3ea 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 d77f7a1f1be2 ---> Removed intermediate container d77f7a1f1be2 ---> a7cd3a132984 Step 5/7 : COPY vrouter-port-control *.sh / ---> 51e82210ea60 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 ce6e9d6896a6 Retrieving http://localhost:6667/x86_64/contrail-vrouter-agent-r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-vrouter-agent-r24.1.1.5.4.2.2######################################## 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/43b/9a0501fc2b5e7/paramiko-3.5.1-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 bcrypt>=3.2 (from paramiko) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/27d/375903ac8261c/bcrypt-4.0.1.tar.gz 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 bcrypt: 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-1k6puras/bcrypt/setup.py", line 11, 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-1k6puras/bcrypt/ warning: %post(contrail-vrouter-agent-r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/x86_64/contrail-nova-vif-r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-nova-vif-r24.1.1.5.4.2.2-r24.######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-nova-vif.x86_64 0:r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7 will be erased ---> Package contrail-vrouter-agent.x86_64 0:r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.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 r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7 installed 99 k contrail-vrouter-agent x86_64 r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7 installed 62 M Transaction Summary ================================================================================ Remove 2 Packages Installed size: 62 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum.  Erasing : contrail-nova-vif-r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7.x86_ 1/2 Erasing : contrail-vrouter-agent-r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7 2/2 Verifying : contrail-nova-vif-r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7.x86_ 1/2 Verifying : contrail-vrouter-agent-r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7 2/2 Removed: contrail-nova-vif.x86_64 0:r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7 contrail-vrouter-agent.x86_64 0:r24.1.1.5.4.2.2-r24.1_1_5_4_2_2.el7 Complete! Loaded plugins: fastestmirror, ovl Cleaning repos: contrail 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 : tpc ---> Removed intermediate container ce6e9d6896a6 ---> 2175a214f08e Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 725600bd7481 ---> Removed intermediate container 725600bd7481 ---> a8ec87b39241 [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 a8ec87b39241 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init:r24.1-1_5_4_2-2 Successfully tagged nexus.gz1.opensdn.io:5101/tf-openstack-compute-init:r24.1-1_5_4_2-2 2025-04-14 22:16:03,621: INFO: Docker build duration: 116 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init] cc191a48f9a1: Preparing ebfcbea84c6d: Preparing 3495450029e7: Preparing 57cc7a9cc906: Preparing 9237bd1731ce: Preparing 4023b516268c: Preparing 0b9b47b9f9af: Preparing cd57a6c67c99: Preparing 174f56854903: Preparing cd57a6c67c99: Waiting 174f56854903: Waiting 4023b516268c: Waiting 0b9b47b9f9af: Waiting 57cc7a9cc906: Layer already exists 9237bd1731ce: Layer already exists 3495450029e7: Layer already exists 4023b516268c: Layer already exists ebfcbea84c6d: Pushed cd57a6c67c99: Layer already exists 0b9b47b9f9af: Layer already exists 174f56854903: Layer already exists cc191a48f9a1: Pushed r24.1-1_5_4_2-2: digest: sha256:b5e30fbd102f9fd2c7c549c883b07ec04760b018ea3249a76ed8d78e987b269f size: 2197 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-openstack-compute-init] cc191a48f9a1: Preparing ebfcbea84c6d: Preparing 3495450029e7: Preparing 57cc7a9cc906: Preparing 9237bd1731ce: Preparing 4023b516268c: Preparing 0b9b47b9f9af: Preparing cd57a6c67c99: Preparing 174f56854903: Preparing 4023b516268c: Waiting 0b9b47b9f9af: Waiting cd57a6c67c99: Waiting 174f56854903: Waiting cc191a48f9a1: Layer already exists 9237bd1731ce: Layer already exists 3495450029e7: Layer already exists 57cc7a9cc906: Layer already exists ebfcbea84c6d: Layer already exists 4023b516268c: Layer already exists 0b9b47b9f9af: Layer already exists cd57a6c67c99: Layer already exists 174f56854903: Layer already exists r24.1-1_5_4_2-2: digest: sha256:b5e30fbd102f9fd2c7c549c883b07ec04760b018ea3249a76ed8d78e987b269f size: 2197 2025-04-14 22:16:12,180: INFO: Building contrail-openstack-compute-init finished successfully, duration: 125 seconds