Description of problem: host upgrade with big jumps: 4.4.2 > 4.4 SP1 4.4.3 > 4.4 SP1 Version-Release number of selected component (if applicable): RHV Version 4.5.0.7-0.9.el8ev How reproducible: 100% Steps to Reproduce: 1. create old host in old cluster ( 4.4.2 in 4.4 ) 2. add 4.4 SP1 repos to host 3. try host upgrade 4. upgrade fails, if I check host and yum history it fails on network-scripts-openvswitch2.11 vs network-scripts-openvswitch2.15 conflict Actual results: host upgrade failed Expected results: host upgrade successed Additional info: Error: Transaction test error: file /etc/sysconfig/network-scripts/ifdown-ovs conflicts between attempted installs of network-scripts-openvswitch2.11-2.11.3-94.el8fdp.x86_64 and network-scripts-openvswitch2.15-2.15.0-101.el8fdp.x86_64 file /etc/sysconfig/network-scripts/ifup-ovs conflicts between attempted installs of network-scripts-openvswitch2.11-2.11.3-94.el8fdp.x86_64 and network-scripts-openvswitch2.15-2.15.0-101.el8fdp.x86_64
Hi Pavol, Is it blocking automation? upgrade flow?
For the time being the WA is to remove the network-scripts-openvswitch2.11 package and do the upgrade.
Adding Obsoletes to ovirt-openvswitch might be too strong, it would be better to uninstall network-scripts-openvswitch2.11 during host upgrade. Because of that moving to engine
There is variable 'ovirt_openvswitch_pre' in ansible that might be useful e.g. remove the package only if "ovirt_openvswitch_pre.version is version('2.11', '==')".
Hi Pavol, Is it blocking automation? upgrade flow? ========== Not in current state, I discovered it during manual try, automation for host upgrade, which will be blocked by this, is on the way, but as WA is simple I will implement WA to automation with bugzilla comment.
Host upgrade failed 4.4.2 > 4.5.1 Software Version:4.5.1.2-0.11.el8ev 2022-07-01 18:56:43 IDT - TASK [ovirt-host-upgrade : Install ovirt-host package if it isn't installed] *** 2022-07-01 18:57:13 IDT - { "uuid" : "09a5891a-ef4c-4660-a8c5-5940161924e2", "counter" : 148, "stdout" : "fatal: [HOST_FQDN]: FAILED! => {\"changed\": false, \"failures\": [], \"msg\": \"Unknown Error occurred: Transaction test error:\\n file /etc/sysconfig/network-scripts/ifdown-ovs from install of network-scripts-openvswitch2.15-2.15.0-109.el8fdp.x86_64 conflicts with file from package network-scripts-openvswitch2.11-2.11.3-66.el8fdp.x86_64\\n file /etc/sysconfig/network-scripts/ifup-ovs from install of network-scripts-openvswitch2.15-2.15.0-109.el8fdp.x86_64 conflicts with file from package network-scripts-openvswitch2.11-2.11.3-66.el8fdp.x86_64\\n\", \"rc\": 1, \"results\": []}", "start_line" : 143, "end_line" : 144, "runner_ident" : "cd0f39ae-6732-4c05-ba9a-ba76c3f2307d", "event" : "runner_on_failed", "pid" : 524082, "created" : "2022-07-01T15:57:12.976301", "parent_uuid" : "001a4aa0-0100-62f3-4f8c-000000000023", "event_data" : { "playbook" : "ovirt-host-upgrade.yml", "playbook_uuid" : "a0a6201f-9259-4ca0-ae1f-49840bfa97fc", "play" : "all", "play_uuid" : "001a4aa0-0100-62f3-4f8c-000000000006", "play_pattern" : "all", "task" : "Install ovirt-host package if it isn't installed", "task_uuid" : "001a4aa0-0100-62f3-4f8c-000000000023", "task_action" : "yum", "task_args" : "", "task_path" : "/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-upgrade/tasks/main.yml:11", "role" : "ovirt-host-upgrade", "host" : "HOST_FQDN", "remote_addr" : "HOST_IP", "res" : { "failures" : [ ], "results" : [ ], "rc" : 1, "msg" : "Unknown Error occurred: Transaction test error:\n file /etc/sysconfig/network-scripts/ifdown-ovs from install of network-scripts-openvswitch2.15-2.15.0-109.el8fdp.x86_64 conflicts with file from package network-scripts-openvswitch2.11-2.11.3-66.el8fdp.x86_64\n file /etc/sysconfig/network-scripts/ifup-ovs from install of network-scripts-openvswitch2.15-2.15.0-109.el8fdp.x86_64 conflicts with file from package network-scripts-openvswitch2.11-2.11.3-66.el8fdp.x86_64\n",
Could you please attach logs?
Provided whole environment to devel
Upgrade of host passed with: Installed Packages ovirt-engine.noarch 4.5.1.3-0.28.el8ev
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RHV Manager (ovirt-engine) [ovirt-4.5.1] security, bug fix and update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:5586