Bug 1072378
Summary: | Failure to configure OVS (openvswitch) interfaces at boot / failed network restarts | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Otel <florian.otel> |
Component: | openvswitch | Assignee: | Flavio Leitner <fleitner> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | chrisw, dave.j.tucker, fleitner, florian.otel, markmc, tgraf |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-24 16:58:10 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
Florian Otel
2014-03-04 13:27:54 UTC
That is happening because network.service is not enabled by default. Therefore it will fail to configure the OVS bridge at every boot unless you enable it manually. Can you enable network.service and see if OVS works after that? The systemd command would be: # systemctl enable network.service It will spill some messages out, but this should be ok: # systemctl is-enabled network.service network.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig network --level=5 enabled Or you can use chkconfig: # chkconfig network on # systemctl is-enabled network.service network.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig network --level=5 enabled # Thanks! *** Bug 1072392 has been marked as a duplicate of this bug. *** In my case (1072392), it should be noted that network.service was actually enabled and while the bridge was created, no IP address was assigned. I used the same configuration in Fedora 19, openvswitch-2.0.0-4.fc19 and everything works as expected. (In reply to Dave Tucker from comment #3) > In my case (1072392), it should be noted that network.service was actually > enabled and while the bridge was created, no IP address was assigned. Ok, could you do another test? try to ifdown the ovsbr before reboot and see if it works. The command 'ifdown <bridge>' will delete the bridge from ovsdb which will allow the interface to come up correctly with static IP address at boot time. What I just said is a known bug, see bz#1072574 > I used the same configuration in Fedora 19, openvswitch-2.0.0-4.fc19 and > everything works as expected. Maybe Fedora 19 is stopping the network service before stopping openvswitch, so there is no bridge in the ovsdb when the system is booting again. Thanks! (In reply to Flavio Leitner from comment #4) > Ok, could you do another test? try to ifdown the ovsbr before reboot and see > if it works. The command 'ifdown <bridge>' will delete the bridge from > ovsdb which will allow the interface to come up correctly with static IP > address at boot time. What I just said is a known bug, see bz#1072574 That fixed it for one reboot. When rebooting a second time, the IP address disappears again. The fix in bz#1072574 works for me though. (In reply to Dave Tucker from comment #5) > > Ok, could you do another test? try to ifdown the ovsbr before reboot and see > > if it works. The command 'ifdown <bridge>' will delete the bridge from > > ovsdb which will allow the interface to come up correctly with static IP > > address at boot time. What I just said is a known bug, see bz#1072574 > > That fixed it for one reboot. When rebooting a second time, the IP address > disappears again. Yes, because the bridge is back into ovsdb, so you would have to run ifdown every time before rebooting. :-) > The fix in bz#1072574 works for me though. That's good. I believe that one is the final fix. So, I will re-open your case again and close as dup of that one instead. Thanks for testing it! Florian, Could you tell me if enabling the network.service as described in comment#1 helps? I think comment#2 address the issue, so I am closing this as NotABug. Feel free to re-open if needed. Thanks The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |