Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1397073

Summary: ovn-controller service does not start automatically at boot
Product: Red Hat Enterprise Linux 7 Reporter: Mor <mkalfon>
Component: openvswitchAssignee: Mark Michelson <mmichels>
Status: CLOSED CURRENTRELEASE QA Contact: qding
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: aloughla, atragler, fleitner, qding, wchadwic
Target Milestone: rc   
Target Release: 7.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openvswitch-2.6.1-1.git20161206.el7fdb Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-16 17:00:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mor 2016-11-21 14:25:07 UTC
Description of problem:
Ovn-controller systemd configuration file is missing "WantedBy" value (in [Install] section) to make it start at boot.

Version-Release number of selected component (if applicable):
openvswitch-ovn-host-2.6.90-1.fc24.x86_64

How reproducible:
100%

Steps to Reproduce:
1. systemctl enable ovn-controller
2. Reboot server.
3. systemctl status ovn-controller

Actual results:
Service does not start.

Expected results:
Service should start.

Additional info:
We fixed it by adding:
[Install]
WantedBy=multi-user.target
To the ovs-controller.service file.

Comment 1 Lance Richardson 2016-11-21 22:10:13 UTC
Good find, this also applies to the ovn-northd and ovn-controller-vtep
services.

Comment 2 Lance Richardson 2016-11-21 22:54:33 UTC
Patch posted upstream:

   https://patchwork.ozlabs.org/patch/697445/

Also noticed when testing that ovn-common rpm installation fails if
pacemaker has not been installed, posted a patch for that issue as
well:

   https://patchwork.ozlabs.org/patch/697444/

Comment 4 Lance Richardson 2016-11-22 16:26:44 UTC
Fix has been applied upstream to master and 2.6 branches.

Comment 5 Lance Richardson 2016-12-12 16:14:27 UTC
RPMs with fix available here:

    http://download-node-02.eng.bos.redhat.com/brewroot/packages/openvswitch/2.6.1/2.git20161206.el7fdb/

Comment 7 qding 2017-01-13 08:46:54 UTC
Verified with openvswitch-2.6.1-2.git20161206.el7fdb.x86_64
Steps as in Comment #0

Comment 9 Flavio Leitner 2018-02-16 17:00:43 UTC
Closing resolved bugs.