2025-01-07 16:10:43,050: INFO: Building contrail-kubernetes-kube-manager 2025-01-07 16:10:43,081: 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_8_3-2 --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-kubernetes-kube-manager --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 15.87 kB Step 1/11 : ARG CONTRAIL_REGISTRY Step 2/11 : ARG CONTRAIL_CONTAINER_TAG Step 3/11 : FROM ${CONTRAIL_REGISTRY}/contrail-base:${CONTRAIL_CONTAINER_TAG} ---> 0ae51ecd632c Step 4/11 : ARG PIP_REPOSITORY ---> Using cache ---> 36ce128d677b Step 5/11 : ARG CONTAINER_NAME ---> Running in 2bae832d3de8 ---> Removed intermediate container 2bae832d3de8 ---> f4288813e669 Step 6/11 : ENV NODE_TYPE=kubernetes SERVICE_NAME=kube-manager CONTAINER_NAME=$CONTAINER_NAME ---> Running in 670ef84490e9 ---> Removed intermediate container 670ef84490e9 ---> f674ce5d0a39 Step 7/11 : LABEL name=$CONTAINER_NAME summary="Contrail Kubernetes Manager" description="Contrail Kubernetes Manager provides listening to the Kubernetes API messages and creating corresponding resources in the Contrail API database." $VENDOR_DOMAIN".pod"=$NODE_TYPE $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in ad22d9a8cb8a ---> Removed intermediate container ad22d9a8cb8a ---> 77340cf1055e Step 8/11 : RUN set -e ; python3 -m pip install --no-compile --extra-index-url $PIP_REPOSITORY "kube_manager==0.1.dev0" ---> Running in 3eab96d73308 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/, http://localhost:6667/pip/simple Collecting kube_manager==0.1.dev0 Downloading http://localhost:6667/pip/simple/kube-manager/kube_manager-0.1.dev0-py3-none-any.whl (184 kB) Requirement already satisfied: contrail-api-client==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from kube_manager==0.1.dev0) (0.1.dev0) Collecting bitstring Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/0de/167daa6a00c93/bitstring-3.1.9-py3-none-any.whl (38 kB) Requirement already satisfied: greenlet in /usr/local/lib64/python3.6/site-packages (from kube_manager==0.1.dev0) (2.0.2) Requirement already satisfied: netaddr<1 in /usr/local/lib/python3.6/site-packages (from kube_manager==0.1.dev0) (0.10.1) Collecting keystoneauth1 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/c41/b041abed17f5e/keystoneauth1-5.1.3-py3-none-any.whl (318 kB) Requirement already satisfied: sandesh==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from kube_manager==0.1.dev0) (0.1.dev0) Requirement already satisfied: gevent in /usr/local/lib64/python3.6/site-packages (from kube_manager==0.1.dev0) (22.10.2) Requirement already satisfied: contrail-config-common==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from kube_manager==0.1.dev0) (0.1.dev0) Requirement already satisfied: sandesh-common==0.1.dev0 in /usr/local/lib/python3.6/site-packages (from kube_manager==0.1.dev0) (0.1.dev0) Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from kube_manager==0.1.dev0) (2.27.1) Requirement already satisfied: cassandra-driver in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (3.29.2) Requirement already satisfied: timeout-decorator in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (0.5.0) Requirement already satisfied: kazoo in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (2.10.0) Requirement already satisfied: bottle<0.13 in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (0.12.25) Requirement already satisfied: bitarray in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (3.0.0) Requirement already satisfied: simplejson in /usr/local/lib64/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (3.19.3) Requirement already satisfied: stevedore in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (3.5.2) Requirement already satisfied: kombu in /usr/local/lib/python3.6/site-packages (from contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (5.1.0) Requirement already satisfied: fysom in /usr/local/lib/python3.6/site-packages (from sandesh==0.1.dev0->kube_manager==0.1.dev0) (2.1.6) Requirement already satisfied: importlib-resources in /usr/local/lib/python3.6/site-packages (from netaddr<1->kube_manager==0.1.dev0) (5.4.0) Requirement already satisfied: zope.interface in /usr/local/lib64/python3.6/site-packages (from gevent->kube_manager==0.1.dev0) (5.5.2) Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from gevent->kube_manager==0.1.dev0) (59.6.0) Requirement already satisfied: zope.event in /usr/local/lib/python3.6/site-packages (from gevent->kube_manager==0.1.dev0) (4.6) Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.6/site-packages (from keystoneauth1->kube_manager==0.1.dev0) (1.17.0) Collecting os-service-types>=1.2.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/050/5c72205690910/os_service_types-1.7.0-py2.py3-none-any.whl (24 kB) Collecting iso8601>=0.1.11 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/840/0e90141bf792b/iso8601-1.1.0-py3-none-any.whl (9.9 kB) Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in /usr/local/lib/python3.6/site-packages (from keystoneauth1->kube_manager==0.1.dev0) (6.1.0) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->kube_manager==0.1.dev0) (1.26.20) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/site-packages (from requests->kube_manager==0.1.dev0) (2.0.12) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->kube_manager==0.1.dev0) (2024.12.14) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->kube_manager==0.1.dev0) (3.10) Requirement already satisfied: importlib-metadata>=1.7.0 in /usr/local/lib/python3.6/site-packages (from stevedore->contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (4.8.3) Requirement already satisfied: geomet<0.3,>=0.1 in /usr/local/lib/python3.6/site-packages (from cassandra-driver->contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (0.2.1.post1) Requirement already satisfied: zipp>=3.1.0 in /usr/local/lib/python3.6/site-packages (from importlib-resources->netaddr<1->kube_manager==0.1.dev0) (3.6.0) Requirement already satisfied: vine in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (5.1.0) Requirement already satisfied: cached-property in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (1.5.2) Requirement already satisfied: amqp<6.0.0,>=5.0.6 in /usr/local/lib/python3.6/site-packages (from kombu->contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (5.3.1) Requirement already satisfied: click in /usr/local/lib/python3.6/site-packages (from geomet<0.3,>=0.1->cassandra-driver->contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (8.0.4) Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.6/site-packages (from importlib-metadata>=1.7.0->stevedore->contrail-config-common==0.1.dev0->kube_manager==0.1.dev0) (4.1.1) Installing collected packages: os-service-types, iso8601, keystoneauth1, bitstring, kube-manager Successfully installed bitstring-3.1.9 iso8601-1.1.0 keystoneauth1-5.1.3 kube-manager-0.1.dev0 os-service-types-1.7.0 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 3eab96d73308 ---> 4e1314100026 Step 9/11 : COPY entrypoint.sh / ---> cfd65a076803 Step 10/11 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 5eb317ac77a5 ---> Removed intermediate container 5eb317ac77a5 ---> f4cbf8a56bab Step 11/11 : CMD ["/usr/local/bin/contrail-kube-manager", "-c", "/etc/contrail/contrail-kubernetes.conf"] ---> Running in c892686d7e61 ---> Removed intermediate container c892686d7e61 ---> 417e9304f8f7 [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 417e9304f8f7 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-kubernetes-kube-manager:master-1_2_8_3-2 Successfully tagged nexus.gz1.opensdn.io:5101/tf-kubernetes-kube-manager:master-1_2_8_3-2 2025-01-07 16:11:08,061: INFO: Docker build duration: 26 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-kubernetes-kube-manager] c284b35789dc: Preparing 9eef21f472df: Preparing 2029414aa078: Preparing c284b35789dc: Waiting 9eef21f472df: Waiting 2029414aa078: Waiting 21c161558ecd: Preparing c1ada583d0a1: Preparing d32fb8e12ce5: Preparing adef02f9de9e: Preparing c8259f0a19c0: Preparing 8949e17f81e5: Preparing 38b478e73cc0: Preparing 174f56854903: Preparing 21c161558ecd: Waiting c1ada583d0a1: Waiting d32fb8e12ce5: Waiting adef02f9de9e: Waiting c8259f0a19c0: Waiting 8949e17f81e5: Waiting 38b478e73cc0: Waiting 174f56854903: Waiting c284b35789dc: Pushed 21c161558ecd: Layer already exists 2029414aa078: Layer already exists c1ada583d0a1: Layer already exists adef02f9de9e: Layer already exists d32fb8e12ce5: Layer already exists c8259f0a19c0: Layer already exists 38b478e73cc0: Layer already exists 174f56854903: Layer already exists 8949e17f81e5: Layer already exists 9eef21f472df: Pushed master-1_2_8_3-2: digest: sha256:d881cb68ff78ea3636a4be4f4d34b843deeb189bf5474cb1c93687914f316103 size: 2618 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-kubernetes-kube-manager] c284b35789dc: Preparing 9eef21f472df: Preparing 2029414aa078: Preparing 21c161558ecd: Preparing c1ada583d0a1: Preparing d32fb8e12ce5: Preparing adef02f9de9e: Preparing c8259f0a19c0: Preparing 8949e17f81e5: Preparing 38b478e73cc0: Preparing 174f56854903: Preparing c284b35789dc: Waiting 9eef21f472df: Waiting 2029414aa078: Waiting adef02f9de9e: Waiting d32fb8e12ce5: Waiting 21c161558ecd: Waiting c1ada583d0a1: Waiting 8949e17f81e5: Waiting c8259f0a19c0: Waiting 38b478e73cc0: Waiting 174f56854903: Waiting 21c161558ecd: Layer already exists c284b35789dc: Layer already exists 2029414aa078: Layer already exists c1ada583d0a1: Layer already exists adef02f9de9e: Layer already exists c8259f0a19c0: Layer already exists d32fb8e12ce5: Layer already exists 9eef21f472df: Layer already exists 8949e17f81e5: Layer already exists 38b478e73cc0: Layer already exists 174f56854903: Layer already exists master-1_2_8_3-2: digest: sha256:d881cb68ff78ea3636a4be4f4d34b843deeb189bf5474cb1c93687914f316103 size: 2618 2025-01-07 16:11:19,187: INFO: Building contrail-kubernetes-kube-manager finished successfully, duration: 37 seconds