2025-04-16 21:05:45,929: INFO: Building contrail-openstack-compute-init 2025-04-16 21:05:45,976: INFO: Building args: --network host --build-arg PIP_REPOSITORY=http://localhost:6667/pip/simple --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_2_4_4-2_5 --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 5.12 kB Step 1/10 : ARG CONTRAIL_REGISTRY Step 2/10 : ARG CONTRAIL_CONTAINER_TAG Step 3/10 : FROM ${CONTRAIL_REGISTRY}/opensdn-general-base:${CONTRAIL_CONTAINER_TAG} ---> fb0a7aa24ec5 Step 4/10 : ARG PIP_REPOSITORY ---> Running in 08e15ef512f1 ---> Removed intermediate container 08e15ef512f1 ---> 08af2d154da4 Step 5/10 : ARG CONTAINER_NAME ---> Running in d6be541df537 ---> Removed intermediate container d6be541df537 ---> cede2249d1a9 Step 6/10 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in 268b652c7c25 ---> Removed intermediate container 268b652c7c25 ---> a7ffa1e7ad59 Step 7/10 : 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 3c6d4c001ea4 ---> Removed intermediate container 3c6d4c001ea4 ---> ec5ff5935e70 Step 8/10 : COPY vrouter-port-control *.sh / ---> d76d609496ee Step 9/10 : RUN set -e ; source /etc/os-release && ver=$(echo $VERSION_ID | cut -d '.' -f 1) && if [[ ${ver} == 9 ]]; then DNF="dnf" ; fi && rpm -Uvh --nodeps $(${DNF} repoquery -q --location contrail-vrouter-agent) ; 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 ; yum autoremove -y contrail-vrouter-agent contrail-nova-vif ; yum clean all -y ; rm -rf /var/cache/yum ; python3 -m pip install --no-deps -t /opt/contrail/site-packages --no-compile --extra-index-url $PIP_REPOSITORY "nova_contrail_vif==0.1.dev0" "contrail-vrouter-api==0.1.dev0" ; rm -rf /root/.cache ---> Running in 1ab70a2714b6 Retrieving http://localhost:6667/x86_64/contrail-vrouter-agent-master.1.2.4.4.2.5-master_1_2_4_4_2_5.el7.x86_64.rpm Preparing... ######################################## Updating / installing... contrail-vrouter-agent-master.1.2.4.4.######################################## Loaded plugins: fastestmirror, ovl No Match for argument: contrail-nova-vif Resolving Dependencies --> Running transaction check ---> Package contrail-vrouter-agent.x86_64 0:master.1.2.4.4.2.5-master_1_2_4_4_2_5.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-vrouter-agent x86_64 master.1.2.4.4.2.5-master_1_2_4_4_2_5.el7 installed 61 M Transaction Summary ================================================================================ Remove 1 Package Installed size: 61 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum.  Erasing : contrail-vrouter-agent-master.1.2.4.4.2.5-master_1_2_4_4_2 1/1 Verifying : contrail-vrouter-agent-master.1.2.4.4.2.5-master_1_2_4_4_2 1/1 Removed: contrail-vrouter-agent.x86_64 0:master.1.2.4.4.2.5-master_1_2_4_4_2_5.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 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/, http://localhost:6667/pip/simple Collecting nova_contrail_vif==0.1.dev0 Downloading http://localhost:6667/pip/simple/nova-contrail-vif/nova_contrail_vif-0.1.dev0-py3-none-any.whl (17 kB) Collecting contrail-vrouter-api==0.1.dev0 Downloading http://localhost:6667/pip/simple/contrail-vrouter-api/contrail_vrouter_api-0.1.dev0-py3-none-any.whl (2.9 kB) Installing collected packages: nova-contrail-vif, contrail-vrouter-api Successfully installed contrail-vrouter-api-0.1.dev0 nova-contrail-vif-0.1.dev0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv  ---> Removed intermediate container 1ab70a2714b6 ---> 327797bceb72 Step 10/10 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 740929623d1d ---> Removed intermediate container 740929623d1d ---> b3ad6596d2e9 [Warning] One or more build-args [BASE_EXTRA_RPMS 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 b3ad6596d2e9 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init:master-1_2_4_4-2_5 Successfully tagged nexus.gz1.opensdn.io:5101/opensdn-openstack-compute-init:master-1_2_4_4-2_5 2025-04-16 21:07:54,321: INFO: Docker build duration: 129 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-compute-init] 66ad41eee41a: Preparing 7d3d1e01c0ba: Preparing c83f51c89fcc: Preparing 98b38c553299: Preparing 2dc86e6288e8: Preparing f8b1dfbfef2e: Preparing 02c6915d706d: Preparing 1121d96278eb: Preparing 174f56854903: Preparing f8b1dfbfef2e: Waiting 02c6915d706d: Waiting 1121d96278eb: Waiting 174f56854903: Waiting 98b38c553299: Layer already exists c83f51c89fcc: Layer already exists 7d3d1e01c0ba: Pushed f8b1dfbfef2e: Layer already exists 2dc86e6288e8: Layer already exists 66ad41eee41a: Pushed 02c6915d706d: Layer already exists 1121d96278eb: Layer already exists 174f56854903: Layer already exists master-1_2_4_4-2_5: digest: sha256:9b5d6f2b047b598e3a22572458f7e3ac88ddc5e3377510cc7bc7b5aed6cc5b38 size: 2197 The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-openstack-compute-init] 66ad41eee41a: Preparing 7d3d1e01c0ba: Preparing c83f51c89fcc: Preparing 98b38c553299: Preparing 2dc86e6288e8: Preparing f8b1dfbfef2e: Preparing 02c6915d706d: Preparing 1121d96278eb: Preparing 174f56854903: Preparing 66ad41eee41a: Waiting 7d3d1e01c0ba: Waiting c83f51c89fcc: Waiting 98b38c553299: Waiting 2dc86e6288e8: Waiting f8b1dfbfef2e: Waiting 02c6915d706d: Waiting 1121d96278eb: Waiting 174f56854903: Waiting c83f51c89fcc: Layer already exists 7d3d1e01c0ba: Layer already exists 66ad41eee41a: Layer already exists 98b38c553299: Layer already exists 2dc86e6288e8: Layer already exists f8b1dfbfef2e: Layer already exists 02c6915d706d: Layer already exists 1121d96278eb: Layer already exists 174f56854903: Layer already exists master-1_2_4_4-2_5: digest: sha256:9b5d6f2b047b598e3a22572458f7e3ac88ddc5e3377510cc7bc7b5aed6cc5b38 size: 2197 2025-04-16 21:08:05,203: INFO: Building contrail-openstack-compute-init finished successfully, duration: 140 seconds