[wicked-devel] ifup on macvlan does not start underlying device
Hi list
The following might be a non-issue, but I would still like to mention my observations. The reason being that my customer is mainly managing their complex network setup through their own management tools.
In testing a macvlan on top of a bond it appears that manually starting the macvlan interface with
# wicked ifup macvlan0
does not start the underlying device, it is associated to.
When starting the bond device itself, that one starts its slaves correctly as per below :
os131b:/etc/wicked/ifconfig # cat ens7.xml
<interface>
<name>ens7</name>
<control>
<link-detection>
<timeout>10</timeout>
<require-link/>
</link-detection>
</control>
<link/>
</interface>
os131b:/etc/wicked/ifconfig # cat ens8.xml
<interface>
<name>ens8</name>
<control>
<link-detection>
<timeout>10</timeout>
<require-link/>
</link-detection>
</control>
<link/>
</interface>
os131b:/etc/wicked/ifconfig # cat bond0.xml
<interface>
<name>bond0</name>
<control>
<link-detection>
<timeout>10</timeout>
<require-link/>
</link-detection>
</control>
<bond>
<mode>active-backup</mode>
<miimon>
<frequency>100</frequency>
<carrier>netif</carrier>
</miimon>
<slaves>
<slave>
<device>ens7</device>
</slave>
<slave>
<device>ens8</device>
</slave>
</slaves>
</bond>
<link/>
</interface>
os131b:/etc/wicked/ifconfig # ip l sh
1: lo:
2013-12-30T14:42:35.968078+01:00 linux-vr36 wickedd[562]: cannot send device-delete event for model "bond0" - no dbus device <<< 2013-12-30T14:43:19.379833+01:00 linux-vr36 kernel: [ 9433.464445] bonding: bond0 is being created... 2013-12-30T14:43:19.435791+01:00 linux-vr36 kernel: [ 9433.520436] device bond0 entered promiscuous mode 2013-12-30T14:43:19.435808+01:00 linux-vr36 kernel: [ 9433.520525] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready 2013-12-30T14:43:19.435501+01:00 linux-vr36 wickedd-dhcp4[595]: macvlan0: reconfig changes device type! d6 l0 2013-12-30T14:43:39.398381+01:00 linux-vr36 wicked: device macvlan0 failed: operation timed out 2013-12-30T14:43:39.399146+01:00 linux-vr36 wicked: device bond0 failed: operation timed out 2013-12-30T14:44:45.178972+01:00 linux-vr36 kernel: [ 9519.263529] device bond0 left promiscuous mode 2013-12-30T14:44:45.220664+01:00 linux-vr36 avahi-daemon[555]: Withdrawing workstation service for macvlan0.
2013-12-30T14:44:45.238129+01:00 linux-vr36 wickedd[562]: cannot send device-delete event for model "macvlan0" - no dbus device <<<
Please let me know if this kind of issues are considered spamming of the mailing list. Thanks. Best regards Andreas Taschner Dedicated Support Engineer SUSE -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
Am 30.12.2013 15:35, schrieb Andreas Taschner:
Hi list Hi!
In testing a macvlan on top of a bond it appears that manually starting the macvlan interface with # wicked ifup macvlan0 does not start the underlying device, it is associated to.
Yes, this is not finished yet / needs to be tweaked as needed.
Currently the requirement to do it is basically commented out
in schema/macvlan.xml:
<device type="string">
participants (2)
-
Andreas Taschner
-
Marius Tomaschewski