2024-11-06 10:51:40,772: INFO: Building contrail-openstack-heat-init 2024-11-06 10:51:40,855: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=r24.1-1_1_6_2-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-heat-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_1_6_2-1 ---> 51c1cb563c9a Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> 7aa9e84e2726 Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in 1c4eda331cf2 ---> Removed intermediate container 1c4eda331cf2 ---> b9eafa5fe8cd Step 4/7 : LABEL name=$CONTAINER_NAME summary="Init container for OpenStack Heat" description="Sidecar container with libraries for heat services." $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in ddedbe4e6352 ---> Removed intermediate container ddedbe4e6352 ---> 123ddf820159 Step 5/7 : COPY *.sh / ---> a6a2cbe20251 Step 6/7 : RUN mkdir -p /opt/contrail/site-packages /opt/contrail_python3/site-packages && python2 -m pip install --no-compile --target=/opt/contrail/site-packages future six && python3 -m pip install --no-compile --target=/opt/contrail_python3/site-packages "future==0.18.2" "six==1.13.0" && rpm -Uvh --nodeps $(repoquery -q --location python-contrail) && rpm -Uvh --nodeps $(repoquery -q --location contrail-heat) && cp -rf /usr/lib/python2.7/site-packages/contrail_heat* /opt/contrail/site-packages && cp -rf /usr/lib/python2.7/site-packages/vnc_api* /opt/contrail/site-packages && cp -rf /usr/lib/python2.7/site-packages/cfgm_common* /opt/contrail/site-packages && cp -rf /usr/lib/python2.7/site-packages/contrail_heat* /opt/contrail_python3/site-packages && cp -rf /usr/lib/python2.7/site-packages/vnc_api* /opt/contrail_python3/site-packages && cp -rf /usr/lib/python2.7/site-packages/cfgm_common* /opt/contrail_python3/site-packages && yum autoremove -y python-contrail contrail-heat && yum clean all -y && rm -rf /var/cache/yum ---> Running in c52a8dcc7617 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ Collecting future Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/bd2/968309307861e/future-1.0.0.tar.gz (1.2 MB) Collecting six Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/8ab/b2f1d86890a2d/six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: future Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-1.0.0-py2-none-any.whl size=502835 sha256=60a031d09d4bb367dbcfd058d02ad94e02da4dcba3be8f02ea10b81b48ecbb51 Stored in directory: /root/.cache/pip/wheels/2d/db/56/c63769d7b683794aa180c914d4b50c3bfdda2db627dff58aad Successfully built future Installing collected packages: future, six Successfully installed future-1.0.0 six-1.16.0 WARNING: You are using pip version 20.1; however, version 20.3.4 is available. You should consider upgrading via the '/usr/bin/python2 -m pip install --upgrade pip' command. WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting future==0.18.2 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/b1b/ead90b70cf6ec/future-0.18.2.tar.gz (829kB) Collecting six==1.13.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/1f1/b7d42e254082a/six-1.13.0-py2.py3-none-any.whl Installing collected packages: future, six Running setup.py install for future: started Running setup.py install for future: finished with status 'done' Successfully installed future-0.18.2 six-1.13.0 Retrieving http://localhost:6667/x86_64/python-contrail-r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7.x86_64.rpm Preparing... ######################################## Updating / installing... python-contrail-r24.1.1.1.6.2.1-r24.1_######################################## DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ Collecting cassandra-driver<3.27,>=3.16 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/425/338478c143247/cassandra-driver-3.26.0.tar.gz (287 kB) Collecting six>=1.9 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/8ab/b2f1d86890a2d/six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting geomet<0.3,>=0.1 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/91d/754f7c298cbfc/geomet-0.2.1.post1.tar.gz (19 kB) Collecting click Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/dac/ca89f4bfadd5d/click-7.1.2-py2.py3-none-any.whl (82 kB) Building wheels for collected packages: cassandra-driver, geomet Building wheel for cassandra-driver (setup.py): started Building wheel for cassandra-driver (setup.py): finished with status 'done' Created wheel for cassandra-driver: filename=cassandra_driver-3.26.0-cp27-cp27mu-linux_x86_64.whl size=330682 sha256=373da93e6f169d703b8254b2c3b77cde8f97770292b94ef6dd73b507668a363a Stored in directory: /root/.cache/pip/wheels/d5/20/ee/0e93f823a0503768083a90498182c271c508c2ab5e90786aed Building wheel for geomet (setup.py): started Building wheel for geomet (setup.py): finished with status 'done' Created wheel for geomet: filename=geomet-0.2.1.post1-py2-none-any.whl size=21883 sha256=62947818956919f8985a69d6b082b3c621ab94d7c441c8c17474360d5a16a198 Stored in directory: /root/.cache/pip/wheels/d5/d7/cb/6c53f2c7e6fd5a3ee68a1e6d2b7f3baf838462bc51d5a07e78 Successfully built cassandra-driver geomet ERROR: sandesh 0.1.dev0 requires bottle, which is not installed. ERROR: sandesh 0.1.dev0 requires future, which is not installed. ERROR: sandesh 0.1.dev0 requires fysom, which is not installed. ERROR: sandesh 0.1.dev0 requires gevent, which is not installed. ERROR: sandesh 0.1.dev0 requires netaddr<1, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires bitarray, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires bottle<0.13, which is not installed. Installing collected packages: six, click, geomet, cassandra-driver ERROR: contrail-config-common 0.1.dev0 requires future, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires gevent, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires greenlet, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires kazoo, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires requests, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires simplejson, which is not installed. ERROR: contrail-config-common 0.1.dev0 requires stevedore, which is not installed. Successfully installed cassandra-driver-3.26.0 click-7.1.2 geomet-0.2.1.post1 six-1.16.0 WARNING: You are using pip version 20.1; however, version 20.3.4 is available. You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command. Retrieving http://localhost:6667/noarch/contrail-heat-r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7.noarch.rpm Preparing... ######################################## Updating / installing... contrail-heat-r24.1.1.1.6.2.1-r24.1_1_######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-heat.noarch 0:r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7 will be erased ---> Package python-contrail.x86_64 0:r24.1.1.1.6.2.1-r24.1_1_1_6_2_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-heat noarch r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7 installed 511 k python-contrail x86_64 r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7 installed 30 M Transaction Summary ================================================================================ Remove 2 Packages Installed size: 30 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum.  Erasing : contrail-heat-r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7.noarch 1/2 Erasing : python-contrail-r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7.x86_64 2/2 Verifying : python-contrail-r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7.x86_64 1/2 Verifying : contrail-heat-r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7.noarch 2/2 Removed: contrail-heat.noarch 0:r24.1.1.1.6.2.1-r24.1_1_1_6_2_1.el7 python-contrail.x86_64 0:r24.1.1.1.6.2.1-r24.1_1_1_6_2_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 c52a8dcc7617 ---> 6611a00a32ee Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 6919f5e12e4a ---> Removed intermediate container 6919f5e12e4a ---> 782dcad46317 [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 782dcad46317 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-heat-init:r24.1-1_1_6_2-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-openstack-heat-init:r24.1-1_1_6_2-1 2024-11-06 10:54:13,210: INFO: Docker build duration: 153 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-heat-init] 0143656853f6: Preparing fdc872a7cfd6: Preparing 33882dfd9afd: Preparing 2ab18e2582cf: Preparing 583473dfb4b2: Preparing 6c34b9c46627: Preparing 2b3bcf9f6f15: Preparing 38f3d9c1a494: Preparing 174f56854903: Preparing 6c34b9c46627: Waiting 2b3bcf9f6f15: Waiting 38f3d9c1a494: Waiting 174f56854903: Waiting 2ab18e2582cf: Waiting 583473dfb4b2: Waiting 33882dfd9afd: Layer already exists fdc872a7cfd6: Pushed 2ab18e2582cf: Layer already exists 6c34b9c46627: Layer already exists 583473dfb4b2: Layer already exists 2b3bcf9f6f15: Layer already exists 38f3d9c1a494: Layer already exists 174f56854903: Layer already exists 0143656853f6: Pushed r24.1-1_1_6_2-1: digest: sha256:8d76229154691089c209e0de135b4872f174219416029ee4ffe5ecf20dd83b8e size: 2198 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-openstack-heat-init] 0143656853f6: Preparing fdc872a7cfd6: Preparing 33882dfd9afd: Preparing 2ab18e2582cf: Preparing 583473dfb4b2: Preparing 6c34b9c46627: Preparing 2b3bcf9f6f15: Preparing 38f3d9c1a494: Preparing 174f56854903: Preparing 0143656853f6: Waiting fdc872a7cfd6: Waiting 33882dfd9afd: Waiting 2ab18e2582cf: Waiting 583473dfb4b2: Waiting 6c34b9c46627: Waiting 2b3bcf9f6f15: Waiting 38f3d9c1a494: Waiting 174f56854903: Waiting 0143656853f6: Layer already exists fdc872a7cfd6: Layer already exists 33882dfd9afd: Layer already exists 2ab18e2582cf: Layer already exists 583473dfb4b2: Layer already exists 6c34b9c46627: Layer already exists 2b3bcf9f6f15: Layer already exists 174f56854903: Layer already exists 38f3d9c1a494: Layer already exists r24.1-1_1_6_2-1: digest: sha256:8d76229154691089c209e0de135b4872f174219416029ee4ffe5ecf20dd83b8e size: 2198 2024-11-06 10:54:26,569: INFO: Building contrail-openstack-heat-init finished successfully, duration: 166 seconds