Bug 1072392 - IP Address is not assigned to an OVS Bridge by if-cfg scripts
Summary: IP Address is not assigned to an OVS Bridge by if-cfg scripts
Keywords:
Status: CLOSED DUPLICATE of bug 1072574
Alias: None
Product: Fedora
Classification: Fedora
Component: openvswitch
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Flavio Leitner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-04 13:51 UTC by Dave Tucker
Modified: 2014-03-12 19:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-11 18:14:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1072378 0 unspecified CLOSED Failure to configure OVS (openvswitch) interfaces at boot / failed network restarts 2023-09-14 02:04:27 UTC

Internal Links: 1072378

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 ***


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