Bug 2090670
| Summary: | Host upgrade 4.4.[23] to 4.4 SP1 failed on network-scripts-openvswitch2.1x conflict | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Pavol Brilla <pbrilla> |
| Component: | ovirt-engine | Assignee: | Dana <delfassy> |
| Status: | CLOSED ERRATA | QA Contact: | Pavol Brilla <pbrilla> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.5.0 | CC: | amusil, apinnick, dfodor, emarcus, eraviv, mburman, mperina |
| Target Milestone: | ovirt-4.5.1-1 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.5.1.3 | Doc Type: | Bug Fix |
| Doc Text: |
The network-scripts-openvswitch2.11 package is now uninstalled during host upgrade to prevent conflicts with OVS 2.15.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-14 12:54:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pavol Brilla
2022-05-26 10:12:16 UTC
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 |