[ovs-discuss] systemd ovs-vswitchd starts too early

Benoît benoitne at gmail.com
Fri Jan 8 15:27:03 UTC 2016


it is using /etc/systemd/network
and to start ovs : 
/etc/systemd/system/multi-user.target.wants/ovs-vswitchd.service
[Unit]
Description    = Open vSwitch Daemon
Documentation  = man:ovs-vswitchd
Wants          = network.target
Before         = network.target
Requires       = ovsdb-server.service
After          = ovsdb-server.service

[Service]
ExecStartPre = /sbin/modprobe openvswitch
PIDFile = /run/openvswitch/ovs-vswitchd.pid
ExecStart = /usr/sbin/ovs-vswitchd 
--pidfile=/run/openvswitch/ovs-vswitchd.pid

[Install]
WantedBy       = multi-user.target


On 01/08/16 16:24, Guru Shetty wrote:
> I haven't used Archlinux before. Does it use /etc/network/interfaces 
> or does it use /etc/sysconfig/network-scripts/ifcfg-*?
>
> If it does use /etc/network/interfaces, I know a workaround.
>
> On 8 January 2016 at 07:15, Benoît <benoitne at gmail.com 
> <mailto:benoitne at gmail.com>> wrote:
>
>     Archlinux
>
>
>     On 01/08/16 16:15, Guru Shetty wrote:
>>     What OS is this:?
>>
>>     On 8 January 2016 at 04:52, Benoît <benoitne at gmail.com
>>     <mailto:benoitne at gmail.com>> wrote:
>>
>>         hi,
>>
>>         I have an issue where ovs-vswitchd is starting too early.
>>         I got a persistent name for an interface (pnic_wwan) but it
>>         is happening after ovs-vswitchd starts so it makes an error
>>         as it does'nt find the interface name!
>>
>>             Bridge vswitch_wwan
>>                 Port pnic_wwan
>>                     Interface pnic_wwan
>>                         error: "could not open network device
>>         pnic_wwan (No such device)"
>>
>>         journalctl -b | grep pnic_wwan
>>         Jan 08 13:47:56 master ovs-vswitchd[305]:
>>         2016-01-08T12:47:56Z|00018|bridge|WARN|could not open network
>>         device pnic_wwan (No such device)
>>         Jan 08 13:47:56 master ovs-vswitchd[305]:
>>         ovs|00018|bridge|WARN|could not open network device pnic_wwan
>>         (No such device)
>>         Jan 08 13:48:02 master kernel: qmi_wwan 1-7:1.8 pnic_wwan:
>>         renamed from wwan0
>>         Jan 08 13:48:02 master systemd-networkd[285]: wwan0: Renamed
>>         to pnic_wwan
>>
>>         i have tried to play with systemd (After, Requires...) but
>>         impossible to solve this issue..
>>
>>         Is there a way to do that?
>>         Many thanks for your advices
>>
>>
>>
>>         _______________________________________________
>>         discuss mailing list
>>         discuss at openvswitch.org <mailto:discuss at openvswitch.org>
>>         http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160108/bebba6a3/attachment-0002.html>


More information about the discuss mailing list