[wicked-devel] LLADDR in ifcfg file causes call to changeDevice() to fail
Hi, I am attempting to set the LLADDR in my ifcfg file, but it causes an error on the call to org.opensuse.Network.Ethernet.changeDevice() method. This error looks to be caused by org.freedesktop.DBus.Error.Failed, so I'm not sure if this is even the right place to be asking. I am running wicked 0.6.11 and SLES12. Please see below for the output (IPs were removed). Note that the mac address for the eth0 interface that is not active is identical to the LLADDR I'm trying to set, and changing it does not affect anything. Thanks for any help. sles12:~ # cat /etc/os-release NAME="SLES" VERSION="12" sles12:~ # wicked --version wicked 0.6.11 sles12:~ # ifconfig -a | grep -A5 "eth0" eth0 Link encap:Ethernet HWaddr FA:16:3E:88:1B:5A BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:6144 errors:0 dropped:0 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:403409 (393.9 Kb) TX bytes:1118 (1.0 Kb) sles12:~ # cat /etc/sysconfig/network/ifcfg-eth0 IPADDR=xxx.xxx.xxx.xxx LLADDR=fa:16:3e:88:1b:5a BROADCAST=xxx.xxx.xxx.xxx NM_CONTROLLED=no NETMASK=255.255.248.0 BOOTPROTO=static USERCONTROL=yes ETHTOOL_OPTIONS= STARTMODE=auto sles12:~ # ifup eth0 wicked: Reading config file /etc/wicked/client.xml wicked: Reading config file /etc/wicked/common.xml wicked: __ni_config_parse_ifconfig_source: Adding ifconfig firmware: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig compat: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig wicked:/etc/wicked/ifconfig wicked: Executing: /usr/sbin/wicked --debug all ifup eth0 wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/wicked.xml) wicked: trying to include /usr/share/wicked/schema/types.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/types.xml) wicked: trying to include /usr/share/wicked/schema/constants.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/constants.xml) wicked: trying to include /usr/share/wicked/schema/protocol.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/protocol.xml) wicked: trying to include /usr/share/wicked/schema/ethernet.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/ethernet.xml) wicked: trying to include /usr/share/wicked/schema/vlan.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/vlan.xml) wicked: trying to include /usr/share/wicked/schema/macvlan.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/macvlan.xml) wicked: trying to include /usr/share/wicked/schema/dummy.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/dummy.xml) wicked: trying to include /usr/share/wicked/schema/bonding.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/bonding.xml) wicked: trying to include /usr/share/wicked/schema/bridge.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/bridge.xml) wicked: trying to include /usr/share/wicked/schema/infiniband.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/infiniband.xml) wicked: trying to include /usr/share/wicked/schema/interface.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/interface.xml) wicked: trying to include /usr/share/wicked/schema/wireless.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/wireless.xml) wicked: trying to include /usr/share/wicked/schema/tuntap.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/tuntap.xml) wicked: trying to include /usr/share/wicked/schema/sit.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/sit.xml) wicked: trying to include /usr/share/wicked/schema/ipip.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/ipip.xml) wicked: trying to include /usr/share/wicked/schema/gre.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/gre.xml) wicked: trying to include /usr/share/wicked/schema/ppp.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/ppp.xml) wicked: trying to include /usr/share/wicked/schema/firewall.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/firewall.xml) wicked: trying to include /usr/share/wicked/schema/addrconf.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/addrconf.xml) wicked: trying to include /usr/share/wicked/schema/lldp.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/lldp.xml) wicked: ni_dbus_xml_register_services(scope=dbus) wicked: register dbus service description org.opensuse.Network.ManagedInterface wicked: register dbus service description org.opensuse.Network.PPP wicked: register dbus service description org.opensuse.Network.PPP.Factory wicked: register dbus service description org.opensuse.Network.PPPoE.Factory wicked: register dbus service description org.opensuse.Network.Firewall wicked: register dbus service description org.opensuse.Network.Addrconf wicked: ni_objectmodel_bind_extensions() wicked: ni_dbus_client_open(bus_type=(null), bus_name=org.opensuse.Network) wicked: ni_dbus_connection_open(bus=system, name=) wicked: __ni_dbus_add_watch(0x1000e3d5620, connection=0x1000e376ea0, fd=4, reuse sock=(nil)) wicked: __ni_dbus_add_watch(0x1000e376600, connection=0x1000e376ea0, fd=4, reuse sock=0x1000e3dc2f0) wicked: created /org/opensuse/Network/Interface as child of /org/opensuse/Network, class netif-list wicked: created /org/opensuse/Network/Interface/1 as child of /org/opensuse/Network/Interface, class <anonymous> wicked: created /org/opensuse/Network/Interface/2 as child of /org/opensuse/Network/Interface, class <anonymous> wicked: /org/opensuse/Network/Interface/2: specializing object as a netif-ethernet wicked: received new device lo (/org/opensuse/Network/Interface/1) wicked: lo: refresh <client-state> control: persistent=false, usercontrol=false wicked: lo: refresh <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-lo, uuid=7637931e-73b5-57df-99ac-16ae626db2f8, owner-uid=4294967295 wicked: received new device eth0 (/org/opensuse/Network/Interface/2) wicked: eth0: refresh <client-state> control: persistent=false, usercontrol=true wicked: eth0: refresh <client-state> config: origin=, uuid=, owner-uid=4294967295 wicked: lo: changed state none -> device-exists wicked: eth0: changed state none -> device-exists wicked: trying to discover netif config via firmware service "ibft" wicked: ni_netconfig_firmware_discovery: buffer has 0 bytes wicked: ni_ifconfig_read_firmware: location: firmware:, line: 0 wicked: ni_sysconfig_read(/etc/sysconfig/network/config) wicked: ni_sysconfig_read(/etc/sysconfig/network/dhcp) wicked: ni_suse_read_routes(/etc/sysconfig/network/routes) wicked: Parsed route: ipv4 0.0.0.0/0 via xxx.xxx.xxx.xxx dev #0 type unicast table main scope universe protocol boot wicked: Reading sysctl file '/etc/sysctl.conf' wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-lo) wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-eth0) wicked: Assigned route to eth0: ipv4 0.0.0.0/0 via xxx.xxx.xxx.xxx dev eth0 type unicast table main scope universe protocol boot wicked: ni_compat_generate_interfaces: location: compat:/etc/sysconfig/network/ifcfg-lo, line: 0 wicked: ni_compat_generate_interfaces: location: compat:/etc/sysconfig/network/ifcfg-eth0, line: 0 wicked: No valid configuration files found at /etc/wicked/ifconfig wicked: wait 30 seconds for interfaces wicked: Device hierarchy structure: wicked: lo wicked: eth0 wicked: eth0: target state min=network-up max=max wicked: eth0: set up FSM from device-down -> network-up wicked: device-down -> device-exists: newDevice() wicked: device-exists -> device-ready: waitDeviceReady() wicked: device-ready -> device-up: changeDevice() wicked: device-up -> protocols-up: changeProtocol() wicked: protocols-up -> firewall-up: firewallUp() wicked: firewall-up -> link-up: linkUp() wicked: link-up -> link-authenticated: login() wicked: link-authenticated -> lldp-up: lldpUp() wicked: lldp-up -> network-up: requestLease() wicked: eth0: binding dbus calls to FSM transitions wicked: org.opensuse.Network.Interface waitDeviceReady no config in interface document wicked: org.opensuse.Network.Ethernet changeDevice mapped to <ethernet> @<orphan xml node> wicked: org.opensuse.Network.Protocol.IPv4 changeProtocol mapped to <ipv4> @<orphan xml node> wicked: org.opensuse.Network.Protocol.IPv6 changeProtocol mapped to <ipv6> @<orphan xml node> wicked: org.opensuse.Network.Firewall firewallUp no config in interface document wicked: org.opensuse.Network.Interface linkUp mapped to <link> @<orphan xml node> wicked: org.opensuse.Network.LLDP lldpUp no config in interface document wicked: org.opensuse.Network.Addrconf.ipv4.static requestLease mapped to <ipv4:static> @<orphan xml node> wicked: org.opensuse.Network.Addrconf.ipv6.static requestLease no config in interface document; skipping call wicked: org.opensuse.Network.Addrconf.ipv4.dhcp requestLease no config in interface document; skipping call wicked: org.opensuse.Network.Addrconf.ipv6.dhcp requestLease no config in interface document; skipping call wicked: org.opensuse.Network.Addrconf.ipv4.auto requestLease no config in interface document; skipping call wicked: eth0: current state=device-down target state=network-up wicked: marked 1 interfaces wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=clearEventFilters) wicked: eth0: state=device-down want=network-up, trying to transition to device-exists wicked: eth0: changed state device-down -> device-exists wicked: eth0: successfully transitioned from device-down to device-exists wicked: eth0: state=device-exists want=network-up, trying to transition to device-ready wicked: eth0: calling org.opensuse.Network.Interface.waitDeviceReady() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=waitDeviceReady) wicked: eth0: changed state device-exists -> device-ready wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientControl) wicked: eth0: update <client-state> control: persistent=false, usercontrol=true wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientConfig) wicked: eth0: update <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-eth0, uuid=7839409b-6f15-5f06-88a9-76282c872311, owner-uid=4294967295 wicked: eth0: successfully transitioned from device-exists to device-ready wicked: eth0: state=device-ready want=network-up, trying to transition to device-up wicked: eth0: calling org.opensuse.Network.Ethernet.changeDevice() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Ethernet, method=changeDevice) wicked: dbus error reply = org.freedesktop.DBus.Error.Failed (failed to set up ethernet device) wicked: ni_ifworker_error_handler(org.freedesktop.DBus.Error.Failed, failed to set up ethernet device) wicked: unable to map DBus error org.freedesktop.DBus.Error.Failed, return GENERAL_FAILURE wicked: device eth0 failed: call to org.opensuse.Network.Ethernet.changeDevice() failed: General failure wicked: waiting for 0 devices to become ready (0 explicitly requested) wicked: eth0: changed state none -> device-exists, still waiting for event eth0 device-not-running wicked: Exit with status: 158 ### LLADDR commented out in the ifcfg file ### sles12:~ # cat /etc/sysconfig/network/ifcfg-eth0 IPADDR=xxx.xxx.xxx.xxx #LLADDR=fa:16:3e:88:1b:5a BROADCAST=xxx.xxx.xxx.xxx NM_CONTROLLED=no NETMASK=255.255.248.0 BOOTPROTO=static USERCONTROL=yes ETHTOOL_OPTIONS= STARTMODE=auto sles12:~ # ifup eth0 wicked: Reading config file /etc/wicked/client.xml wicked: Reading config file /etc/wicked/common.xml wicked: __ni_config_parse_ifconfig_source: Adding ifconfig firmware: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig compat: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig wicked:/etc/wicked/ifconfig wicked: Executing: /usr/sbin/wicked --debug all ifup eth0 wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/wicked.xml) wicked: trying to include /usr/share/wicked/schema/types.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/types.xml) wicked: trying to include /usr/share/wicked/schema/constants.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/constants.xml) wicked: trying to include /usr/share/wicked/schema/protocol.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/protocol.xml) wicked: trying to include /usr/share/wicked/schema/ethernet.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/ethernet.xml) wicked: trying to include /usr/share/wicked/schema/vlan.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/vlan.xml) wicked: trying to include /usr/share/wicked/schema/macvlan.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/macvlan.xml) wicked: trying to include /usr/share/wicked/schema/dummy.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/dummy.xml) wicked: trying to include /usr/share/wicked/schema/bonding.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/bonding.xml) wicked: trying to include /usr/share/wicked/schema/bridge.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/bridge.xml) wicked: trying to include /usr/share/wicked/schema/infiniband.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/infiniband.xml) wicked: trying to include /usr/share/wicked/schema/interface.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/interface.xml) wicked: trying to include /usr/share/wicked/schema/wireless.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/wireless.xml) wicked: trying to include /usr/share/wicked/schema/tuntap.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/tuntap.xml) wicked: trying to include /usr/share/wicked/schema/sit.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/sit.xml) wicked: trying to include /usr/share/wicked/schema/ipip.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/ipip.xml) wicked: trying to include /usr/share/wicked/schema/gre.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/gre.xml) wicked: trying to include /usr/share/wicked/schema/ppp.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/ppp.xml) wicked: trying to include /usr/share/wicked/schema/firewall.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/firewall.xml) wicked: trying to include /usr/share/wicked/schema/addrconf.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/addrconf.xml) wicked: trying to include /usr/share/wicked/schema/lldp.xml wicked: ni_xs_process_schema_file(filename=/usr/share/wicked/schema/lldp.xml) wicked: ni_dbus_xml_register_services(scope=dbus) wicked: register dbus service description org.opensuse.Network.ManagedInterface wicked: register dbus service description org.opensuse.Network.PPP wicked: register dbus service description org.opensuse.Network.PPP.Factory wicked: register dbus service description org.opensuse.Network.PPPoE.Factory wicked: register dbus service description org.opensuse.Network.Firewall wicked: register dbus service description org.opensuse.Network.Addrconf wicked: ni_objectmodel_bind_extensions() wicked: ni_dbus_client_open(bus_type=(null), bus_name=org.opensuse.Network) wicked: ni_dbus_connection_open(bus=system, name=) wicked: __ni_dbus_add_watch(0x1003de25620, connection=0x1003ddc6ea0, fd=4, reuse sock=(nil)) wicked: __ni_dbus_add_watch(0x1003ddc6600, connection=0x1003ddc6ea0, fd=4, reuse sock=0x1003de2c2f0) wicked: created /org/opensuse/Network/Interface as child of /org/opensuse/Network, class netif-list wicked: created /org/opensuse/Network/Interface/1 as child of /org/opensuse/Network/Interface, class <anonymous> wicked: created /org/opensuse/Network/Interface/2 as child of /org/opensuse/Network/Interface, class <anonymous> wicked: /org/opensuse/Network/Interface/2: specializing object as a netif-ethernet wicked: received new device lo (/org/opensuse/Network/Interface/1) wicked: lo: refresh <client-state> control: persistent=false, usercontrol=false wicked: lo: refresh <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-lo, uuid=7637931e-73b5-57df-99ac-16ae626db2f8, owner-uid=4294967295 wicked: received new device eth0 (/org/opensuse/Network/Interface/2) wicked: eth0: refresh <client-state> control: persistent=false, usercontrol=true wicked: eth0: refresh <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-eth0, uuid=7839409b-6f15-5f06-88a9-76282c872311, owner-uid=4294967295 wicked: lo: changed state none -> device-exists wicked: eth0: changed state none -> device-exists wicked: trying to discover netif config via firmware service "ibft" wicked: ni_netconfig_firmware_discovery: buffer has 0 bytes wicked: ni_ifconfig_read_firmware: location: firmware:, line: 0 wicked: ni_sysconfig_read(/etc/sysconfig/network/config) wicked: ni_sysconfig_read(/etc/sysconfig/network/dhcp) wicked: ni_suse_read_routes(/etc/sysconfig/network/routes) wicked: Parsed route: ipv4 0.0.0.0/0 via xxx.xxx.xxx.xxx dev #0 type unicast table main scope universe protocol boot wicked: Reading sysctl file '/etc/sysctl.conf' wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-lo) wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-eth0) wicked: Assigned route to eth0: ipv4 0.0.0.0/0 via xxx.xxx.xxx.xxx dev eth0 type unicast table main scope universe protocol boot wicked: ni_compat_generate_interfaces: location: compat:/etc/sysconfig/network/ifcfg-lo, line: 0 wicked: ni_compat_generate_interfaces: location: compat:/etc/sysconfig/network/ifcfg-eth0, line: 0 wicked: No valid configuration files found at /etc/wicked/ifconfig wicked: wait 30 seconds for interfaces wicked: Device hierarchy structure: wicked: lo wicked: eth0 wicked: eth0: target state min=network-up max=max wicked: eth0: set up FSM from device-down -> network-up wicked: device-down -> device-exists: newDevice() wicked: device-exists -> device-ready: waitDeviceReady() wicked: device-ready -> device-up: changeDevice() wicked: device-up -> protocols-up: changeProtocol() wicked: protocols-up -> firewall-up: firewallUp() wicked: firewall-up -> link-up: linkUp() wicked: link-up -> link-authenticated: login() wicked: link-authenticated -> lldp-up: lldpUp() wicked: lldp-up -> network-up: requestLease() wicked: eth0: binding dbus calls to FSM transitions wicked: org.opensuse.Network.Interface waitDeviceReady no config in interface document wicked: org.opensuse.Network.Ethernet changeDevice no config in interface document; skipping call wicked: org.opensuse.Network.Protocol.IPv4 changeProtocol mapped to <ipv4> @<orphan xml node> wicked: org.opensuse.Network.Protocol.IPv6 changeProtocol mapped to <ipv6> @<orphan xml node> wicked: org.opensuse.Network.Firewall firewallUp no config in interface document wicked: org.opensuse.Network.Interface linkUp mapped to <link> @<orphan xml node> wicked: org.opensuse.Network.LLDP lldpUp no config in interface document wicked: org.opensuse.Network.Addrconf.ipv4.static requestLease mapped to <ipv4:static> @<orphan xml node> wicked: org.opensuse.Network.Addrconf.ipv6.static requestLease no config in interface document; skipping call wicked: org.opensuse.Network.Addrconf.ipv4.dhcp requestLease no config in interface document; skipping call wicked: org.opensuse.Network.Addrconf.ipv6.dhcp requestLease no config in interface document; skipping call wicked: org.opensuse.Network.Addrconf.ipv4.auto requestLease no config in interface document; skipping call wicked: eth0: current state=device-down target state=network-up wicked: marked 1 interfaces wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=clearEventFilters) wicked: eth0: state=device-down want=network-up, trying to transition to device-exists wicked: eth0: changed state device-down -> device-exists wicked: eth0: successfully transitioned from device-down to device-exists wicked: eth0: state=device-exists want=network-up, trying to transition to device-ready wicked: eth0: calling org.opensuse.Network.Interface.waitDeviceReady() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=waitDeviceReady) wicked: eth0: changed state device-exists -> device-ready wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientControl) wicked: eth0: update <client-state> control: persistent=false, usercontrol=true wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientConfig) wicked: eth0: update <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-eth0, uuid=d69745fe-b359-54d2-9e80-cbfd62a6b2b8, owner-uid=4294967295 wicked: eth0: successfully transitioned from device-exists to device-ready wicked: eth0: state=device-ready want=network-up, trying to transition to device-up wicked: eth0: changed state device-ready -> device-up wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientControl) wicked: eth0: update <client-state> control: persistent=false, usercontrol=true wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientConfig) wicked: eth0: update <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-eth0, uuid=d69745fe-b359-54d2-9e80-cbfd62a6b2b8, owner-uid=4294967295 wicked: eth0: successfully transitioned from device-ready to device-up wicked: eth0: state=device-up want=network-up, trying to transition to protocols-up wicked: eth0: calling org.opensuse.Network.Protocol.IPv4.changeProtocol() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Protocol.IPv4, method=changeProtocol) wicked: eth0: calling org.opensuse.Network.Protocol.IPv6.changeProtocol() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Protocol.IPv6, method=changeProtocol) wicked: eth0: changed state device-up -> protocols-up wicked: eth0: successfully transitioned from device-up to protocols-up wicked: eth0: state=protocols-up want=network-up, trying to transition to firewall-up wicked: eth0: calling org.opensuse.Network.Firewall.firewallUp() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Firewall, method=firewallUp) wicked: eth0: changed state protocols-up -> firewall-up wicked: eth0: successfully transitioned from protocols-up to firewall-up wicked: eth0: state=firewall-up want=network-up, trying to transition to link-up wicked: eth0: calling org.opensuse.Network.Interface.linkUp() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=linkUp) wicked: interface_state_change_signal: got signal deviceUp from /org/opensuse/Network/Interface/2; event uuid=<> wicked: interface_state_change_signal: got signal linkUp from /org/opensuse/Network/Interface/2; event uuid=44653354-4555-0700-9603-00000f000000 wicked: eth0: changed state firewall-up -> link-up, resuming activity wicked: interface_state_change_signal: got signal linkUp from /org/opensuse/Network/Interface/2; event uuid=<> wicked: interface_state_change_signal: got signal networkUp from /org/opensuse/Network/Interface/2; event uuid=<> wicked: interface_state_change_signal: got signal deviceChange from /org/opensuse/Network/Interface/2; event uuid=<> wicked: eth0: adding callback for org.opensuse.Network.Interface.linkUp() wicked: eth0: waiting for callbacks: wicked: 44653354-4555-0700-9603-00000f000000 event=linkUp wicked: eth0: successfully transitioned from firewall-up to link-up wicked: eth0: state=link-up want=network-up, trying to transition to link-authenticated wicked: eth0: changed state link-up -> link-authenticated wicked: eth0: successfully transitioned from link-up to link-authenticated wicked: eth0: state=link-authenticated want=network-up, trying to transition to lldp-up wicked: eth0: calling org.opensuse.Network.LLDP.lldpUp() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.LLDP, method=lldpUp) wicked: eth0: changed state link-authenticated -> lldp-up wicked: eth0: successfully transitioned from link-authenticated to lldp-up wicked: eth0: state=lldp-up want=network-up, trying to transition to network-up wicked: eth0: calling org.opensuse.Network.Addrconf.ipv4.static.requestLease() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Addrconf.ipv4.static, method=requestLease) wicked: eth0: changed state lldp-up -> network-up wicked: eth0: cancel timeout wicked: eth0: successfully transitioned from lldp-up to network-up wicked: waiting for 0 devices to become ready (0 explicitly requested) eth0 up wicked: Exit with status: 0 ### eth0 device is now active and configured properly ### -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
On Tue, 7 Oct 2014 10:26:59 -0500 Joe Joe <configuringservices@gmail.com> wrote:
Hi,
I am attempting to set the LLADDR in my ifcfg file, but it causes an error on the call to org.opensuse.Network.Ethernet.changeDevice() method. This error looks to be caused by org.freedesktop.DBus.Error.Failed, so I'm not sure if this is even the right place to be asking. I am running wicked 0.6.11 and SLES12. Please see below for the output (IPs were removed). Note that the mac address for the eth0 interface that is not active is identical to the LLADDR I'm trying to set, and changing it does not affect anything. Thanks for any help.
sles12:~ # cat /etc/os-release NAME="SLES" VERSION="12"
sles12:~ # wicked --version wicked 0.6.11
sles12:~ # ifconfig -a | grep -A5 "eth0" eth0 Link encap:Ethernet HWaddr FA:16:3E:88:1B:5A BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:6144 errors:0 dropped:0 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:403409 (393.9 Kb) TX bytes:1118 (1.0 Kb)
sles12:~ # cat /etc/sysconfig/network/ifcfg-eth0 IPADDR=xxx.xxx.xxx.xxx LLADDR=fa:16:3e:88:1b:5a BROADCAST=xxx.xxx.xxx.xxx NM_CONTROLLED=no NETMASK=255.255.248.0 BOOTPROTO=static USERCONTROL=yes ETHTOOL_OPTIONS= STARTMODE=auto
sles12:~ # ifup eth0
[...]
ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=clearEventFilters) wicked: eth0: state=device-down want=network-up, trying to transition to device-exists wicked: eth0: changed state device-down -> device-exists wicked: eth0: successfully transitioned from device-down to device-exists wicked: eth0: state=device-exists want=network-up, trying to transition to device-ready wicked: eth0: calling org.opensuse.Network.Interface.waitDeviceReady() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=waitDeviceReady) wicked: eth0: changed state device-exists -> device-ready wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientControl) wicked: eth0: update <client-state> control: persistent=false, usercontrol=true wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientConfig) wicked: eth0: update <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-eth0, uuid=7839409b-6f15-5f06-88a9-76282c872311, owner-uid=4294967295 wicked: eth0: successfully transitioned from device-exists to device-ready wicked: eth0: state=device-ready want=network-up, trying to transition to device-up wicked: eth0: calling org.opensuse.Network.Ethernet.changeDevice() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Ethernet, method=changeDevice) wicked: dbus error reply = org.freedesktop.DBus.Error.Failed (failed to set up ethernet device) wicked: ni_ifworker_error_handler(org.freedesktop.DBus.Error.Failed, failed to set up ethernet device) wicked: unable to map DBus error org.freedesktop.DBus.Error.Failed, return GENERAL_FAILURE wicked: device eth0 failed: call to org.opensuse.Network.Ethernet.changeDevice() failed: General failure wicked: waiting for 0 devices to become ready (0 explicitly requested) wicked: eth0: changed state none -> device-exists, still waiting for event eth0 device-not-running wicked: Exit with status: 158
Hi, The same works for me. Are you able to change the HW address using other tools (e.g. ip link set eth0 address $HWADDR) on this interface? -- Best Regards, Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de>, Linux System Developer SUSE LINUX Products GmbH GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstr. 5 / D-90409 Nürnberg / Phone: +49-911-740 53 - 613 -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
Yes, `ip link set eth0 address FA:16:3E:88:1B:5A` works fine with no errors. Changing the hwaddr to say ...:5B also works and is verified by the output of `ifconfig -a`. On Tue, Oct 7, 2014 at 10:42 AM, Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de> wrote:
On Tue, 7 Oct 2014 10:26:59 -0500 Joe Joe <configuringservices@gmail.com> wrote:
Hi,
I am attempting to set the LLADDR in my ifcfg file, but it causes an error on the call to org.opensuse.Network.Ethernet.changeDevice() method. This error looks to be caused by org.freedesktop.DBus.Error.Failed, so I'm not sure if this is even the right place to be asking. I am running wicked 0.6.11 and SLES12. Please see below for the output (IPs were removed). Note that the mac address for the eth0 interface that is not active is identical to the LLADDR I'm trying to set, and changing it does not affect anything. Thanks for any help.
sles12:~ # cat /etc/os-release NAME="SLES" VERSION="12"
sles12:~ # wicked --version wicked 0.6.11
sles12:~ # ifconfig -a | grep -A5 "eth0" eth0 Link encap:Ethernet HWaddr FA:16:3E:88:1B:5A BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:6144 errors:0 dropped:0 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:403409 (393.9 Kb) TX bytes:1118 (1.0 Kb)
sles12:~ # cat /etc/sysconfig/network/ifcfg-eth0 IPADDR=xxx.xxx.xxx.xxx LLADDR=fa:16:3e:88:1b:5a BROADCAST=xxx.xxx.xxx.xxx NM_CONTROLLED=no NETMASK=255.255.248.0 BOOTPROTO=static USERCONTROL=yes ETHTOOL_OPTIONS= STARTMODE=auto
sles12:~ # ifup eth0
[...]
ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=clearEventFilters) wicked: eth0: state=device-down want=network-up, trying to transition to device-exists wicked: eth0: changed state device-down -> device-exists wicked: eth0: successfully transitioned from device-down to device-exists wicked: eth0: state=device-exists want=network-up, trying to transition to device-ready wicked: eth0: calling org.opensuse.Network.Interface.waitDeviceReady() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=waitDeviceReady) wicked: eth0: changed state device-exists -> device-ready wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientControl) wicked: eth0: update <client-state> control: persistent=false, usercontrol=true wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Interface, method=setClientConfig) wicked: eth0: update <client-state> config: origin=compat:/etc/sysconfig/network/ifcfg-eth0, uuid=7839409b-6f15-5f06-88a9-76282c872311, owner-uid=4294967295 wicked: eth0: successfully transitioned from device-exists to device-ready wicked: eth0: state=device-ready want=network-up, trying to transition to device-up wicked: eth0: calling org.opensuse.Network.Ethernet.changeDevice() wicked: ni_dbus_object_call_variant(/org/opensuse/Network/Interface/2, if=org.opensuse.Network.Ethernet, method=changeDevice) wicked: dbus error reply = org.freedesktop.DBus.Error.Failed (failed to set up ethernet device) wicked: ni_ifworker_error_handler(org.freedesktop.DBus.Error.Failed, failed to set up ethernet device) wicked: unable to map DBus error org.freedesktop.DBus.Error.Failed, return GENERAL_FAILURE wicked: device eth0 failed: call to org.opensuse.Network.Ethernet.changeDevice() failed: General failure wicked: waiting for 0 devices to become ready (0 explicitly requested) wicked: eth0: changed state none -> device-exists, still waiting for event eth0 device-not-running wicked: Exit with status: 158
Hi,
The same works for me. Are you able to change the HW address using other tools (e.g. ip link set eth0 address $HWADDR) on this interface?
-- Best Regards, Pawel Wieczorkiewicz <pwieczorkiewicz@suse.de>, Linux System Developer SUSE LINUX Products GmbH GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstr. 5 / D-90409 Nürnberg / Phone: +49-911-740 53 - 613 -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
Am 07.10.2014 um 17:48 schrieb Joe Joe:
...
The failure were caused by reading current ethtool settings, which is done as preparation of changeDevice(). Fixed in wicked 0.6.12: ethernet: Do not fail when ETHTOOL_GSET/SSET fails (bnc#900112) Gruesse / Regards, Marius Tomaschewski <mt@suse.de>, <mt@suse.com> -- SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg), GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org
participants (3)
-
Joe Joe
-
Marius Tomaschewski
-
Pawel Wieczorkiewicz