2024-08-21 10:53:06,833: INFO: Building contrail-openstack-compute-init 2024-08-21 10:53:06,961: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=r24.1-8_6_5-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:r24.1-8_6_5-1 ---> 40f4bf1a494e Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> 2c436af94ae8 Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in f095f5796368 ---> Removed intermediate container f095f5796368 ---> 3062d8c0ce06 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 cb77b9ece238 ---> Removed intermediate container cb77b9ece238 ---> 1dccbf4aa400 Step 5/7 : COPY vrouter-port-control *.sh / ---> b8b5d6533182 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 89b3eecffd45 Retrieving http://localhost:6667/x86_64/contrail-vrouter-agent-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-vrouter-agent-r24.1.8.6.5.1-r######################################## 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/8e4/9fd2f82f84acf/paramiko-3.4.1-py3-none-any.whl (226kB) 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 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-0zihnb26/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-0zihnb26/cryptography/ warning: %post(contrail-vrouter-agent-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/x86_64/contrail-nova-vif-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-nova-vif-r24.1.8.6.5.1-r24.1_######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-nova-vif.x86_64 0:r24.1.8.6.5.1-r24.1_8_6_5_1.el7 will be erased ---> Package contrail-vrouter-agent.x86_64 0:r24.1.8.6.5.1-r24.1_8_6_5_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 r24.1.8.6.5.1-r24.1_8_6_5_1.el7 installed 99 k contrail-vrouter-agent x86_64 r24.1.8.6.5.1-r24.1_8_6_5_1.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.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 1/2 Erasing : contrail-vrouter-agent-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86 2/2 Verifying : contrail-vrouter-agent-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86 1/2 Verifying : contrail-nova-vif-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 2/2 Removed: contrail-nova-vif.x86_64 0:r24.1.8.6.5.1-r24.1_8_6_5_1.el7 contrail-vrouter-agent.x86_64 0:r24.1.8.6.5.1-r24.1_8_6_5_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 89b3eecffd45 ---> e108f4a18e07 Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 02cff08ab965 ---> Removed intermediate container 02cff08ab965 ---> e29328f364bb [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 e29328f364bb Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init:r24.1-8_6_5-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-openstack-compute-init:r24.1-8_6_5-1 2024-08-21 10:55:14,906: INFO: Docker build duration: 128 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init] 84320bf3f72a: Preparing aed4d0ad275c: Preparing 583508ee7212: Preparing 091d877b309a: Preparing 337ea8b848a8: Preparing 35b1829c9052: Preparing 2453f529f46b: Preparing 94d2a275b7e7: Preparing 174f56854903: Preparing 2453f529f46b: Waiting 94d2a275b7e7: Waiting 174f56854903: Waiting 35b1829c9052: Waiting aed4d0ad275c: Pushed 091d877b309a: Layer already exists 84320bf3f72a: Pushed 337ea8b848a8: Layer already exists 583508ee7212: Layer already exists 35b1829c9052: Layer already exists 2453f529f46b: Layer already exists 94d2a275b7e7: Layer already exists 174f56854903: Layer already exists r24.1-8_6_5-1: digest: sha256:a7cb55055f99d1d4fcd8d0c48c973c228b2bc199c8d17fd3a10f7ab13e2a422e size: 2197 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-openstack-compute-init] 84320bf3f72a: Preparing aed4d0ad275c: Preparing 583508ee7212: Preparing 091d877b309a: Preparing 337ea8b848a8: Preparing 35b1829c9052: Preparing 2453f529f46b: Preparing 94d2a275b7e7: Preparing 174f56854903: Preparing 84320bf3f72a: Waiting aed4d0ad275c: Waiting 583508ee7212: Waiting 091d877b309a: Waiting 337ea8b848a8: Waiting 35b1829c9052: Waiting 2453f529f46b: Waiting 94d2a275b7e7: Waiting 174f56854903: Waiting 84320bf3f72a: Layer already exists aed4d0ad275c: Layer already exists 583508ee7212: Layer already exists 35b1829c9052: Layer already exists 091d877b309a: Layer already exists 337ea8b848a8: Layer already exists 2453f529f46b: Layer already exists 94d2a275b7e7: Layer already exists 174f56854903: Layer already exists r24.1-8_6_5-1: digest: sha256:a7cb55055f99d1d4fcd8d0c48c973c228b2bc199c8d17fd3a10f7ab13e2a422e size: 2197 2024-08-21 10:55:29,406: INFO: Building contrail-openstack-compute-init finished successfully, duration: 143 seconds