Bug ID 1171234
Summary WICKED, Teamed interface , for active-backup cannot set hwaddr-policy
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware x86-64
OS Linux
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee screening-team-bugs@suse.de
Reporter psarnack@yahoo.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

cannot set hwaddr_policy for active-backup teamed interface . 

example:
STARTMODE=auto
BOOTPROTO=static
IPADDR="192.168.0.20"
TEAM_RUNNER=activebackup
TEAM_AB_HWADDR_POLICY="by_active"

TEAM_PORT_DEVICE_0="eth0"
TEAM_PORT_DEVICE_1="eth1"

TEAM_LW_NAME=ethtool
TEAM_LW_ETHTOOL_DELAY_UP="10"
TEAM_LW_ETHTOOL_DELAY_DOWN="10"

event if hwaddrpolicy is set to "by_active" in config file , interface is set
to default "allsame" and and all teamed network interfaces share same mac
address. 

also following message appear in  the /var/log/messages: 
"wickedd-nanny[710]: ni_dbus_serialize_xml_dict: ignoring unknown dict element
"hwaddr_policy"

problem/solution:


update /usr/share/wicked/schema/team.xml

old: <hwaddr-policy     type="builtin-team-ab-hwaddr-policy" />
new: <hwaddr_policy     type="builtin-team-ab-hwaddr-policy" />

*note "hwaddr-policy" vs "hwaddr_policy"

after above changes works correctly.


You are receiving this mail because: