Bug 153073

Summary: Installation ignores missing CD2
Product: [openSUSE] SUSE Linux 10.1 Reporter: Holger Sickenberg <holgi>
Component: InstallationAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Blocker    
Priority: P5 - None CC: aj, Daniel.Ottey, jason_mack, scottgar, suse-beta
Version: Beta 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2.tgz
Log from the run

Description Holger Sickenberg 2006-02-23 12:40:43 UTC
When installing Beta 5 (second edition) and removing CD1 when rebooting, installer will not ask for CD2 but just continues with "hostname" dialog without installing any missing package from CD2 and others.

Logs are attached.
Comment 1 Holger Sickenberg 2006-02-23 12:41:59 UTC
Created attachment 69962 [details]
YaST2.tgz
Comment 2 Stanislav Visnovsky 2006-02-23 15:16:44 UTC
This is much more severe that the thing you've described.

But! If you have any mountable CD in the drive, it will work as expected.
Comment 3 Stanislav Visnovsky 2006-02-23 15:55:41 UTC
This is a bug in SourceFactory, where a try to attach media is happening
regardless of the cache CD.
Comment 6 Jiri Srain 2006-02-24 00:49:58 UTC
Created attachment 70081 [details]
Log from the run

... and this is log from the result :-(

Starts with for 

2006-02-23 17:23:35 <3>
Comment 8 Stanislav Visnovsky 2006-02-24 10:15:29 UTC
I think so. But I did not try to reproduce yet
Comment 9 Jiří Suchomel 2006-02-24 14:04:12 UTC
*** Bug 153141 has been marked as a duplicate of this bug. ***
Comment 12 Stanislav Visnovsky 2006-02-24 15:43:43 UTC
I've just checked: storedSources() returns a list with size 0.
Comment 13 Michael Gross 2006-02-24 16:49:56 UTC
*** Bug 153408 has been marked as a duplicate of this bug. ***
Comment 14 Scott Garfinkle 2006-02-24 17:03:42 UTC
I do not understand how my inability even to begin installation on CD1 is a dup of this bug. If it is, can somebody please suggest a kernel boot parameter that will allow the installation to proceed (i.e. begin)?  I tried "irqpoll" and I tried all the various choices (with ioapic/"safe"/without acpi) and cannot even begin the installation process.
Comment 15 Scott Garfinkle 2006-02-27 21:32:49 UTC
Well, at least I can install beta 5. Thanks.
Comment 16 Michael Gross 2006-02-28 12:59:27 UTC
*** Bug 153781 has been marked as a duplicate of this bug. ***
Comment 17 Michael Gross 2006-02-28 13:01:52 UTC
*** Bug 153783 has been marked as a duplicate of this bug. ***
Comment 18 Michael Gross 2006-02-28 16:14:05 UTC
*** Bug 154132 has been marked as a duplicate of this bug. ***
Comment 19 Scott Rhoades 2006-02-28 16:36:40 UTC
I think the problem I'm having is the same one. CD1 finishes installing, then I jump directly to the host name configuration, without a reboot. A couple screens later I get the "No Package Source Defined" error.
Comment 20 Klaus Kämpf 2006-03-01 16:39:05 UTC
I did a bit of analyzing:

The re-attach of the media fails due to an unitialized variable:

2006-03-01 15:48:41 <5> linux(3874) [base] Exception.cc(log):83 MediaManager.cc(findMM):175 THROW:    MediaManager.cc(findMM):175: Media not opened w
hile performing action Invalid media access id 2171667008

This has been fixed in SVN (not on beta6 :-( )
Comment 21 Klaus Kämpf 2006-03-01 16:57:53 UTC
The exception leads to a failed commit:

2006-03-01 15:48:41 <5> linux(3874) [base] Exception.cc(log):83
2006-03-01 15:48:41 <3> linux(3874) [wfm] Package.cc(PkgCommit):1742 Pkg::Commit has failed

which is not really handled

    try
    {
        result = zypp_ptr->commit(medianr);
    }
    catch (...)
    {
        y2error("Pkg::Commit has failed");
    }

(well result is properly initialized now: see bug #154409)
Comment 22 Klaus Kämpf 2006-03-01 16:59:48 UTC
And this returns to inst_rpmcopy.ycp which does record failures
but continues with next CD regardless.

so the fix from comment #20 should also fix this one.
Comment 24 Holger Sickenberg 2006-03-01 17:19:12 UTC
still same behavior with beta 6
Comment 26 Duncan Mac-Vicar 2006-03-03 13:40:16 UTC
Fixed in zypp reb 2201.