Re: Patch to fix automatic update bug where it waits for Begin Installation to be clicked on F19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> We have seen automated installs get stuck waiting for a human to click the
> "Begin Installation" button in the Anaconda Hub on Fedora 19; the patch
> below is one route to fixing this.
> 
> class Hub function _update_spokes is responsible for "clicking"
> the "Begin Installation" button when flags.automatedInstall is
> True.
> 
> But this does not always happen because there can be a HUB_CODE_MESSAGE
> queued up after the last HUB_CODE_READY. For example the following
> anaconda.log extract show the sequence that waits for user input:
> 
> 12:11:48,563 INFO anaconda: Thread Done: AnaExecuteStorageThread 
> (140112910321408)
> 12:11:48,576 DEBUG anaconda: updating hostname localhost.localdomain
> 12:11:48,597 DEBUG anaconda: updating hostname localhost.localdomain
> 12:11:48,607 INFO anaconda: fs space: 4.09 GB  needed: 3 GB
> 12:11:48,607 INFO anaconda: spoke is ready: 
> <pyanaconda.ui.gui.spokes.storage.StorageSpoke object at 0x7f6e956f0b90>
> 12:11:48,607 INFO anaconda: setting 
> <pyanaconda.ui.gui.spokes.network.NetworkSpoke object at 0x7f6e956db750> 
> status to: Wired (eth0) connected
> 12:11:48,697 INFO anaconda: Thread Done: AnaCustomStorageInit 
> (140112840689408)
> 12:11:54,622 INFO anaconda: Thread Done: AnaNTPserver0 (140112830719744)
> 
> Here it is the NetworkSpoke that sends "Wired (eth0) connected".
> 
> The patch set "click_continue_deferred" when the continueButton would
> be clicked if only the Hub queue was empty. Then honours the action
> after processing the HUB_CODE_MESSAGE.
> 
> The patch is against the code in anaconda-19.30.13-1.fc19.x86_64.

This looks like the same problem (and a pretty similar patch to)
1c46dc0a31b6122e29db8aa497bdce058ce45732 from master, which was just
pushed at the end of October.  You may wish to pull that patch from git
and adapt it to your F19 media.  If that doesn't fix up the problem for
you, I guess we've got more work to do.

Thanks for the patch!

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux