Bug 473103

Summary: preupgrade-1.0.0-1 refuses to upgrade raid0/raid5 root
Product: [Fedora] Fedora Reporter: Neal Becker <ndbecker2>
Component: preupgradeAssignee: Seth Vidal <skvidal>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 9CC: christof, fortran, ihok, pal666, red, russ+bugzilla-redhat, tonynolly, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-07 04:08:29 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Neal Becker 2008-11-26 10:21:45 EST
Description of problem:
vailable disk space for /var/cache/yum/preupgrade: 120.5GB                                           
Upgrade requires 500.0MB                                                                              
Available disk space for /usr: 117.6GB                                                                
Generating metadata for preupgrade repo                                                               
Traceback (most recent call last):                                                                    
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 237, in on_assistant_apply                     
    self._do_main()                                                                                   
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 256, in _do_main                               
    self.main_preupgrade()                                                                            
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 531, in main_preupgrade                        
    repopath=preupgrade.bootpath_to_anacondapath(cachedir,UUID=True)                                  
  File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 197, in bootpath_to_anacondapath                                                                                                     
    raise PUError, "/boot is on unbootable RAID level '%s'" % raid['level']                           
preupgrade.PUError: /boot is on unbootable RAID level 'raid0'  

But that's not true!  /boot is on it's own partition:
 mount
/dev/md0 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)        
sysfs on /sys type sysfs (rw)       
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw,noatime)         
tmpfs on /dev/shm type tmpfs (rw)                 
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw) 

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

preupgrade-1.0.0-1.fc9.noarch                                                                         

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Tony Nolly 2008-11-27 07:12:23 EST
Description of problem:

Traceback (most recent call last):
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 237, in on_assistant_apply
    self._do_main()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 256, in _do_main
    self.main_preupgrade()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 531, in main_preupgrade
    repopath=preupgrade.bootpath_to_anacondapath(cachedir,UUID=True)
  File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 197, in bootpath_to_anacondapath
    raise PUError, "/boot is on unbootable RAID level '%s'" % raid['level']
preupgrade.PUError: /boot is on unbootable RAID level 'raid5'


/boot on my system is on raid 5 partition, but is bootable from the mbr!



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

preupgrade-1.0.0-1.fc9.noarch
Comment 2 Will Woods 2008-11-27 17:49:41 EST
Yeah, this is a bug in preupgrade-1.0.0-1 - it will refuse to upgrade systems where the root partition is raid0 or raid5. A fix will be available soon.
Comment 3 Will Woods 2008-12-05 18:20:32 EST
*** Bug 474888 has been marked as a duplicate of this bug. ***
Comment 4 Jack Tanner 2008-12-15 00:41:05 EST
Dupe of bug 444497 ?
Comment 5 Will Woods 2008-12-15 12:11:39 EST
(In reply to comment #4)
> Dupe of bug 444497 ?

No - Similar symptom, completely different cause.
Comment 6 Will Woods 2008-12-15 17:30:45 EST
Built a fixed preupgrade-1.0.1 package, update will be available soon.

http://koji.fedoraproject.org/koji/buildinfo?buildID=73594

If possible, please install and test that build of preupgrade.
Comment 7 Fedora Update System 2008-12-16 17:35:35 EST
preupgrade-1.0.1-1.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/preupgrade-1.0.1-1.fc8
Comment 8 Fedora Update System 2008-12-16 17:38:28 EST
preupgrade-1.0.1-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/preupgrade-1.0.1-1.fc10
Comment 9 Fedora Update System 2008-12-16 17:38:28 EST
preupgrade-1.0.1-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/preupgrade-1.0.1-1.fc9
Comment 10 Christof Damian 2008-12-17 03:18:45 EST
I tried a fc9 -> f10 upgrade with a raid1 boot and raid5 root and it worked for me. That was with the version from koji.
Comment 11 Will Woods 2008-12-19 02:02:18 EST
*** Bug 477097 has been marked as a duplicate of this bug. ***
Comment 12 Fedora Update System 2008-12-21 03:22:52 EST
preupgrade-1.0.1-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update preupgrade'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-11587
Comment 13 Fedora Update System 2008-12-21 03:38:08 EST
preupgrade-1.0.1-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update preupgrade'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-11540
Comment 14 Fedora Update System 2008-12-21 03:45:28 EST
preupgrade-1.0.1-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update preupgrade'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11437
Comment 15 Fedora Update System 2009-01-07 04:07:34 EST
preupgrade-1.0.1-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 16 Fedora Update System 2009-01-07 04:08:13 EST
preupgrade-1.0.1-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 17 Fedora Update System 2009-01-07 04:23:58 EST
preupgrade-1.0.1-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 18 Serge Pavlovsky 2009-03-28 13:27:05 EDT
i have /boot on /dev/mapper/isw_cfidaabedc_Volume0p2 (software raid0)
and preupgrade-1.0.1-1.fc9.noarch doesnt work