Bug 684788

Summary: Can't return the machine because of active recipe, which is already finished.
Product: [Retired] Beaker Reporter: Martin Banas <mbanas>
Component: lab controllerAssignee: Bill Peck <bpeck>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.6CC: bpeck, dcallagh, eguan, mcsontos, rmancy, stl
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: 2011-03-24 04:43:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Banas 2011-03-14 13:58:07 UTC
Description of problem:
I'm not able to return the machine to beaker.
https://beaker.engineering.redhat.com/view/ibm-ls22-03.rhts.eng.brq.redhat.com

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

How reproducible:
sometimes it happens

Steps to Reproduce:
1. Provision the machine
2. When the machine is installed, you got email etc., cancel the job
  
Actual results:
Sometimes the job is cancelled but the machine is not returned.
Failed to return ibm-ls22-03.rhts.eng.brq.redhat.com: u'System has active recipe 103220'

Expected results:
1. If possible please fix the issue, it happened to me more than once.
2. Please return the machine for me.

Comment 1 Bill Peck 2011-03-14 15:50:33 UTC
We have an update scheduled for this next upgrade which we hope will fix this issue.

I've returned the system for you.

A workaround can be done by using the command line:

bkr job-cancel RS:87136

Comment 2 Raymond Mancy 2011-03-22 01:46:11 UTC
0.6.7 adds a reservation_table primarily deisigned to be used by 680497. However it should also help with this issue as well.