[Train Only] Error: No matching repo to modify: epel failing container build push on centos-8 train

Bug #1879638 reported by Bhagyashri Shewale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
High
Unassigned

Bug Description

tripleo-centos-8-train-containers-build-push failing to build containers because of No matching repo to modify: epel

Error log:

2020-05-19 13:30:37 | USER tempest
2020-05-19 13:30:37 | DEBUG:kolla.common.utils:Wrote it to /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/tempest/Dockerfile
2020-05-19 13:30:37 | INFO:kolla.common.utils:Dockerfiles are generated in /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker
2020-05-19 13:32:55 | Exception occured while running the command
2020-05-19 13:32:55 | Traceback (most recent call last):
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run
2020-05-19 13:32:55 | super(Command, self).run(parsed_args)
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
2020-05-19 13:32:55 | return super(Command, self).run(parsed_args)
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/cliff/command.py", line 185, in run
2020-05-19 13:32:55 | return_code = self.take_action(parsed_args) or 0
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/tripleoclient/v1/container_image.py", line 233, in take_action
2020-05-19 13:32:55 | bb.build_all()
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 220, in build_all
2020-05-19 13:32:55 | self._generate_container(container)
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 120, in _generate_container
2020-05-19 13:32:55 | self.build(container_name, self._find_container_dir(container_name))
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/tripleo_common/image/builder/buildah.py", line 152, in build
2020-05-19 13:32:55 | use_standard_locale=True
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/tripleo_common/utils/process.py", line 52, in execute
2020-05-19 13:32:55 | result = processutils.execute(*cmd, **kwargs)
2020-05-19 13:32:55 | File "/home/zuul/workspace/venv_build/lib/python3.6/site-packages/oslo_concurrency/processutils.py", line 424, in execute
2020-05-19 13:32:55 | cmd=sanitized_cmd)
2020-05-19 13:32:55 | oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
2020-05-19 13:32:55 | Command: sudo buildah bud --format docker --tls-verify=False --logfile /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/base/base-build.log -t trunk.registry.rdoproject.org/tripleotraincentos8/centos-binary-base:9f22f412865b46fe428a1188130ca0f7ace577b0_618fa100 /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/base
2020-05-19 13:32:55 | Exit code: 1
2020-05-19 13:32:55 | Stdout: ''
2020-05-19 13:32:55 | Stderr: 'error building at STEP "RUN dnf -y install centos-release-nfs-ganesha28 centos-release-opstools dnf-plugins-core centos-release-opstools && dnf config-manager --enable HighAvailability && dnf config-manager --enable PowerTools && dnf config-manager --enable HighAvailability && dnf config-manager --enable centos-opstools && dnf config-manager --disable epel && dnf config-manager --disable epel-modular && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-OpsTools && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO && dnf -y distro-sync --security --sec-severity=Important --sec-severity=Critical && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\n'
2020-05-19 13:32:55 | Unexpected error while running command.
2020-05-19 13:32:55 | Command: sudo buildah bud --format docker --tls-verify=False --logfile /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/base/base-build.log -t trunk.registry.rdoproject.org/tripleotraincentos8/centos-binary-base:9f22f412865b46fe428a1188130ca0f7ace577b0_618fa100 /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/base
2020-05-19 13:32:55 | Exit code: 1
2020-05-19 13:32:55 | Stdout: ''
2020-05-19 13:32:55 | Stderr: 'error building at STEP "RUN dnf -y install centos-release-nfs-ganesha28 centos-release-opstools dnf-plugins-core centos-release-opstools && dnf config-manager --enable HighAvailability && dnf config-manager --enable PowerTools && dnf config-manager --enable HighAvailability && dnf config-manager --enable centos-opstools && dnf config-manager --disable epel && dnf config-manager --disable epel-modular && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-OpsTools && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO && dnf -y distro-sync --security --sec-severity=Important --sec-severity=Critical && dnf clean all && rm -rf /var/cache/dnf": error while running runtime: exit status 1\n'
2020-05-19 13:32:55 | Building base image with: sudo buildah bud --format docker --tls-verify=False --logfile /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/base/base-build.log -t trunk.registry.rdoproject.org/tripleotraincentos8/centos-binary-base:9f22f412865b46fe428a1188130ca0f7ace577b0_618fa100 /tmp/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/base
2020-05-19 13:32:56 | ================= COMPLETE ====================
2020-05-19 13:32:56 |
2020-05-19 13:32:56 |
2020-05-19 13:32:56 |
2020-05-19 13:32:56 |
2020-05-19 13:32:56 |
2020-05-19 13:32:56 |
2020-05-19 13:32:56 | ============= SUMMARY ===============
2020-05-19 13:32:56 | Expected................... 122
2020-05-19 13:32:56 | Built...................... 0
2020-05-19 13:32:56 | =====================================
2020-05-19 13:32:56 |
2020-05-19 13:32:56 |
2020-05-19 13:32:56 | Return code: [ 1 ]
2020-05-19 13:32:56 |
2020-05-19 13:32:56 |
2020-05-19 13:32:56 | FAILURE: I'm sorry. One or more containers failed to build :(

Note: This issue is occurring because of this change https://review.opendev.org/#/c/721329/13

Reference link:

[1]: https://logserver.rdoproject.org/openstack-periodic-24hr/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-8-train-containers-build-push/e96cdd7/job-output.txt

[2]: https://logserver.rdoproject.org/openstack-periodic-24hr/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-8-train-containers-build-push/e96cdd7/logs/build.log

[3]: https://logserver.rdoproject.org/openstack-periodic-24hr/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-8-train-containers-build-push/e96cdd7/logs/buildah-builds/kolla-builds/36ee5062-e311-4403-8adb-fd1d527f4729/docker/base/base-build.log

summary: - [Train Only] Error: No matching repo to modify: epel failing to build
- containers on centos-8 train
+ [Train Only] Error: No matching repo to modify: epel failing container
+ build push on centos-8 train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/729519
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=d101ebc34fa2aa42d227d2c1f066ef9dc0c57800
Submitter: Zuul
Branch: stable/train

commit d101ebc34fa2aa42d227d2c1f066ef9dc0c57800
Author: Bhagyashri Shewale <email address hidden>
Date: Wed May 20 12:27:52 2020 +0530

    [Train only] Fix for CentOS8 containers build

    Tripleo centos-8 train container bulid job is failing in rdo ci [1]
    because of disabling epel repos in openstack/kolla stable/train [2].

    Remove 'epel' and 'epel-modular' from repo disable list as
    we remove epel-release via base_centos_yum_repo_packages_remove.

    Note: This patch is only train specific,
    as kolla do not have epel related change in master.

    Here is the testproject patch to test
    this changes: https://review.rdoproject.org/r/#/c/27634/

    [1]: https://review.rdoproject.org/zuul/builds?pipeline=openstack-periodic-24hr&job_name=periodic-tripleo-centos-8-train-containers-build-push
    [2]: https://review.opendev.org/#/c/721329/13

    Closes-Bug: #1879638
    Signed-off-by: Bhagyashri Shewale <email address hidden>
    Change-Id: Ibc265956acdcba54588e10f7d9137ba22f687992

tags: added: in-stable-train
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Changed in tripleo:
milestone: wallaby-3 → wallaby-rc1
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Changed in tripleo:
milestone: xena-1 → xena-2
Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: xena-2 → none
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.