2025-05-08 14:25:16,547: INFO: Building opensdn-external-rsyslogd 2025-05-08 14:25:16,691: 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_6_6_9-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=opensdn-external-rsyslogd --build-arg UBUNTU_DISTR_VERSION=24.04 --build-arg UBUNTU_DISTR=ubuntu --build-arg VENDOR_NAME=OpenSDN-IO --build-arg VENDOR_DOMAIN=io.opensdn Sending build context to Docker daemon 41.47 kB Step 1/13 : ARG CONTAINER_NAME Step 2/13 : ARG CONTRAIL_REGISTRY Step 3/13 : ARG CONTRAIL_CONTAINER_TAG Step 4/13 : FROM ${CONTRAIL_REGISTRY}/opensdn-general-base:${CONTRAIL_CONTAINER_TAG} ---> 0195b6da5bfa Step 5/13 : ENV SERVICE_NAME=rsyslogd CONTAINER_NAME=$CONTAINER_NAME ---> Running in 2214475477e9 ---> Removed intermediate container 2214475477e9 ---> 28461f719040 Step 6/13 : LABEL name=$CONTAINER_NAME summary="Contrail rsyslogd" description="Contrail rsyslogd support" $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in 2611fbd721c5 ---> Removed intermediate container 2611fbd721c5 ---> 54ef87bafa77 Step 7/13 : COPY *.sh / ---> 7853f4e5f631 Step 8/13 : RUN /bin/bash -c 'for item in `ls /__*` ; do mv $item /${item:3} ; done' && source /etc/os-release && if [[ "$ID" == 'rhel' && "${PLATFORM_ID//*:/}" == 'el8' ]] ; then RSYSLOG_VERSION=8.37.0 ; else RSYSLOG_VERSION=8.24.0 ; fi && yum -y install rsyslog-$RSYSLOG_VERSION && yum clean all -y && rm -rf /var/cache/yum ---> Running in 221e5497c9ea Loaded plugins: fastestmirror, ovl Determining fastest mirrors http://tf-mirrors.gz1.opensdn.io/repos/yum7/latest/centos-openstack-queens/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: tf-mirrors.gz1.opensdn.io; Unknown error" Trying other mirror.  One of the configured repositories failed (added from: http://tf-mirrors.gz1.opensdn.io/repos/yum7/latest/centos-openstack-queens/), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=tf-mirrors.ci_repos_centos-openstack-queens ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable tf-mirrors.ci_repos_centos-openstack-queens or subscription-manager repos --disable=tf-mirrors.ci_repos_centos-openstack-queens 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=tf-mirrors.ci_repos_centos-openstack-queens.skip_if_unavailable=true failure: repodata/repomd.xml from tf-mirrors.ci_repos_centos-openstack-queens: [Errno 256] No more mirrors to try. http://tf-mirrors.gz1.opensdn.io/repos/yum7/latest/centos-openstack-queens/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: tf-mirrors.gz1.opensdn.io; Unknown error" The command '/bin/sh -c /bin/bash -c 'for item in `ls /__*` ; do mv $item /${item:3} ; done' && source /etc/os-release && if [[ "$ID" == 'rhel' && "${PLATFORM_ID//*:/}" == 'el8' ]] ; then RSYSLOG_VERSION=8.37.0 ; else RSYSLOG_VERSION=8.24.0 ; fi && yum -y install rsyslog-$RSYSLOG_VERSION && yum clean all -y && rm -rf /var/cache/yum' returned a non-zero code: 1 2025-05-08 14:25:26,034: INFO: Docker build duration: 10 seconds 2025-05-08 14:25:26,042: ERROR: Building opensdn-external-rsyslogd failed, duration: 10 seconds