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 1464867 - ovn-controller is not configured to start at boot
Summary: ovn-controller is not configured to start at boot
Keywords:
Status: CLOSED DUPLICATE of bug 1466169
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openvswitch
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Lance Richardson
QA Contact: ovs-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-26 06:25 UTC by Mor
Modified: 2017-06-29 08:16 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-29 08:16:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mor 2017-06-26 06:25:37 UTC
Description of problem:
ovn-controller service is not shipped as enabled (to start at boot), by thus can cause a VM to fail if it has OVN network attached to it after a reboot to the hypervisor.

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

How reproducible:
100%

Steps to Reproduce:
1. on hypervisor, run yum install openvswitch-ovn-host
2. systemctl status ovn-controller

Actual results:
Loaded: loaded (/usr/lib/systemd/system/ovn-controller.service; disabled; vendor preset: disabled)

Expected results:
ovn-controller should be enabled by the RPM installation.

Comment 2 Lance Richardson 2017-06-26 12:25:31 UTC
My understanding of packaging guidelines is that only services that do not
require configuration to be functional may be enabled by default. Since
ovn-controller requires configuration in order to be functional, it should
not be enabled by default. See e.g.:

    https://fedoraproject.org/wiki/Packaging:DefaultServices

Your application must already be doing the equivalent of "systemctl start
ovn-controller" in order to use this service, is there a reason it cannot
also do "systemctl enable ovn-controller"?

Thanks,

  Lance

Comment 3 Mor 2017-06-26 13:01:09 UTC
Dan, could you answer this?  On hypervisors - can we change the code of the hook(s) to start ovn-controller service?

Currently, the only thing that triggers ovn-controller start is vdsm-config, which is only used only once during setup of the environment.

Comment 4 Flavio Leitner 2017-06-28 12:24:43 UTC
We also don't enable OVS by default.

Comment 5 Dan Kenigsberg 2017-06-28 20:38:25 UTC
I agreed with Lance. Services should not be enabled by default, without a very good reason.

The bug should have been filed on ovirt-provider-ovn-driver.

Comment 6 Mor 2017-06-29 08:16:24 UTC

*** This bug has been marked as a duplicate of bug 1466169 ***


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