Bug 603069 - reserved machine is returned into inventory when a panic occurs
Summary: reserved machine is returned into inventory when a panic occurs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: 0.5
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-11 13:30 UTC by Jiri Pirko
Modified: 2019-05-22 13:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-13 18:39:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Jiri Pirko 2010-06-11 13:30:06 UTC
Version-Release number of selected component (if applicable):
0.5.42 

How reproducible:
always

Steps to Reproduce:
1. reserve a machine (for example via WebUI Scheduler->Reserve)
2. do a panic on the machine (for example with "echo "c" > /proc/sysrq-trigger")
3. observe
  
Actual results:
Machine is returned into inventory

Expected results:
Machine is not returned into inventory

Comment 1 Bill Peck 2010-06-16 19:14:12 UTC
beaker supports active monitoring for panics.  If you want to disable this then please add the following to your recipe

<recipe .../>
  <watchdog panic="ignore"/>
</recipe>

Should this be the default for reserve workflow?

Comment 2 Jiri Pirko 2010-06-16 22:01:38 UTC
(In reply to comment #1)
> beaker supports active monitoring for panics.  If you want to disable this then
> please add the following to your recipe
> 
> <recipe .../>
>   <watchdog panic="ignore"/>
> </recipe>
> 
> Should this be the default for reserve workflow?    

Definitely. When I reserve a machine for some testing, panic is usually likely to appear. Therefore ignoring it should be the default behaviour.

Comment 3 Han Pingtian 2010-07-02 03:10:12 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > beaker supports active monitoring for panics.  If you want to disable this then
> > please add the following to your recipe
> > 
> > <recipe .../>
> >   <watchdog panic="ignore"/>
> > </recipe>
> > 
> > Should this be the default for reserve workflow?    
> 
> Definitely. When I reserve a machine for some testing, panic is usually likely
> to appear. Therefore ignoring it should be the default behaviour.    

Yep, I definitely agree that 'ignore' should be the default behaviour.

Thanks.


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