Bug 688314

Summary: Exception when 'text ext4migrate' given as boot args during upgrade
Product: Red Hat Enterprise Linux 6 Reporter: Charlie Brady <charlieb-fedora-bugzilla>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: atodorov, rwilliam
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-13.21.122-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 10:30:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ScreenCapture of anaconda traceback none

Description Charlie Brady 2011-03-16 19:24:24 UTC
Exception is:

AttributeError: 'Storage' does not have attribute 'migrateFormat'

error is in line 94 of /usr/lib/anaconda/textw/upgrade_text.py:

  anaconda.id.storage.migrateFormat(entry, newfs)

bash-3.2$ grep -r migrateFormat anaconda-13.21.82
anaconda-13.21.82/textw/upgrade_text.py:                    anaconda.id.storage.migrateFormat(entry, newfs)
bash-3.2$ 

Result is that ext4migrate does not work in text mode.

Comment 1 Charlie Brady 2011-03-16 19:28:24 UTC
As expected, the exception does not occur in GUI mode.

Comment 2 Chris Lumens 2011-03-16 19:28:24 UTC
Please attach the complete traceback to this bug report.  Thanks.

Comment 4 Charlie Brady 2011-03-16 19:33:59 UTC
> Please attach the complete traceback to this bug report. 

I don't believe you need it, since line 94 of upgrade_text.py shows use of migrateFormat method which does not exist. However, I am happy to collect it, if you can tell me how to do so on a VMWare instance which has no floppy drive or USB devices.

BTW, you can easily replicate this yourself, but installing RHEL5, then attempt to upgrade to RHEL6 using 'linux text ext4migrate' on the syslinux command line.

Comment 6 Charlie Brady 2011-03-16 20:31:02 UTC
> http://fedoraproject.org/wiki/How_to_debug_installation_problems

I don't see that providing any information as to how I might copy an anaconda traceback file from the ramdisk onto somewhere where I can attach it to this bug report. I suppose you want me to type it in, even though, as I repeat, you do not need it, or can produce one yourself, by replicating the problem.

Comment 7 Charlie Brady 2011-03-16 20:45:38 UTC
Created attachment 485834 [details]
ScreenCapture of anaconda traceback

Traceback is readable in the attached screenshot PNG.

Comment 8 Chris Lumens 2011-03-29 14:08:07 UTC
Fixed on master by 710f0ea13a56ab518b3fa6cd0000ea53751cf848.

Comment 9 RHEL Program Management 2011-05-13 23:07:53 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 13 Alexander Todorov 2011-08-04 15:19:27 UTC
Since bug #712195 asks for the removal of ext4migrate option and was fixed in an earlier anaconda release and the patch from comment #8 is present in anaconda-13.21.125-1 I'm moving this bug to VERIFIED.

Comment 14 errata-xmlrpc 2011-12-06 10:30:41 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-2011-1565.html