Bug 322421 - upgrade fc6-fc7 trashes system
Summary: upgrade fc6-fc7 trashes system
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 9
Hardware: i586
OS: Linux
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-10-07 19:39 UTC by Ray Todd Stevens
Modified: 2008-06-17 20:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-06-17 20:48:06 UTC
Type: ---

Attachments (Terms of Use)

Description Ray Todd Stevens 2007-10-07 19:39:03 UTC
In upgraded fro fc6 to fc7.   

I am using a raid1 to feed a lvm system.

The system now kernel panics with 

device-mapper: table 253:0: mirror: Device lookup failure

Comment 1 David Timms 2007-10-07 22:29:03 UTC
What process did you use to upgrade ? dvd, kickstart etc. Hardware or software

Comment 2 Ray Todd Stevens 2007-10-07 22:56:34 UTC
I used a cdrom boot 
selected the first option, "install upgrade ..."
then did a network, httpd upgrade

Doing linux software raid, two drives raid 1

Comment 3 Ray Todd Stevens 2007-10-09 21:48:05 UTC
I booted under fc7 rescue and it can find the system with no problems.   It just
won't boot.

I looked over the sysimage, and I can't find anything which seems to be a problem.

Comment 4 Ray Todd Stevens 2007-10-09 21:54:19 UTC
One additional piece of information.   This machine did start out as a fc5
machine which was upgraded to fc6 about 2 months ago.   Then it was upgraded to
fc7.   Now I do run weekly standard updates via yum.   So the fc6 was pretty
much up to date.

I have already had a problem where the fc6 stuff (in this case rpm) was more
current than the stuff that was loaded by fc7.   So the fc6 stuff was kept, but
fc7 needed its stuff.  Could this possibly be the problem here?

Comment 5 Ray Todd Stevens 2007-10-09 22:42:53 UTC
More additional information.   These are two ide (pata or however you want to
phrase it) drives.

Also just reran up to the point of selecting of the drives to upgrade the
upgrade process and it can still find the drives.   So it appears that the
problem is somewhere in the boot process.

Comment 6 Peter Jones 2007-10-17 17:13:34 UTC
There are two problems here; the first is that there's nothing prohibiting FC6
updates from being released with newer versions than their F7 counterparts.  The
second is that anaconda currently can't use multiple repos during upgrades. 
Both need to be rectified, but for the time being I'm going to treat this bug as
the former.

Comment 7 Luke Macken 2007-10-17 18:11:08 UTC
Bodhi (the system used to push updates for F7+) handles broken upgrade paths
properly.  The FC6 updates system, however, does not.  Since FC6 is going away
real soon, it's not worth the effort to fix this in the old system.

So, the problem then lies within the latter point of Comment #6.  Re-assigning
to anaconda.

Comment 8 Ray Todd Stevens 2007-10-17 18:35:33 UTC
But what can I do in the mean time to get this to work.

The machine I reported this on is a backup router, and has been out of service.
  I could reload this from scratch with fc7.  BUT I also have the primary router
to upgrade.   This is more problematic.   It would be a really major deal to
completely reload it.   And yes they have about the same hardware.

Comment 9 Luke Macken 2007-10-17 19:04:33 UTC
Re-assigning to anaconda guys.

Peter, do you happen to know which package is the culprit, so we can push a
newer version in F7 to hopefully resolve Ray's problem ?

Comment 10 Ray Todd Stevens 2007-10-17 19:17:05 UTC
The good news is that if you get something you think fixes the problem, this is
as I said a backup server, so it would be a case of "Oh Well I tried to avoid
this" if it totally messed things up and I did have to reload.   So I might make
a good tester for anything.

Comment 11 Ray Todd Stevens 2007-10-22 02:15:51 UTC
Well I needed to get on with this.   So I reloaded the system with fc7 from
scratch.   Everything worked great.   Now I have all the config files saves to I
have those back and active and it is working.

Now I still have had one additional bad run at doing a cdrom based upgrade to a
system.   This one was a shelf standby system so normally I would have just
don't a scratch load, but I wanted to test it.

This one was also a failure.   But  whole new error.   This one failed to do
something to the boot configuration, and so was still trying to load the old
kernel.   Forcing a load ot the new kernel made it work, but then I did a
scratch load of FC7.

There definitely seems to be a problem in the cdrom method of upgrading the
system from previous version to FC7.

If needed I could test on additional shelf systems we have around.   But what do
we need to test?

Incidentally do a web search on this upgrade method and you will find a rather
large body of people saying they are having the same kinds of problems.

Comment 12 Ray Todd Stevens 2007-10-26 21:33:53 UTC
Has there been any movement on getting the cdrom method of upgrades to work?

Comment 13 Ray Todd Stevens 2007-11-10 22:03:14 UTC
OK I have been working on this a little myself.

As I said I have some old trashable computers.   So I could load fc6 and they
upgrade it over and over again.

OK if you are running ide drives plain and without any lvm or raiding everything
works great.

If you are running software raid with the default raid level 0 and no lvm again
no problems.   On the other hand why in the world would someone default to raid
0.  But that is an opinion.   I always think of raid in terms of data integraty,
and raid 1 just gives you very unreliable but extra huge strage units.

NOW TO THE FAILURE MODES.   And I can now get this to be consistent. 
(Consistent is good right ;-) )

Install FC6 overrideing the default configuration.  Eliminate LVM and do
software RAID but RAID level 1 (mirroring)

The system starts the install and proceeds to the boot loader page.   You get
the message that it needs to install a fresh boot loader and informs you that
this is the default, BUT!!!! it defaults to do not do anything to the boot
loader.   If you take this default you are trashed and I can't find a way to
then get the system working (Why no option to reinstall the boot loader off of
the install disks ???)   If you override the default and select to install a new
boot loader configuration it will then load properly and boot fine.   THE

If you install fc6 and take the default lvm setup you get the above sequence.

If on the other hand you install FC6 and use lvm but override the default
configuration (put in a larger swap file and then setaside half of the lvm as
unassigned so it can be played with later which is something we frequently do)
then you are really screwed as I can't find a way to actually upgrade to FC7
without copying off the data and reformating and doing a scrach install and then
copying the data back on.   Not a very workable upgrade path. :-(   :-(   :-(

The install system actually does default to the proper load boot loader setting.
  But then it fails with the errors above 100% of the time.   If I were to guess
from looking at it it appears that the problem is that the lvm definition still
has the HD instead of the SD stuff in it.   As taking two scsi disks and doing
the same exact setup otehrwise does work.

Comment 14 Ray Todd Stevens 2007-11-20 14:33:30 UTC
Tried the same thing going fc6-fc8 with the same results, hoping that maybe the
fc7 stuff had a problem which had been fix in fc8.

Is this a documentation problem where I am using the wrong instructions, or is
this an intrinsic problem?

Comment 15 Bug Zapper 2008-05-14 14:38:58 UTC
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.

Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:

The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 16 Andy Lindeberg 2008-06-02 19:39:25 UTC
Does this issue persist with Fedora 9?

Comment 17 Ray Todd Stevens 2008-06-02 20:06:09 UTC
I don't have those machines anymore.  Well I have upgraded all but 1 with a new
install than a scratch reconfiguration.  That one is the one I have reported as
possibly be related to bug 430836.   

Now it was doing it for fc9 beta

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