Master: Image build failing due to dependency issues, Problem: package fence-agents-rhevm-4.10.0-23.el9.noarch requires fence-agents-common = 4.10.0-23.el9, but none of the providers can be installed

Bug #1975551 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description:

Master: Image build failing with below dependency issues:-

https://logserver.rdoproject.org/57/39357/25/check/periodic-tripleo-centos-9-buildimage-ironic-python-agent-master/206afe2/overcloud-full.log
~~~
2022-05-24 03:55:45.916 | > Error:
2022-05-24 03:55:45.916 | > Problem: package fence-agents-rhevm-4.10.0-23.el9.noarch requires fence-agents-common = 4.10.0-23.el9, but none of the providers can be installed
2022-05-24 03:55:45.916 | > - cannot install both fence-agents-common-4.10.0-24.el9.noarch and fence-agents-common-4.10.0-23.el9.noarch
2022-05-24 03:55:45.916 | > - cannot install both fence-agents-common-4.10.0-23.el9.noarch and fence-agents-common-4.10.0-24.el9.noarch
2022-05-24 03:55:45.948 | > - package fence-agents-compute-4.10.0-24.el9.x86_64 requires fence-agents-common = 4.10.0-24.el9, but none of the providers can be installed
2022-05-24 03:55:45.948 | > - cannot install the best candidate for the job
2022-05-24 03:55:45.948 | > (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
2022-05-24 03:55:45.948 | returncode: 1
~~~

Other failing examples:-

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-9-buildimage-overcloud-full-master/e9239b4/overcloud-full.log

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-9-buildimage-overcloud-hardened-uefi-full-master/c7192c0/overcloud-hardened-uefi-full.log

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

In the last good run, we were getting this fence-agents-common rpm from appstream.

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-9-buildimage-ironic-python-agent-master/26c6341/overcloud-full.log
~~~
2022-05-23 16:33:52.879 | > fence-agents-common noarch 4.10.0-23.el9 appstream 426 k
~~~

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ci (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-ci/+/843111

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

This was resolved automatically after mirror sync today, We have proposed a fix[1] to avoid this kind of issue in our image build job due to mirror issues.

[1] https://review.opendev.org/c/openstack/tripleo-ci/+/843111

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ci (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/843111
Committed: https://opendev.org/openstack/tripleo-ci/commit/b2ce4b4c101d68eaa71d1499609423e10f50f2d5
Submitter: "Zuul (22348)"
Branch: master

commit b2ce4b4c101d68eaa71d1499609423e10f50f2d5
Author: Sandeep Yadav <email address hidden>
Date: Tue May 24 12:58:22 2022 +0530

    Pass centos.repo from host during image build.

    We are facing an issue during image build in the related bug,
    because mirrors.centos.org and vexx mirrors are not in sync.

    The base image which we use to build overcloud images already have
    centos.repo and when proxy mirros are not updated this can cause
    an issue.

    This is a workaround patch to pass centos.repo(which are disabled
    on host) so that same repos in the image will be overridden.

    One change in behavior is at the end of image build, dib will delete
    the centos.repos in the overcloud image as dib cleans up what it adds
    ignoring what was already present.

    Related-Bug: #1975551
    Change-Id: Ia230c08817f138c2cba60076d29e1d58fde118c8

Changed in tripleo:
status: Triaged → Fix Released
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.