Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1348018

Summary: no watchdog for recipe after reboot
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: schedulerAssignee: Roman Joost <rjoost>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developCC: dcallagh, dowang, mjia, rjoost
Target Milestone: 23.0Keywords: Patch, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-07 23:09:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2016-06-20 01:18:23 UTC
Prior to Beaker 23, when a recipe's system was rebooted it would start the first task in the recipe. That had the very important side effect of setting the watchdog time (to 50 minutes usually, which was the task time for /distribution/install + 30 minutes, see also bug 
1138486).

As part of introducing the new Installing status (bug 991245), we no longer start the first task to indicate the installation has started:

https://git.beaker-project.org/cgit/beaker/commit/?id=0f055ba9961ab218656af20e01725f12043a7e9a

The watchdog time *is* now set when the install_started call happens, which covers most cases, but we do also need the watchdog time to be set immediately after rebooting in case the system never actually powers on (or fails to netboot properly, etc).

For now we could hardcode 50 minutes as the initial watchdog time, to restore the previous behaviour, with bug 1138486 as the RFE for making that configurable.

Comment 1 Dan Callaghan 2016-06-20 01:18:50 UTC
Unreleased regression on develop.

Comment 2 Roman Joost 2016-06-23 06:45:40 UTC
New patch in gerrit:

http://gerrit.beaker-project.org/5005

Comment 5 Dan Callaghan 2016-07-07 23:09:49 UTC
Beaker 23.0 has been released.