Description of problem: Setting a port of TYPE=OVSIntPort to use DHCP is ignored i.e. dhclient is not run for that interface ifup-ovs script appears to only handle DHCP on TYPE=OVSBridge . Why? How reproducible: 100% Steps to Reproduce: physical interface is 'p1p1' with config: DEVICE="p1p1" ONBOOT="yes" DEVICETYPE="ovs" TYPE="OVSPort" OVS_BRIDGE="ovsbr0" BOOTPROTO="none" HOTPLUG="no" bridge interface is 'ovsbr0' with config: DEVICE="ovsbr0" ONBOOT="yes" DEVICETYPE="ovs" TYPE="OVSBridge" BOOTPROTO="none" HOTPLUG="no" Internet ovs port is 'mgmt0' with config: DEVICE="mgmt0" ONBOOT="yes" DEVICETYPE="ovs" TYPE="OVSIntPort" OVSBOOTPROTO="dhcp" OVSDHCPINTERFACES="p1p1" OVS_BRIDGE="ovsbr0" HOTPLUG="no" Actual results: I run 'systemctl start network.service' which completes without error, but interface mgmt0 never receives an IP address. Process listing shows no 'dhclient' process running. Expected results: dhclient should be started and 'mgmt0' should receive an IP Additional info: If I run 'dhclient mgmt0' manually, then 'mgmt0' receives an IP address.
Created attachment 829364 [details] ifup-ovs with dhcp support for Internal Ports It's bug. I don't see a reason to not support it. Could you backup the original file at /etc/sysconfig/network-scripts/ifup-ovs and replace with the attached one for testing purposes? Thanks!
I've tested the attached ifup-ovs script and it works for me. Thanks!
Created attachment 849626 [details] Patch enabling DHCP support for internal ports I've found some issues while reviewing again the previous file. I came up another better patch which I will post upstream in a few minutes.
Upstream post: http://openvswitch.org/pipermail/dev/2014-January/035928.html
Patch accepted upstream.
openvswitch-2.0.0-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/openvswitch-2.0.0-4.fc20
openvswitch-2.0.0-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/openvswitch-2.0.0-4.fc19
Package openvswitch-2.0.0-4.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openvswitch-2.0.0-4.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1014/openvswitch-2.0.0-4.fc19 then log in and leave karma (feedback).
openvswitch-2.0.0-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
openvswitch-2.0.0-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.