Bug 1704826 - [Upgrade][rhv-openvswitch] yum update stops OVN controller service during upgrade from 4.2 to 4.3
Summary: [Upgrade][rhv-openvswitch] yum update stops OVN controller service during upg...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhv-openvswitch
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.3.4
: ---
Assignee: Miguel Duarte Barroso
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-30 15:18 UTC by Miguel Duarte Barroso
Modified: 2019-06-20 14:48 UTC (History)
5 users (show)

Fixed In Version: rhv-openvswitch-2.10-6
Doc Type: Bug Fix
Doc Text:
Previously, when upgrading the Open Virtual Network (OVN), the status of the ovn-controller service was not saved, and consequently, the service did not start after the upgrade. The ovn-controller service is now included in the list of tracked services, and starts after the upgrade.
Clone Of:
Environment:
Last Closed: 2019-06-20 14:48:09 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:1562 0 None None None 2019-06-20 14:48:09 UTC

Description Miguel Duarte Barroso 2019-04-30 15:18:25 UTC
Description of problem:
After upgrade of an ovirt host from 4.2 to 4.3, the ovn-controller service is stopped, which results in networking issues.

Version-Release number of selected component (if applicable):
rhv-openvswitch-2.10-5.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. upgrade ovirt node from 4.2 to 4.3
2. check the status of the ovn-controller service (systemctl status ovn-controller)

Actual results:
inactive


Expected results:
active

Additional info:
(re)starting the ovn-controller service worked as expected

Comment 2 Dan Kenigsberg 2019-05-13 08:48:34 UTC
http://pkgs.devel.redhat.com/cgit/rpms/rhv-openvswitch/commit/?h=rhevm-4.3-rhel-7&id=c70a592369fd786937d5559c116f289fdee3d396 adds ovn-controller to the list of tracked services.

Comment 3 Michael Burman 2019-05-15 12:32:01 UTC
(In reply to Dan Kenigsberg from comment #2)
> http://pkgs.devel.redhat.com/cgit/rpms/rhv-openvswitch/commit/?h=rhevm-4.3-
> rhel-7&id=c70a592369fd786937d5559c116f289fdee3d396 adds ovn-controller to
> the list of tracked services.

Please note that the link you provided is to 2.10-6
rhv-python-openvswitch.noarch 1:2.10-6.el7ev
and not 2.11

Tested upgrade flow 4.2(2.9) > 4.3(2.10)
The ovn-controller is alive after upgrade

Comment 5 Michael Burman 2019-05-19 11:18:01 UTC
Verified on - rhv-openvswitch-2.10-6.el7ev.noarch
rhv-openvswitch-ovn-host-2.10-6.el7ev.noarch
rhv-openvswitch-ovn-common-2.10-6.el7ev.noarch
rhv-python-openvswitch-2.10-6.el7ev.noarch

upgrade from  rhv-release-4.2.8-11-001.noarch >> rhv-release-4.3.4-1-001.noarch
ovs 2.9 >> ovs 2.10-6 


ovn-controller is restarted and alive after update

● ovn-controller.service - OVN controller daemon
   Loaded: loaded (/usr/lib/systemd/system/ovn-controller.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2019-05-19 14:09:25 IDT; 1min 3s ago
  Process: 23058 ExecStart=/usr/share/openvswitch/scripts/ovn-ctl --no-monitor start_controller $OVN_CONTROLLER_OPTS (code=exited, status=0/SUCCESS)
 Main PID: 23088 (ovn-controller)
    Tasks: 3
   CGroup: /system.slice/ovn-controller.service

Comment 7 errata-xmlrpc 2019-06-20 14:48:09 UTC
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, 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-2019:1562


Note You need to log in before you can comment on or make changes to this bug.