Bug 1280284 - power on/off and clear_netboot actions out of sync, configure_netboot and "Distro Tree Provision" missing
Summary: power on/off and clear_netboot actions out of sync, configure_netboot and "Di...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-11 12:14 UTC by Jan Stancek
Modified: 2019-09-26 08:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-26 07:59:24 UTC
Embargoed:


Attachments (Terms of Use)

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:


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