Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

OLVM (4.4.x) - ol8 based - nodes - updates failing (all of them) - due to Ansible-core/ansible conflict (possible solution)

morgan coxAug 30 2023 — edited Aug 30 2023

Hi.

Currently all our Oracle Linux8 OLVM nodes are not able to update - if i use the GUI (OLVM engine) and try to update any HV

I get a message like ‘Failed to upgrade Host olvm-node1 (User: user1@internal-authz).’

If I go to the cli and try a

# dnf update

I get

[root@olvm-node1 user1]# dnf update

Last metadata expiration check: 0:02:17 ago on Wed 30 Aug 2023 13:23:56 UTC.
Error:
Problem: package cockpit-ovirt-dashboard-0.15.1-1.0.2.el8.noarch requires ansible, but none of the providers can be installed
- package ansible-2.9.27-2.el8.noarch conflicts with ansible-core > 2.11.0 provided by ansible-core-2.14.2-3.0.1.el8.x86_64
- package ansible-core-2.14.2-3.0.1.el8.x86_64 obsoletes ansible < 2.10.0 provided by ansible-2.9.27-2.el8.noarch
- cannot install the best update candidate for package cockpit-ovirt-dashboard-0.15.1-1.0.2.el8.noarch
- cannot install the best update candidate for package ansible-2.9.27-2.el8.noarch
(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)

Just to confirm i have the following repos enabled

repo id repo name
ol8_UEKR6 Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)
ol8_UEKR7 Latest Unbreakable Enterprise Kernel Release 7 for Oracle Linux 8 (x86_64)
ol8_appstream Oracle Linux 8 Application Stream (x86_64)
ol8_baseos_latest Oracle Linux 8 BaseOS Latest (x86_64)
ol8_gluster_appstream Oracle Linux 8 Gluster Appstream (x86_64)
ol8_kvm_appstream Oracle Linux 8 KVM Application Stream (x86_64)
ovirt-4.4 Latest oVirt 4.4 Release (x86_64)
ovirt-4.4-extra oVirt 4.4 Extra (x86_64)

Which looks correct …

Possible solution :

I have found out if I exclude the ‘anisble-core’ package to dnf it looks like it would update ok

[root@olvm-node1 user1]# dnf update --exclude=ansible-core

Can anyone confirm if this would cause issues in future ?

Thanks

Comments
Post Details
Added on Aug 30 2023
1 comment
1,588 views