Bug 996804

Summary: openvswitch service is not started but the daemons are running
Product: [Fedora] Fedora Reporter: Flavio Leitner <fleitner>
Component: openvswitchAssignee: Flavio Leitner <fleitner>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 20CC: chrisw, fleitner, markmc, rkhan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-07 12:43:22 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 Flavio Leitner 2013-08-14 02:02:20 UTC
Description of problem:

After the fix for bz#818754, it's possible that a device with ONBOOT=yes initializes openvswitch-nonetwork which starts the daemons, but openvswitch service is left stopped.


Version-Release number of selected component (if applicable):
openvswitch-1.10.0-6.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Configure an OVS interface with ONBOOT=yes
2. Disable NM, enable network script
3. Reboot

Actual results:
The openvswitch service is stopped but the daemons started by openvswitch-nonetwork are running.

Expected results:
The openvswitch service should reflect the actual situation.

The following patch fixes the issue by changing -nonetwork service to start openvswitch service using 'Wants='. 

--- /usr/lib/systemd/system/openvswitch-nonetwork.service        2013-08-13 15:59:37.065366471 -0300
+++ /usr/lib/systemd/system/openvswitch-nonetwork.service       2013-08-13 22:37:35.561131489 -0300
@@ -2,6 +2,7 @@
 Description=Open vSwitch Internal Unit
 After=syslog.target
 PartOf=openvswitch.service
+Wants=openvswitch.service

 [Service]
 Type=oneshot

Comment 1 Fedora Update System 2013-08-14 16:58:49 UTC
openvswitch-1.10.0-7.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/openvswitch-1.10.0-7.fc19

Comment 2 Fedora Update System 2013-08-27 23:37:14 UTC
openvswitch-1.10.0-7.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora End Of Life 2013-09-16 17:06:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20