Bug 52031 - poor handling of non-existant disk during installation
poor handling of non-existant disk during installation
Product: Red Hat Public Beta
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Matt Wilson
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-08-19 05:52 EDT by greg hosler
Modified: 2007-04-18 12:36 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-21 14:27:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description greg hosler 2001-08-19 05:52:50 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-2smp i686; Nav)

Description of problem:
I have a MO drive, and the MO was not installed.
The normal device for the MO is /dev/sdd (4th scsi).
All prior installations ignored this "non -existant" drive.
During installation, after package selection, I get the popup error

	Error: /tmp/sdd No Medium Found
	[cancel] [retry]

and on console 1, I see teh error message:

	Error opening /tmp/sdd: No medium found

Note that I did not specify any partition on /dev/sdd
for installation. It should not have been concerning itself whether it
could open the device or not. Since the device is a removeable drive, it
especially should not care...

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. configure a scsi chain w/ a removeable device. (possibly a scsi zip
drive would give this error as well)
2. do installation.
3. Error shows up shortly after package selection, and before 1st package
gets installed.

Actual Results:  unnecessary error message box. I clicked cancel, and
installation progressed. (note that clicking <cancel> is not obvious in as
much as you really do not want to cancel the installation. Perhaps the
button should hev been [ignore] - be that as it may, the error message
really should not be displayed, esp when the device is a removeable.

Expected Results:  no message box.

Additional info:

did not used to happen in any prior beta, or any prior RH installer.
Comment 1 Matt Wilson 2001-08-20 11:15:07 EDT
Please run this on Alt+F2:

PYTHONPATH=/usr/lib/anaconda python -c "import isys; isys.driveIsRemovable('sdd')"

Comment 2 greg hosler 2001-08-20 11:30:55 EDT
at which point of the installation is the above python string runnable.
(hopefully before installation starts ? I'm not desireing to reinstall, just at
the moment, but I can if need be...)

Comment 3 Matt Wilson 2001-08-20 11:33:42 EDT
as soon as you get to anaconda in either text or gui mode, you don't need to

Oh, and run this instead:

PYTHONPATH=/usr/lib/anaconda python -c "import isys; print

(note the addition of 'print')

Comment 4 greg hosler 2001-08-20 11:50:11 EDT
Attribute Error: driveIsRemoveable
Comment 5 Matt Wilson 2001-08-20 11:56:43 EDT

(you have an extra 'e')

Comment 6 Glen Foster 2001-08-20 15:22:22 EDT
We (Red Hat) should really try to fix this before next release.
Comment 7 greg hosler 2001-08-20 19:18:48 EDT
The python print statements prints the following:


Comment 8 Matt Wilson 2001-08-21 14:27:28 EDT
bug found; fixed in cvs.

Note You need to log in before you can comment on or make changes to this bug.