Bug 890570

Summary: no IPv4 connectivity with wicked and dhcp
Product: [openSUSE] openSUSE Tumbleweed Reporter: Wolfgang Rosenauer <wolfgang>
Component: NetworkAssignee: wicked maintainers <wicked-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: 201407*   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: wicked output for enp0s3

Description Wolfgang Rosenauer 2014-08-06 08:56:47 UTC
At some point (not recently but already like 1-2 weeks ago) the IPv4 network on my Factory installation was not working anymore after an update.

My IPv6 addresses are still there but no IPv4:
linux:~ # ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:37:9d:3e brd ff:ff:ff:ff:ff:ff
    inet6 2001:4dd0:f85a:0:d948:63e:a675:dd97/64 scope global temporary dynamic 
       valid_lft 7091sec preferred_lft 3491sec
    inet6 2001:4dd0:f85a:0:a00:27ff:fe37:9d3e/64 scope global mngtmpaddr dynamic 
       valid_lft 7091sec preferred_lft 3491sec
    inet6 fe80::a00:27ff:fe37:9d3e/64 scope link 
       valid_lft forever preferred_lft forever



linux:~ # wicked --debug all 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: 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(0x8acb5e8, connection=0x8acb7e8, fd=4, reuse sock=(nil))
wicked: __ni_dbus_add_watch(0x8afe370, connection=0x8acb7e8, fd=4, reuse sock=0x8aca9e8)
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: refreshing client-info structure: config_origin (compat:/etc/sysconfig/network/ifcfg-lo) and uuid (6dbeaf28-3a0f-584b-95ee-72f6d2b8985c)
wicked: lo: refreshing client_state structure: persistent: true, init_state: link-up, init_time: 1407313122.108439, last_time: 1407313122.204771
wicked: received new device enp0s3 (/org/opensuse/Network/Interface/2)
wicked: enp0s3: refreshing client-info structure: config_origin (compat:/etc/sysconfig/network/ifcfg-enp0s3) and uuid (9a873fb3-21bf-560c-9f8f-6dddaf72dc6f)
wicked: enp0s3: refreshing client_state structure: persistent: false, init_state: device-exists, init_time: 1407313122.121668, last_time: 1407313123.318818
wicked: lo: changed state none -> device-exists
wicked: enp0s3: 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: Reading sysctl file '/etc/sysctl.conf'
wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-lo)
wicked: ni_sysconfig_read(/etc/sysconfig/network/ifcfg-enp0s3)
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-enp0s3, line: 0
wicked: No valid configuration files found at /etc/wicked/ifconfig
wicked: ni_ifworker_set_config_client_state: set w->client_state.persistent control flag to TRUE
wicked:    +-> lo
wicked:    +-> enp0s3
wicked: ifup: no matching interfaces
wicked: Exit with status: 0
Comment 1 Wolfgang Rosenauer 2014-08-06 09:06:03 UTC
Sorry, wrong interface name used by accident. 
Will attach the correct output.
Comment 2 Wolfgang Rosenauer 2014-08-06 09:06:36 UTC
Created attachment 601229 [details]
wicked output for enp0s3
Comment 3 Wolfgang Rosenauer 2014-09-01 07:01:21 UTC
In later Factory snapshots I haven't seen this issue anymore.
Not sure yet if it can/should be closed and is really no issue anymore.
Comment 4 Olaf Hering 2014-09-03 18:14:54 UTC
Wolfgang, looks like you run wicked with debug enabled. Thanks for that.

In case it happens again, please reopen (or open new bug) and attach wicked logs:
journalctl -b -o short-precise > journal.txt