2024-09-16 21:24:09,145: INFO: Building contrail-openstack-compute-init 2024-09-16 21:24:09,218: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_0_4_0-1 --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:master-1_0_4_0-1 ---> 3f09d883460b Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> c3e905c1d44c Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in 7d8507a3349d ---> Removed intermediate container 7d8507a3349d ---> 6ce16e2794a2 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 74de249ffe16 ---> Removed intermediate container 74de249ffe16 ---> eadb742b19e2 Step 5/7 : COPY vrouter-port-control *.sh / ---> 2b1a5edecfb7 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/python3.6/site-packages/vif_plug_vrouter* /opt/contrail/site-packages && cp -rf /usr/lib/python3.6/site-packages/vif_plug_contrail_vrouter* /opt/contrail/site-packages && cp -rf /usr/lib/python3.6/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 3f15c0ec6c3c Retrieving http://localhost:6667/x86_64/contrail-vrouter-agent-master.1.0.4.0.1-master_1_0_4_0_1.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-vrouter-agent-master.1.0.4.0.######################################## 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/aa8/9e8fd76320154/xmltodict-0.13.0-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-en_b7q11/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-en_b7q11/bcrypt/ warning: %post(contrail-vrouter-agent-master.1.0.4.0.1-master_1_0_4_0_1.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/x86_64/contrail-nova-vif-master.1.0.4.0.1-master_1_0_4_0_1.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-nova-vif-master.1.0.4.0.1-mas######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-nova-vif.x86_64 0:master.1.0.4.0.1-master_1_0_4_0_1.el7 will be erased ---> Package contrail-vrouter-agent.x86_64 0:master.1.0.4.0.1-master_1_0_4_0_1.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 master.1.0.4.0.1-master_1_0_4_0_1.el7 installed 83 k contrail-vrouter-agent x86_64 master.1.0.4.0.1-master_1_0_4_0_1.el7 installed 61 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-master.1.0.4.0.1-master_1_0_4_0_1.el7.x8 1/2 Erasing : contrail-vrouter-agent-master.1.0.4.0.1-master_1_0_4_0_1.e 2/2 Verifying : contrail-nova-vif-master.1.0.4.0.1-master_1_0_4_0_1.el7.x8 1/2 Verifying : contrail-vrouter-agent-master.1.0.4.0.1-master_1_0_4_0_1.e 2/2 Removed: contrail-nova-vif.x86_64 0:master.1.0.4.0.1-master_1_0_4_0_1.el7 contrail-vrouter-agent.x86_64 0:master.1.0.4.0.1-master_1_0_4_0_1.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 3f15c0ec6c3c ---> 24019828e7f4 Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 0f77d2c3a38c ---> Removed intermediate container 0f77d2c3a38c ---> 2537d07d5fca [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 2537d07d5fca Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init:master-1_0_4_0-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-openstack-compute-init:master-1_0_4_0-1 2024-09-16 21:26:08,637: INFO: Docker build duration: 119 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init] 80145a8b3a76: Preparing c9621626c8b0: Preparing b2fa02c42be1: Preparing a81fecfe5217: Preparing 7e8a9f2e6064: Preparing fa2adde2862c: Preparing e7583d89783d: Preparing b7dc9cb88cc5: Preparing 174f56854903: Preparing 80145a8b3a76: Waiting c9621626c8b0: Waiting b2fa02c42be1: Waiting a81fecfe5217: Waiting 7e8a9f2e6064: Waiting fa2adde2862c: Waiting e7583d89783d: Waiting b7dc9cb88cc5: Waiting 174f56854903: Waiting c9621626c8b0: Pushed b2fa02c42be1: Layer already exists a81fecfe5217: Layer already exists 7e8a9f2e6064: Layer already exists fa2adde2862c: Layer already exists e7583d89783d: Layer already exists b7dc9cb88cc5: Layer already exists 174f56854903: Layer already exists 80145a8b3a76: Pushed master-1_0_4_0-1: digest: sha256:43c5cca9baf35260a7363fc261aae16d9fa49faf3d482d810112e17995da2a9d size: 2197 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-openstack-compute-init] 80145a8b3a76: Preparing c9621626c8b0: Preparing b2fa02c42be1: Preparing a81fecfe5217: Preparing 7e8a9f2e6064: Preparing fa2adde2862c: Preparing e7583d89783d: Preparing b7dc9cb88cc5: Preparing 174f56854903: Preparing 80145a8b3a76: Waiting c9621626c8b0: Waiting b2fa02c42be1: Waiting a81fecfe5217: Waiting 7e8a9f2e6064: Waiting fa2adde2862c: Waiting e7583d89783d: Waiting b7dc9cb88cc5: Waiting 174f56854903: Waiting c9621626c8b0: Layer already exists 80145a8b3a76: Layer already exists b2fa02c42be1: Layer already exists a81fecfe5217: Layer already exists 7e8a9f2e6064: Layer already exists fa2adde2862c: Layer already exists e7583d89783d: Layer already exists b7dc9cb88cc5: Layer already exists 174f56854903: Layer already exists master-1_0_4_0-1: digest: sha256:43c5cca9baf35260a7363fc261aae16d9fa49faf3d482d810112e17995da2a9d size: 2197 2024-09-16 21:26:27,079: INFO: Building contrail-openstack-compute-init finished successfully, duration: 138 seconds