Bug 1072392

Summary: IP Address is not assigned to an OVS Bridge by if-cfg scripts
Product: [Fedora] Fedora Reporter: Dave Tucker <dave.j.tucker>
Component: openvswitchAssignee: Flavio Leitner <fleitner>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: chrisw, fleitner, markmc, tgraf
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-11 18:14:41 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 Dave Tucker 2014-03-04 13:51:12 UTC
Description of problem:

When using the if-cfg example here...
http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=rhel/README.RHEL;h=cb6ab88d5b44e4c57008c0f590543f19d1d22c3b;hb=HEAD

...to create a bridge with a static IP address and to bind a physical port to the bridge, the IP address is NOT assigned on reboot.

Running "sudo systemctl restart network.service" after reboot is a workaround, but the IP address *should* be assigned on reboot.


Version-Release number of selected component (if applicable):

Open vSwitch 2.0.0 4.fc20


How reproducible:

Consistently reproducible.

Steps to Reproduce:
1. Disable NetworkManager
2. Enable network.service
3. Create the following in /etc/sysconfig/network-scripts/

    # ifcfg-ovsbr0
    DEVICE=ovsbr0
    ONBOOT=yes
    DEVICETYPE=ovs
    TYPE=OVSBridge
    BOOTPROTO=static
    IPV6INIT=no
    DELAY=0
    IPADDR=192.168.1.10
    NETMASK=255.255.255.0
    GATEWAY=192.168.1.254
    HOTPLUG=no

    # ifcfg-eth0
    DEVICE=eth0
    ONBOOT=yes
    DEVICETYPE=ovs
    TYPE=OVSPort
    OVS_BRIDGE=ovsbr0
    BOOTPROTO=none
    HOTPLUG=no

4. Reboot

Actual results:

No IP address assigned to ovsbr0

Expected results:

IP address 192.168.1.10 should be assigned to ovsbr0

Additional info:

Comment 2 Flavio Leitner 2014-03-11 18:14:15 UTC
This is a DUP of bz#1072378

Comment 3 Flavio Leitner 2014-03-11 18:14:41 UTC

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

Comment 4 Flavio Leitner 2014-03-12 19:01:17 UTC

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