[RHV] The engine-setup fails with "ansible-core not found in enabled" message

Solution Verified - Updated -

Issue

The engine-setup fails with following error

2023-09-12 08:37:41,295+0300 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:194 DNF Closing transaction with commit
2023-09-12 08:37:41,295+0300 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages packages.verbose:194 DNF Calling _plugins._unload
2023-09-12 08:37:41,363+0300 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 No update for Setup found
2023-09-12 08:37:41,363+0300 DEBUG otopi.plugins.otopi.dialog.human human.queryString:174 query OVESETUP_RPMDISTRO_REQUIRE_ROLLBACK
2023-09-12 08:37:41,364+0300 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Setup will not be able to rollback new packages in case of a failure, because the following installed packages were not found in enabled
2023-09-12 08:37:41,364+0300 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 repositories:
2023-09-12 08:37:41,364+0300 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND
2023-09-12 08:37:41,364+0300 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND             ansible-core-2.14.2-3.el8.x86_64
2023-09-12 08:37:41,364+0300 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Do you want to abort Setup? (Yes, No) [Yes]:
2023-09-12 08:38:09,281+0300 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine-common/distro-rpm/packages.py", line 413, in _customization
    _('Package rollback information is unavailable')
RuntimeError: Package rollback information is unavailable

Following ansible packages are installed

ansible-collection-ansible-netcommon-2.2.0-3.2.el8ev.noarch Tue Sep  6 14:30:33 2022
ansible-collection-ansible-posix-1.3.0-1.2.el8ev.noarch     Tue Sep  6 14:30:33 2022
ansible-collection-ansible-utils-2.3.0-2.2.el8ev.noarch     Tue Sep  6 14:30:33 2022
ansible-core-2.14.2-3.el8.x86_64                            Wed Jun 21 15:50:06 2023
ansible-runner-2.1.3-1.el8ev.noarch                         Tue Sep  6 14:30:01 2022
ovirt-ansible-collection-2.4.2-1.el8ev.noarch               Wed Jun 21 15:50:09 2023
python38-anible-runner-2.1.3-1.el8ev.noarch                Tue Sep  6 14:30:01 2022

Environment

  • Red Hat Virtualization 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content