[Bug 851402] New: Simple 13.1 system built on susestudio has broken networking
https://bugzilla.novell.com/show_bug.cgi?id=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c0 Summary: Simple 13.1 system built on susestudio has broken networking Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: VMWare OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: archie@dellroad.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:25.0) Gecko/20100101 Firefox/25.0 (First, a meta-problem: it's not clear how to categorize susestudio bugs. There is no classification, product, or category called "susestudio"). I just tried a plain "server" build of openSUSE 13.1 on susestudio, installed on VMWare, and it failed to configure the network interface for DHCP. The problem is the rename of eth0 -> ens33 in 13.1: Nov 20 14:59:14 linux-t5oa systemd[1]: Starting LSB: Configure network interfaces and set up routing... Nov 20 14:59:14 linux-t5oa network[5420]: Setting up network interfaces: Nov 20 14:59:15 linux-t5oa network[5420]: lo Nov 20 14:59:15 linux-t5oa ifup[5709]: lo Nov 20 14:59:15 linux-t5oa ifup[5753]: lo Nov 20 14:59:15 linux-t5oa ifup[5756]: IP address: 127.0.0.1/8 Nov 20 14:59:15 linux-t5oa network[5420]: lo IP address: 127.0.0.1/8 Nov 20 14:59:15 linux-t5oa ifup[5758]: Nov 20 14:59:15 linux-t5oa network[5420]: ..done ens33 Startmode is 'manual' -> skipping Nov 20 14:59:15 linux-t5oa ifup[5815]: ens33 Startmode is 'manual' -> skipping Nov 20 14:59:15 linux-t5oa network[5420]: ..skippedWaiting for mandatory devices: eth0 Nov 20 14:59:45 linux-t5oa network[5420]: 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Nov 20 14:59:45 linux-t5oa network[5420]: eth0 No interface found Nov 20 14:59:45 linux-t5oa network[5420]: ..failedSetting up service network . . . . . . . . . . . . ...failed Nov 20 14:59:45 linux-t5oa systemd[1]: network.service: control process exited, code=exited status=7 Nov 20 14:59:45 linux-t5oa systemd[1]: Failed to start LSB: Configure network interfaces and set up routing. Nov 20 14:59:45 linux-t5oa systemd[1]: Unit network.service entered failed state. The result is a system that can't be reached from the network. Reproducible: Always Steps to Reproduce: 1. Build 13.1 "server" system on susestudio as VMWare instance and DHCP client 2. Boot system 3. Notice it has no IP address Actual Results: No IP assignment via DHCP. Expected Results: IP assignment via DHCP. -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c1 --- Comment #1 from Archie Cobbs <archie@dellroad.org> 2013-11-20 18:52:25 UTC --- ---------- Forwarded message ---------- From: Cristian Rodríguez <crrodriguez@opensuse.org> Date: Wed, Nov 20, 2013 at 1:48 PM Subject: Re: [opensuse] openSUSE 13.1: NIC name issue causing a failure To: opensuse@opensuse.org El 20/11/13 15:44, Greg Freemyer escribió:
Per,
You seem to be the expert on NIC naming issues in 13.1, any thoughts on this bugzilla.
Boot the vm with net.ifnames=0 , it seems SUSE studio has a hardcoded interface name in the configuration. -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c3 Björn Geuken <bgeuken@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |archie@dellroad.org --- Comment #3 from Björn Geuken <bgeuken@suse.com> 2013-11-27 16:10:04 UTC --- Could you try that again? I think we fixed this in the meantime. Note that you need to use the ssh command from the Networking tab (in testdrive) and that you can only establish connections from the host that started the testdrive session. -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c4 Archie Cobbs <archie@dellroad.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|archie@dellroad.org | --- Comment #4 from Archie Cobbs <archie@dellroad.org> 2013-11-27 16:26:36 UTC --- Sorry, I'm a little confused about the state of this issue because there are two conversations going on, one here in this bug and one on the susestudio-users mailing list. I will repeat what I sent to the mailing list yesterday (after being asked to try again there). Let me know if you need me to try again, again.
It still doesn't work. I created and built a new appliance:
http://susestudio.com/a/4svuXE/opensuse-13-1-test-2
Looks like there's a bug in the suse_studio_firstboot script. See attached screenshot.
I'm going to attach the screenshot to this bug as well. Notice the bash syntax error at the top. -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c5 --- Comment #5 from Archie Cobbs <archie@dellroad.org> 2013-11-27 16:27:18 UTC --- Created an attachment (id=569364) --> (http://bugzilla.novell.com/attachment.cgi?id=569364) Screenshot showing bash syntax error on 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c Björn Geuken <bgeuken@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c6 Björn Geuken <bgeuken@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Björn Geuken <bgeuken@suse.com> 2013-12-16 14:24:39 UTC --- The syntax error should also be fixed now. Thanks for reporting. Feel free to reopen if there is still something wrong -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c7 Archie Cobbs <archie@dellroad.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #7 from Archie Cobbs <archie@dellroad.org> 2013-12-16 18:08:11 UTC --- OK, much better. The interface does get configured correctly. However, there is STILL a syntax error in the firstboot script. Here is the log for this suse_studio_firstboot service. Note the syntax error on line 107: suse-studio-firstboot.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) since Mon 2013-12-16 11:57:52 CST; 4min 33s ago Main PID: 5384 (code=exited, status=0/SUCCESS) Dec 16 05:57:49 linux-kvaf systemd[1]: Starting Execute the SUSE Studio first boot script, if it exists... Dec 16 05:57:49 linux-kvaf sh[5384]: Configuring network interfaces Dec 16 05:57:49 linux-kvaf sh[5384]: Configuring network interface 'ens33' Dec 16 05:57:49 linux-kvaf sh[5384]: /etc/init.d/suse_studio_firstboot: line 107: test: =: unary operator expected Dec 16 11:57:48 linux-kvaf sh[5384]: redirecting to "systemctl restart network.service" Dec 16 11:57:52 linux-kvaf sh[5384]: Checking if we are in SUSE Studio TestDrive... no Dec 16 11:57:52 linux-kvaf sh[5384]: rm '/etc/systemd/system/multi-user.target.wants/suse-studio-firstboot.service' Dec 16 11:57:52 linux-kvaf sh[5384]: ln -s '/usr/lib/systemd/system/network.service' '/etc/systemd/system/multi-user.target.wants/network.service' Dec 16 11:57:52 linux-kvaf sh[5384]: ln -s '/usr/lib/systemd/system/network.service' '/etc/systemd/system/graphical.target.wants/network.service' Dec 16 11:57:52 linux-kvaf systemd[1]: Started suse-studio-firstboot.service. Where is the source for this script? I can send you a patch to fix the syntax error if you guys can't handle it :) -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c8 --- Comment #8 from Shyukri Shyukriev <shshyukriev@suse.com> 2013-12-20 14:23:05 EET --- Created an attachment (id=572747) --> (http://bugzilla.novell.com/attachment.cgi?id=572747) 13.1 server from dev1 on VMware Workstation No errors observed. http://dev1.susestudio.com/appliance/edit/238#/build -- 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=851402 https://bugzilla.novell.com/show_bug.cgi?id=851402#c9 Björn Geuken <bgeuken@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #9 from Björn Geuken <bgeuken@suse.com> 2014-01-07 11:11:06 UTC --- The unary operator error should be fixed as well now -- 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