Overcloud update of Ceph nodes failed due to cannot install both packages

Solution Verified - Updated -

Environment

  • Red Hat OpenStack Platform 17.1
  • Ceph 5.3

Issue

The minor update of Ceph nodes fail on step 3.10.3 because of error none of the providers can be installed.

Resolution

  1. Review the repositories defined in rhsm_repos. If there are repositories of other version or another resource for the same package, this one need to be removed.
  2. Run the upgrade again.

Root Cause

The repositories should be configured as documented to the upgrade use the correct packages version.

Diagnostic Steps

  1. Check the output of the command for the FATAL error.
2023-10-18 21:24:29,688 p=901811 u=stack n=ansible | 2023-10-18 21:24:29.688225 | 46ad388f-3f80-3bf6-a31b-0000000005ce |      FATAL | Update all packages | ceph_node10 | error={"changed": false, "failures": [], "msg": "Depsolve Error occurred: \n Problem 1: package corosync-3.1.5-3.el9.x86_64 requires corosynclib(x86-64) = 3.1.5-3.el9, but none of the providers can be installed\n  - cannot install both corosynclib-3.1.7-1.el9.x86_64 and corosynclib-3.1.5-3.el9.x86_64\n  - cannot install the best update candidate for package corosynclib-3.1.5-3.el9.x86_64\n  - problem with installed package corosync-3.1.5-3.el9.x86_64\n Problem 2: package fence-agents-sbd-4.10.0-20.el9_0.2.noarch requires fence-agents-common = 4.10.0-20.el9_0.2, but none of the providers can be installed\n  - cannot install both fence-agents-common-4.10.0-43.el9.noarch and fence-agents-common-4.10.0-20.el9_0.2.noarch\n  - cannot install the best update candidate for package fence-agents-common-4.10.0-20.el9_0.2.noarch\n  - problem with installed package fence-agents-sbd-4.10.0-20.el9_0.2.noarch\n Problem 3: package fence-agents-rhevm-4.10.0-20.el9_0.2.noarch requires fence-agents-common = 4.10.0-20.el9_0.2, but none of the providers can be installed\n  - cannot install both fence-agents-common-4.10.0-43.el9.noarch and fence-agents-common-4.10.0-20.el9_0.2.noarch\n  - package fence-agents-compute-4.10.0-43.el9.x86_64 requires fence-agents-common = 4.10.0-43.el9, but none of the providers can be installed\n  - cannot install the best update candidate for package fence-agents-compute-4.10.0-20.el9_0.2.x86_64\n  - problem with installed package fence-agents-rhevm-4.10.0-20.el9_0.2.noarch\n Problem 4: package fence-agents-kdump-4.10.0-20.el9_0.2.x86_64 requires fence-agents-common = 4.10.0-20.el9_0.2, but none of the providers can be installed\n  - cannot install both fence-agents-common-4.10.0-43.el9.noarch and fence-agents-common-4.10.0-20.el9_0.2.noarch\n  - package fence-agents-compute-4.10.0-43.el9.x86_64 requires fence-agents-common = 4.10.0-43.el9, but none of the providers can be installed\n  - cannot install the best update candidate for package ha-openstack-support-4.10.0-20.el9_0.2.x86_64\n  - problem with installed package fence-agents-kdump-4.10.0-20.el9_0.2.x86_64", "rc": 1, "results": []}
  1. Check if the repositories configured in templates meet the ones defined in documentation, file rhsm.yml or another.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments