[Bug 885828] New: OpenSuSE 13.1 as CENTSOS NATIVE XEN 4.2 Guest fails to start network/eth0 from systemd
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c0 Summary: OpenSuSE 13.1 as CENTSOS NATIVE XEN 4.2 Guest fails to start network/eth0 from systemd Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: info@remsnet.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 root@ossapache2:log# cat /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='10.20.0.51/24' MTU='' NAME='Virtual Ethernet Card 0' NETWORK='' REMOTE_IPADDR='' STARTMODE='auto' USERCONTROL='no' root@ossapache2:log# root@ossapache2:log# lsmod | grep xen xen_blktap 30046 0 xenblk 32254 2 cdrom 46652 1 xenblk xennet 42361 1 sfc_netfront root@ossapache2:log# root@ossapache2:log# cat /etc/modprobe.d/01-xen.conf alias eth0 /sbin/modprobe xennet alias eth1 /sbin/modprobe xennet Reproducible: Always Steps to Reproduce: 1. install xen 4.2 - centos4xen with centos6.5 , http://wiki.centos.org/HowTos/Xen/Xen4QuickStart 2. install oss13.1 guest with systemd and 3.10.x xen kernel root@ossapache2:log# uname -a Linux ossapache2 3.11.10-77.gd27ac14-xen #1 SMP Wed Jul 2 15:06:53 UTC 2014 (d27ac14) x86_64 x86_64 x86_64 GNU/Linux ->don´t install & use libvirt & kvm - only NATIVE XEN 3. boot Actual Results: ... [FAILED] Failed to start LSB: Configure network interfaces and set up routing. See 'systemctl status network.service' for details. ... root@ossapache2:log# systemctl status network.service network.service - LSB: Configure network interfaces and set up routing Loaded: loaded (/usr/lib/systemd/system/network.service; enabled) Active: failed (Result: exit-code) since Fri 2014-07-04 11:33:20 CEST; 21min ago Process: 7639 ExecStop=/etc/init.d/network stop (code=exited, status=0/SUCCESS) Process: 7010 ExecReload=/etc/init.d/network reload (code=exited, status=7) Process: 7960 ExecStart=/etc/init.d/network start (code=exited, status=7) Jul 04 11:32:48 ossapache2 ifup[8303]: lo Jul 04 11:32:48 ossapache2 network[7960]: lo IP address: 127.0.0.1/8 Jul 04 11:32:49 ossapache2 network[7960]: ..doneWaiting for mandatory device...0 Jul 04 11:33:19 ossapache2 network[7960]: 29 28 27 26 25 24 23 22 21 19 18 1...0 Jul 04 11:33:20 ossapache2 network[7960]: eth0 name: Virtual Ethernet C...0 Jul 04 11:33:20 ossapache2 network[7960]: eth0 is down Jul 04 11:33:20 ossapache2 network[7960]: ..failed eth0 interface co...w Jul 04 11:33:20 ossapache2 systemd[1]: network.service: control process exi...=7 Jul 04 11:33:20 ossapache2 systemd[1]: Failed to start LSB: Configure netwo...g. Jul 04 11:33:20 ossapache2 systemd[1]: Unit network.service entered failed ...e. Hint: Some lines were ellipsized, use -l to show in full. root@ossapache2:log# root@ossapache2:log# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:16:3E:04:7C:85 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) /var/log/messages ...skipping... 2014-07-04T09:32:48.850140+00:00 ossapache2 ifup[8224]: lo ... 2014-07-04T09:32:48.981187+00:00 ossapache2 ifup[8224]: lo 2014-07-04T09:32:48.983719+00:00 ossapache2 ifup[8224]: IP address: 127.0.0.1/8 2014-07-04T09:32:48.983907+00:00 ossapache2 network[7960]: lo IP address: 127.0.0.1/8 2014-07-04T09:32:48.985085+00:00 ossapache2 ifup[8224]: 2014-07-04T09:32:49.150127+00:00 ossapache2 network[7960]: ..doneWaiting for mandatory devices: eth0 2014-07-04T09:33:19.979979+00:00 ossapache2 network[7960]: 29 28 27 26 25 24 23 22 21 19 18 17 16 15 14 13 12 10 9 8 7 6 5 4 3 2 1 0 2014-07-04T09:33:20.036528+00:00 ossapache2 network[7960]: eth0 name: Virtual Ethernet Card 0 2014-07-04T09:33:20.044897+00:00 ossapache2 network[7960]: eth0 is down 2014-07-04T09:33:20.074762+00:00 ossapache2 network[7960]: ..failed eth0 interface could not be set up until now 2014-07-04T09:33:20.101896+00:00 ossapache2 network[7960]: ..failedSetting up service network . . . . . . . . . . . . ...failed 2014-07-04T09:33:20.102114+00:00 ossapache2 systemd[1]: network.service: control process exited, code=exited status=7 2014-07-04T09:33:20.102476+00:00 ossapache2 systemd[1]: Failed to start LSB: Configure network interfaces and set up routing. 2014-07-04T09:33:20.102761+00:00 ossapache2 systemd[1]: Unit network.service entered failed state. Expected Results: root@ossapache2:log# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:16:3E:04:7C:85 inet addr:10.20.0.51 Bcast:10.20.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:96 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4342 (4.2 Kb) TX bytes:258 (258.0 b) root@ossapache2:log# ping 10.20.0.1 PING 10.20.0.1 (10.20.0.1) 56(84) bytes of data. 64 bytes from 10.20.0.1: icmp_seq=1 ttl=64 time=0.516 ms 64 bytes from 10.20.0.1: icmp_seq=2 ttl=64 time=0.189 ms ^C -> systemd´s network control shuold bring up eth0 as the manualy setup with ifconfig works fine This NATIVE Xen opensuse 13.x guest( NO libvirt , no kvm ) been auto-setup with updated xen-tools , see https://github.com/remsnet/xen-tools everything works except network startup :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c1 --- Comment #1 from Horst Venzke <info@remsnet.de> 2014-07-04 10:10:38 UTC --- This happen at any runlevel. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c2 --- Comment #2 from Horst Venzke <info@remsnet.de> 2014-07-04 21:59:20 UTC --- root@ossapache2:log# rcnetwork start eth0 debug Setting up network interfaces: A dependency job for network@debug.service failed. See 'journalctl -xnfaileddetails. lo name: eth0 lo valid_lft forever preferred_lft forever IP address: 127.0.0.1/8 lo is up done Waiting for mandatory devices: eth0 29 28 27 26 25 24 22 21 ^C root@ossapache2:log# rcnetwork Usage: /sbin/rcnetwork <action> [<config>] [<interface>] [-o <options>] actions: start|stop|status|reload|force-reload|try-restart restart|stop-all-dhcp-clients|restart-all-dhcp-clients options: [on]boot,hotplug,manual,check,debug,fake type=<typelist>,skip=<skiplist> typelist: space seperated list of interface types skiplist: space seperated list of interfaces to skip for 'start' root@ossapache2:log# rcnetwork start eth0 -o debug CONFIG = INTERFACE = eth0 AVAILABLE_IFACES = PHYSICAL_IFACES = BONDING_IFACES = VLAN_IFACES = DIALUP_IFACES = TUNNEL_IFACES = BRIDGE_IFACES = SLAVE_IFACES = MANDATORY_DEVICES = eth0 lo __NSC__ VIRTUAL_IFACES = SKIP = start order : ; eth0 lo __NSC__ ; Setting up network interfaces: A dependency job for network@eth0.service failed. See 'journalctl -xn' for details. eth0 returned 1 failed ... still waiting for hotplug devices: SUCCESS_IFACES= MANDATORY_DEVICES=eth0 lo __NSC__ lo lo valid_lft forever preferred_lft forever IP address: 127.0.0.1/8 lo is up lo returned 0 done Time to wait: 29 Waiting for mandatory devices: eth0 29 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 28 28 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 27 27 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 26 26 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 25 25 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 24 24 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 23 23 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 22 22 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 20 20 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 19 19 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 18 18 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 17 17 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 16 16 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 15 15 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 14 14 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 13 13 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 12 12 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 10 10 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 9 9 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 8 8 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 7 7 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 6 6 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 4 4 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 3 3 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 2 2 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 1 1 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ Time to wait: 0 0 ... still waiting for hotplug devices: SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ eth0 name: eth0 eth0 is down eth0 returned 7 failed eth0 interface could not be set up until now failed ... final FAILED_IFACES= SUCCESS_IFACES= lo MANDATORY_DEVICES= eth0 __NSC__ FAILED=1 TTWAIT=31 root@ossapache2:log# -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c3 --- Comment #3 from Horst Venzke <info@remsnet.de> 2014-07-04 22:00:04 UTC --- root@ossapache2:log# less warn 2014-07-04T08:30:37.686835+00:00 ossapache2 kernel: [ 0.000000] Zone ranges: 2014-07-04T08:30:37.686839+00:00 ossapache2 kernel: [ 0.000000] DMA [mem 0x00000000-0x00ffffff] 2014-07-04T08:30:37.686843+00:00 ossapache2 kernel: [ 0.000000] DMA32 [mem 0x01000000-0xffffffff] 2014-07-04T08:30:37.686847+00:00 ossapache2 kernel: [ 0.000000] Normal [mem 0x100000000-0x1007fffff] 2014-07-04T08:30:37.686850+00:00 ossapache2 kernel: [ 0.000000] Movable zone start for each node 2014-07-04T08:30:37.686854+00:00 ossapache2 kernel: [ 0.000000] Early memory node ranges 2014-07-04T08:30:37.686866+00:00 ossapache2 kernel: [ 0.000000] node 0: [mem 0x00000000-0x1007fffff] 2014-07-04T08:30:37.686990+00:00 ossapache2 kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1036260 2014-07-04T08:30:37.687040+00:00 ossapache2 kernel: [ 0.000000] Memory: 3885200K/4202496K available (5237K kernel code, 547K rwdata, 3852K rodata, 500K init, 868K bss, 317296K reserved) 2014-07-04T08:30:37.688229+00:00 ossapache2 kernel: [ 0.165230] PCI: Fatal: No config space access function found 2014-07-04T08:30:37.688900+00:00 ossapache2 kernel: [ 0.165656] Unable to read sysrq code in control/sysrq ...skipping... rpmbuild/BUILD/kernel-xen-3.11.10/linux-3.11/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) 2014-07-04T21:32:40.772755+00:00 ossapache2 systemd[1]: Failed to start LSB: Configure network interfaces and set up routing. 2014-07-04T21:33:10.302231+00:00 ossapache2 systemd[2123]: Failed to open private bus connection: Failed to connect to socket /run/user/0/dbus/user_bus_socket: No such file or directory 2014-07-04T21:48:30.633274+00:00 ossapache2 systemd[1]: Failed to start LSB: Configure network interfaces and set up routing. 2014-07-04T21:51:33.574608+00:00 ossapache2 systemd[1]: Dependency failed for ifup managed network interface debug. 2014-07-04T21:53:03.575221+00:00 ossapache2 systemd[1]: Job sys-subsystem-net-devices-debug.device/start timed out. 2014-07-04T21:53:03.576461+00:00 ossapache2 systemd[1]: Timed out waiting for device sys-subsystem-net-devices-debug.device. 2014-07-04T21:55:28.345358+00:00 ossapache2 systemd[1]: Dependency failed for ifup managed network interface debug. 2014-07-04T21:56:01.169494+00:00 ossapache2 systemd[1]: Dependency failed for ifup managed network interface eth0. 2014-07-04T21:56:58.345963+00:00 ossapache2 systemd[1]: Job sys-subsystem-net-devices-debug.device/start timed out. 2014-07-04T21:56:58.347800+00:00 ossapache2 systemd[1]: Timed out waiting for device sys-subsystem-net-devices-debug.device. warn lines 100-110/110 (END) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c4 --- Comment #4 from Horst Venzke <info@remsnet.de> 2014-07-04 22:10:41 UTC --- root@ossapache2:log# ls -laR /run/user/0/ /run/user/0/: total 0 drwx------ 3 root root 80 Jul 4 23:33 . drwxr-xr-x 3 root root 60 Jul 4 23:33 .. srw-r--r-- 1 root root 0 Jul 4 23:33 bus drwxr-xr-x 2 root root 60 Jul 4 23:33 systemd /run/user/0/systemd: total 0 drwxr-xr-x 2 root root 60 Jul 4 23:33 . drwx------ 3 root root 80 Jul 4 23:33 .. srwxrwxrwx 1 root root 0 Jul 4 23:33 private root@ossapache2:log# Known workaround for the systemd dbus user service from https://bbs.archlinux.org/viewtopic.php?id=173378 do not work at all. root@ossapache2:log# ls /etc/systemd/system/user\@.service.d/ environment.conf oot@ossapache2:log# les root@ossapache2:log# less /etc/systemd/system/user\@.service.d/environment.conf [Service] Environment=XDG_RUNTIME_DIR=/run/user/%I root@ossapache2:log# systemctl --user UNIT LOAD ACTIVE SUB DESCRIPTION sys-devi...-tty-xvc0.device loaded active plugged /sys/devices/virtual/tty/xvc sys-devi...ock-xvda1.device loaded active plugged /sys/devices/xen/vbd-51713/b sys-devi...ock-xvda2.device loaded active plugged /sys/devices/xen/vbd-51714/b sys-devi...-net-eth0.device loaded active plugged /sys/devices/xen/vif-0/net/e sys-subs...ices-eth0.device loaded active plugged /sys/subsystem/net/devices/e -.mount loaded active mounted / dev-mqueue.mount loaded active mounted /dev/mqueue sys-kernel-debug.mount loaded active mounted /sys/kernel/debug tmp.mount loaded active mounted /tmp var-lock.mount loaded active mounted /var/lock var-run.mount loaded active mounted /var/run -.slice loaded active active -.slice dbus.socket loaded active listening D-Bus Message Bus Socket dev-xvda1.swap loaded active active /dev/xvda1 default.target loaded active active Default LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 15 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. root@ossapache2:log# -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c5 --- Comment #5 from Horst Venzke <info@remsnet.de> 2014-07-04 22:17:27 UTC --- more hints from : https://bugs.freedesktop.org/show_bug.cgi?id=61303 so system provide /run/user/%U/bus but network with systemd wants /run/user/%U/dbus ?!??! root@ossapache2:log# cat /etc/systemd/user/default.target.wants/dbus.socket [Unit] Description=D-Bus Message Bus Socket Before=sockets.target [Socket] ListenStream=/run/user/%U/bus [Install] WantedBy=default.target root@ossapache2:log# cat /etc/systemd/user/dbus.socket [Unit] Description=D-Bus Message Bus Socket Before=sockets.target [Socket] ListenStream=/run/user/%U/bus [Install] WantedBy=default.target -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c6 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com AssignedTo|bnc-team-screening@forge.pr |fstrba@suse.com |ovo.novell.com | --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-07-23 14:32:33 CEST --- giving this bug to dbus maintainer. please re-assign as appropriate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=885828 https://bugzilla.novell.com/show_bug.cgi?id=885828#c7 --- Comment #7 from Horst Venzke <info@remsnet.de> 2014-07-28 07:20:43 UTC --- Hello OSS team, The xen-tools hook 32-setup-systemd-dbus code for opensuse show exactly how this shuold be Setup: https://github.com/remsnet/xen-tools/blob/master/hooks/opensuse-13.1.d/32-se... Dbus are depend stuff due oss core services "controled" by systemd ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com