2025-04-23 12:21:24,324: INFO: Building contrail-openstack-compute-init 2025-04-23 12:21:24,408: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_6_0_3-1-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:5101/contrail-general-base:master-1_6_0_3-1-r24.1-centos ---> 2f4bb4df5efe Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> b52fd142a262 Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in 149575fa61ce ---> Removed intermediate container 149575fa61ce ---> 1ae839c0b24e 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 a0d2f7d4ac14 ---> Removed intermediate container a0d2f7d4ac14 ---> 85c0f7fce546 Step 5/7 : COPY vrouter-port-control *.sh / ---> 51610fa1176b 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 65d31e9b89f3 Retrieving http://localhost:6667/x86_64/contrail-vrouter-agent-master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-vrouter-agent-master.1.6.0.3.######################################## 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 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-bksi0w89/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-bksi0w89/cryptography/ warning: %post(contrail-vrouter-agent-master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/x86_64/contrail-nova-vif-master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-nova-vif-master.1.6.0.3.1.r24######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-nova-vif.x86_64 0:master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.el7 will be erased ---> Package contrail-vrouter-agent.x86_64 0:master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_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 master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.el7 installed 99 k contrail-vrouter-agent x86_64 master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.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-master.1.6.0.3.1.r24.1.centos-master_1_6 1/2 Erasing : contrail-vrouter-agent-master.1.6.0.3.1.r24.1.centos-maste 2/2 Verifying : contrail-vrouter-agent-master.1.6.0.3.1.r24.1.centos-maste 1/2 Verifying : contrail-nova-vif-master.1.6.0.3.1.r24.1.centos-master_1_6 2/2 Removed: contrail-nova-vif.x86_64 0:master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.el7 contrail-vrouter-agent.x86_64 0:master.1.6.0.3.1.r24.1.centos-master_1_6_0_3_1_r24.1_centos.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 65d31e9b89f3 ---> 9be0dd07b351 Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 59046f0378d2 ---> Removed intermediate container 59046f0378d2 ---> 44cf4df263ba [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 44cf4df263ba Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init:master-1_6_0_3-1-r24.1-centos Successfully tagged nexus.gz1.opensdn.io:5101/tf-openstack-compute-init:master-1_6_0_3-1-r24.1-centos 2025-04-23 12:23:28,739: INFO: Docker build duration: 124 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init] aee888ba91bb: Preparing 8a6eaa765b2e: Preparing c5c783daf43d: Preparing 2c7aa35c9e54: Preparing 5b2bbbd01d94: Preparing 957bede83c6b: Preparing 9e3b91929537: Preparing 1d8413b6dc1f: Preparing 174f56854903: Preparing aee888ba91bb: Waiting 8a6eaa765b2e: Waiting c5c783daf43d: Waiting 2c7aa35c9e54: Waiting 5b2bbbd01d94: Waiting 957bede83c6b: Waiting 9e3b91929537: Waiting 1d8413b6dc1f: Waiting 174f56854903: Waiting 8a6eaa765b2e: Pushed aee888ba91bb: Pushed 2c7aa35c9e54: Layer already exists c5c783daf43d: Layer already exists 5b2bbbd01d94: Layer already exists 957bede83c6b: Layer already exists 9e3b91929537: Layer already exists 1d8413b6dc1f: Layer already exists 174f56854903: Layer already exists master-1_6_0_3-1-r24.1-centos: digest: sha256:c42f70241ce9298d3d9d1db1f3d2c8e60870d4a15c0f70dce6652225ae9b5c19 size: 2197 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-openstack-compute-init] aee888ba91bb: Preparing 8a6eaa765b2e: Preparing c5c783daf43d: Preparing 2c7aa35c9e54: Preparing 5b2bbbd01d94: Preparing 957bede83c6b: Preparing 9e3b91929537: Preparing 1d8413b6dc1f: Preparing 174f56854903: Preparing aee888ba91bb: Waiting 8a6eaa765b2e: Waiting c5c783daf43d: Waiting 2c7aa35c9e54: Waiting 5b2bbbd01d94: Waiting 957bede83c6b: Waiting 9e3b91929537: Waiting 1d8413b6dc1f: Waiting 174f56854903: Waiting aee888ba91bb: Layer already exists 8a6eaa765b2e: Layer already exists c5c783daf43d: Layer already exists 2c7aa35c9e54: Layer already exists 5b2bbbd01d94: Layer already exists 957bede83c6b: Layer already exists 9e3b91929537: Layer already exists 1d8413b6dc1f: Layer already exists 174f56854903: Layer already exists master-1_6_0_3-1-r24.1-centos: digest: sha256:c42f70241ce9298d3d9d1db1f3d2c8e60870d4a15c0f70dce6652225ae9b5c19 size: 2197 2025-04-23 12:23:50,999: INFO: Building contrail-openstack-compute-init finished successfully, duration: 146 seconds