Bug 476372 - wait and retry doesn't wait
wait and retry doesn't wait
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-12-13 14:23 EST by Ray Todd Stevens
Modified: 2009-09-09 06:01 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-09-09 06:01:27 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 Ray Todd Stevens 2008-12-13 14:23:15 EST
Description of problem:

I have had a problem with a couple upgrades that have failed.  I have tracked down the problem or at least I think I have it appears that if you get one of those errors that asks if you want to abort or retry if after an hour or two you have not responded it aborts and reboots instead of waiting until a human notices and takes care of the problem.

Like a lot of people I do many of my installs and upgrades in the background of doing other things, as most of the process is a "hurry up and wait" situation.   So if I get involved with another project and don't get back immediately, or if I go run an errand and something happens that would be simple to fix if it waited instead it appears to just act on its own, and leaves a mess that takes longer to clean up.
Comment 1 Ray Todd Stevens 2008-12-29 21:27:57 EST
I am wondering if this has something to do with kick start.  All of the systems that I experienced this with have been using kick start files because of preupgrade.   As I understand this it automatically sets for a reboot at the end.   I am just wondering if these could be related and the end of the line reboot is triggering a reboot if an retry style error occurs.
Comment 2 Ray Todd Stevens 2009-01-09 11:52:05 EST
I probably should specify how I know what is going on here.   Several times I have started an upgrade or install, and went about other things.   Then I would go by the screen and notice the error message.   I would decide I didn't really have time at that minute to deal with figuring out the problem and the appropriate response.   Then when I come back with the time to deal with it the system will seem to have proceeded on its own.

As I said not good.
Comment 3 Chris Lumens 2009-02-04 17:15:49 EST
This is really weird.  I've never seen this behavior before, though the error paths here don't get the most testing.  If you are able to reproduce this, could you please attach /tmp/anaconda.log from the trouble machine to this bug report?  Grab the log after you've waited a long time, come back, and anaconda has proceeded on without you.  Thanks.
Comment 4 Ray Todd Stevens 2009-02-04 20:42:52 EST
I think you are missing the point here.   The problem is that generally this happens in a setting where the "continue" is to reboot mid install.  I have seen this on several machines.

The main reason I see this is a dumbly configured upstream firewall, or at least one that is not well configured for what I am doing.   I am doing network based installs.  It detects a whole lot of ftping from a single machine as a problem and does a 10 minute "cool out" on the machine blocking all ftp.   This causes an error on the part of the machine, which then allows a retry or abort and reboot.  If you don't retry soon enough it seems to automatically select the other option, which is the default option when this error comes up.   (That also should probably be fixed to have retry be the default option as this makes frankly more sense)   So it then reboots and log goes away.

So the continue and grab the tmp/anaconda.log thing will not work.   For debugging purposes it would be really cool if there was an option to duplicate this file somewhere that doesn't disappear when you reboot.   I have had several issues where the transient nature of this file has been a problem.
Comment 5 Ray Todd Stevens 2009-02-14 12:04:11 EST
Mater a fact in thinking about this problem defaulting the option of retry would entirely fix the problem.  If it retries and fails again no problem.   It is the automatically dumping out to a reboot that is the problem.   How about fixing this by setting the defaults on all of these retry/exit and reboots to retry.  This would be more convenient and logical on a lot of levels.
Comment 6 Ray Todd Stevens 2009-03-31 16:21:22 EDT
Well this seems to be fixed.   Now instead of the system just rebooting without waiting on a retry, it waits for you to select, but then reboots instead of retrying either way.   Don't know if we can call this "fixed", but I have filed a new bug report on the new behavior so I guess this one can be closed.

Definitely some more testing needed here.
Comment 7 Joel Andres Granados 2009-09-09 06:01:27 EDT
Closing based on commen #6.

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