Bug 709880 - list-harddrives is broken
Summary: list-harddrives is broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.7
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Martin Gracik
QA Contact: Release Test Team
URL:
Whiteboard:
: 748051 (view as bug list)
Depends On:
Blocks: 726828
TreeView+ depends on / blocked
 
Reported: 2011-06-01 20:23 UTC by Vadym Chepkov
Modified: 2018-11-29 21:41 UTC (History)
8 users (show)

Fixed In Version: anaconda-11.1.2.243-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 05:37:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Legacy) 63065 0 None None None Never
Red Hat Product Errata RHBA-2012:0197 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2012-02-20 14:54:06 UTC

Description Vadym Chepkov 2011-06-01 20:23:31 UTC
list-harddrives plugin is broken in 5.7 beta.

It fails with printing Traceback and the last line:

ImportError: No module named bootyutil

Comment 1 Chris Lumens 2011-06-02 14:43:28 UTC
list-harddrives is a script, not a plugin.

How are you running it?  Can you attach the complete traceback to this bug report?

Comment 2 Vadym Chepkov 2011-06-03 10:11:27 UTC
We run it from %pre section of a kickstart configuration file:

set $(list-harddrives)
instdrive=$1

but you could run it manually if you switch to shell prompt (Alt-F2) after anaconda starts

Here is the complete output:

Traceback (most recent call last):
  File "/usr/bin/list-harddrives", line 17, in ?
    import partedUtils
  File "/usr/lib/anaconda/partedUtils.py", line 25, in ?
    import fsset
  File "/usr/lib/anaconda/fsset.py", line 35, in ?
    import bootyutil
ImportError: No module named bootyutil

Comment 3 Vadym Chepkov 2011-07-08 13:35:21 UTC
Do you need any more updates from me, it would be unfortunate if it was broken in the final release.

Comment 4 Vadym Chepkov 2011-07-21 21:34:17 UTC
Redhat 5.7 was released with broken list-hardrives, this is very strange, I reported the problem well in advance. We would have to recommend our customers to skip version 5.7, since they rely on kickstart deployments

Comment 5 Magnus Hagebris 2011-07-21 22:18:43 UTC
Just add a Python path to the command.

I.e. call list-harddrives likes this:
PYTHONPATH=/usr/lib/booty list-harddrives

Comment 6 Pablo Iranzo Gómez 2011-07-25 16:14:54 UTC
I've hit this problem too with 5.7 release, we should get upgraded installation images fixing this...

Regards

Comment 7 RHEL Program Management 2011-08-05 12:34:12 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 8 Martin Gracik 2011-08-25 07:45:15 UTC
Fixed in anaconda-11.1.2.243-1

Comment 11 Chris Lumens 2011-10-21 20:34:31 UTC
*** Bug 748051 has been marked as a duplicate of this bug. ***

Comment 12 Alexander Todorov 2011-12-02 14:04:48 UTC
tested on anaconda-11.1.2.248-1.x86_64.rpm

# list-harddrives
vda 40954.7680664

Comment 13 errata-xmlrpc 2012-02-21 05:37:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0197.html


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