Bug 1280284

Summary: power on/off and clear_netboot actions out of sync, configure_netboot and "Distro Tree Provision" missing
Product: [Retired] Beaker Reporter: Jan Stancek <jstancek>
Component: lab controllerAssignee: beaker-dev-list
Status: CLOSED INSUFFICIENT_DATA QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: alemay, jburke, mjia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-26 07:59:24 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 Jan Stancek 2015-11-11 12:14:16 UTC
Description of problem:
While running a job where same machine was targeted to install various distros and cancelling some of these recipes, beaker got into state where it powered on system before it set up netboot for next recipe. Entries such as "Distro Tree Provision" and "configure_netboot" are missing entirely in activity logs:

  Scheduler 2015-11-11 06:32:05 +01:00 Power off Completed
  Scheduler 2015-11-11 06:32:00 +01:00 Power clear_netboot Completed
alemay Scheduler 2015-11-11 06:31:48 +01:00 User Returned alemay	
  Scheduler 2015-11-11 05:41:33 +01:00 Power off Completed
  Scheduler 2015-11-11 05:41:27 +01:00 Power clear_netboot Completed
  Scheduler 2015-11-11 05:41:27 +01:00 Power on Completed
alemay Scheduler 2015-11-11 05:41:25 +01:00 User Reserved alemay
alemay Scheduler 2015-11-11 05:41:20 +01:00 User Returned alemay	
  Scheduler 2015-11-11 05:41:19 +01:00 Power off Completed
  Scheduler 2015-11-11 05:41:14 +01:00 Power configure_netboot Completed
  Scheduler 2015-11-11 05:41:13 +01:00 Power clear_logs Completed
  Scheduler 2015-11-11 05:41:12 +01:00 Power off Completed
  Scheduler 2015-11-11 05:41:07 +01:00 Power clear_netboot Completed
alemay Scheduler 2015-11-11 05:41:04 +01:00 Distro Tree Provision Fedora-20 s390x
alemay Scheduler 2015-11-11 05:40:54 +01:00 User Reserved alemay

1. Fedora-20 recipe was running
2. Andrew cancelled Fedora-20 recipe, all looks OK so far
3. Beaker should continue with RHEL5 recipe
4. system is reserved for Andrew, then powered on, netboot is cleared and system is powered off, recipe then times out

PROBLEM is that power actions and netboot actions appear to be out of sync:
a) system should not be powered on before netboot is ready
b) actions "Distro Tree Provision" and "configure_netboot" for RHEL5 recipe are missing

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

How reproducible:
rare

Steps to Reproduce:
unknown, it looks like you have to time cancelling recipe in right moment

Actual results:
System failed to run RHEL5 recipe
power actions and netboot actions look out of sync
some netboot actions are missing

Expected results:
power actions and netboot actions are in sync

Additional info: