Bug 1280284 - power on/off and clear_netboot actions out of sync, configure_netboot and "Distro Tree Provision" missing
power on/off and clear_netboot actions out of sync, configure_netboot and "Di...
Status: NEW
Product: Beaker
Classification: Community
Component: lab controller (Show other bugs)
21
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: beaker-dev-list
tools-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-11 07:14 EST by Jan Stancek
Modified: 2015-11-11 07 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Stancek 2015-11-11 07:14:16 EST
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:

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