Bug 841712

Summary: right after DVD installation: "Installation Error" in many "AC scripts"
Product: [openSUSE] openSUSE Tumbleweed Reporter: Forgotten User 7XRNh5WElB <forgotten_7XRNh5WElB>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: gs, jreidinger, jsuchome, mfilka
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: log files, saved by yast2

Description Forgotten User 7XRNh5WElB 2013-09-22 12:50:13 UTC
Created attachment 559435 [details]
log files, saved by yast2

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

After an installation from the current 13.1 beta1 DVD, the machine reboots automatically, then yast fails to call a couple of "AC scripts" and shows a big red error box for each script it tried to call.

The bug seems to be triggered if
 * the "Minimal Server Selection (Text Mode)"
   is selected as desktop environment, and
 * a network adapter is active, i.e., is connected to a router.

Reproducible: Always

Steps to Reproduce:
1. Start installation from DVD, with
   "Minimal Server Selection (Text Mode)"
2. Connect the NIC to some network
3. Wait for the reboot at end of installation
4. Watch yast configuring the system,
   (it will be doing this in text mode)

Actual Results:  
After a while, yast brings up a small dialog box
> These packages need to be installed:
> ifplugd
Clicking "Install" then leads to a big red dialog box:
> Installation Error
> An error has occured while calling 'lan_proposal' AC script.
> [apparently some excerpt from a log file here]
> This is worth reporting a bug at http://bugzilla.novell.com/.
> Please, attach also all YaST logs stored in the '/var/log/YaST2/' directory.
> See http://en.opensuse.org/Bugs/YaST for more information about YaST logs.
Going on with "OK" yields the next red error box:
> UI Syntax Error
> No widget with ID `contents
> Check the log file!
Clicking OK here repeats the big and the small error dialog where "lan" (in "lan_proposal") is replaced by general, dsl, isdn, modem, remote, firewall, printer, sound, ... (I stopped taking notes here).  At some point it goes on and eventually leads to a login prompt as expected.


My testing took place within VirtualBox (version provided and hosted by openSUSE 12.3).  The machine has 1 NIC configured, as "NAT", i.e., VirtualBox simulates a router doing NAT on the host machine.  The bug occurs only if the "Cable [is] connected".

At the first error dialog box ("lan_proposal") I hit the "Save YaST Logs..." button.  YaST then created the file attached to this bug report.

Duing installation I rejected Btrfs and switched the "Separate Home Partition" and "Automatic Login" off (this is probably not of any significance).
Comment 1 Gabriele Mohr 2013-09-24 07:48:43 UTC
So far I couldn't reproduce the bug. I also run VirtualBox on 12.3 and have
tried several scenarios:

1. default network settings not changed, i.e. NAT and cable is connected
2. change network setting before starting the installation to cable not connected, connect it during installation
3. network not enabled at all

For all tests the second part of installation is working correctly in text mode.

But your log file shows indeed an error concerning the AC progress widgets:
... clients/inst_automatic_configuration.rb:307 AC progress widgets missing

There must be another scenario in your test.
Which network settings are active when you start your test?
Why did you change the settings after starting the installation?
When exactly?
 
 Steps to Reproduce:
1. Start installation from DVD, with
   "Minimal Server Selection (Text Mode)"
2. Connect the NIC to some network
3. Wait for the reboot at end of installation
4. Watch yast configuring the system,
   (it will be doing this in text mode)
Comment 2 Forgotten User 7XRNh5WElB 2013-09-25 09:53:56 UTC
> There must be another scenario in your test.
> Which network settings are active when you start your test?
> Why did you change the settings after starting the installation?
> When exactly?
As far as I remember, I had the network already connected when the VBox was powered on when I observed the bug the first time.  Later, when I tried to reproduce the bug, I connected it during package installation (before reboot), and the bug still occured.  Besides this my network settings are the default settings: 1 NIC, NAT, "Intel PRO 1000/MT Desktop", no port forwarding configured.  The host machine was connected to the internet all the time.

There is some other non-standard configuration of the VBox: 4 CPUs for the guest, PAE/NX on, 2 optical drives via IDE (suse DVD in first one=primary master), one SATA 48GiB harddisk, one serial port and the USB controller are active.

I can try to reproduce the bug with a new VBox and send you some vbox config files (they are xml I hope) or even record my desktop with ffmpeg and upload the video to bugzilla.  Would this help?  However I probably won't have time for this until the weekend.
Comment 3 Jiří Suchomel 2013-09-27 08:41:58 UTC
I can reproduce it
Comment 4 Josef Reidinger 2013-09-27 10:42:18 UTC
It is related to similar bug Lada have assigned, as there is a problem with wizard together with installation.
Lets keep decision on lslezak if it is duplication or not.
Comment 5 Jiří Suchomel 2013-09-27 10:57:07 UTC
Well, to me it looks like packager was invoked for installing a package and left some window open (or closed one that should not be)
Comment 6 Jiří Suchomel 2013-09-27 11:13:18 UTC
ifplugd package is required during 2nd stage (because of minimal installation it is not already there) by lan_proposal.


After the package is installed, dialogs are broken. Not sure yet if it is packager's or network's problem.
Comment 7 Jiří Suchomel 2013-09-27 11:17:00 UTC
From the widgets dump

2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree: YDialog at 0x7fbb1c02f060 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:     YVBox at 0x7fbb1c02fdd0 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:         YHSpacing at 0x7fbb1c02af20
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:         YLabel_Heading "Installing Package" at 0x7fbb1c027fa0
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:         YAlignment_Left at 0x7fbb1c028310 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:             YHBox at 0x7fbb1c029f90 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                 YVBox at 0x7fbb1c02a1d0 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                     YAlignment_Left at 0x7fbb1c02ff20 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                         YLabel "Package: " at 0x7fbb1c030070
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                     YAlignment_Left at 0x7fbb1c029ba0 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                         YLabel "Size: " at 0x7fbb1c0301f0
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                 YVBox at 0x7fbb1c029e40 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                     YAlignment_Left at 0x7fbb1c023ea0 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                         YLabel "ifplugd" at 0x7fbb1c030370
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                     YAlignment_Left at 0x7fbb1c0304f0 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:                         YLabel "91.15 kB" at 0x7fbb1c030780
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:         YProgressBar ID: "`progress" at 0x7fbb1c030a40 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:         YButtonBox at 0x7fbb1c02fb20 ( hstretch  )
2013-09-22 13:38:02 <1> linux-rwsu(1953) [ui] YWidget.cc(dumpWidget):709 Widget tree:             YPushButton "Abort" at 0x7fbb1c030e50

It seems the popup requiring ifplugd installation is still there, but lan_proposal already exited (and package is installed).

So I suspect packaging callbacks.
Comment 8 Ladislav Slezák 2013-09-30 11:13:33 UTC
This is a duplicate of bnc#842465.

*** This bug has been marked as a duplicate of bug 842465 ***