Bug 903930 - recipe for system with no power control can remain stuck in Waiting forever
Summary: recipe for system with no power control can remain stuck in Waiting forever
Keywords:
Status: CLOSED EOL
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard: Misc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-25 04:52 UTC by Dan Callaghan
Modified: 2020-04-21 08:46 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-21 08:46:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1414212 0 unspecified CLOSED Jobs are in queued/waiting will be hang if the system will be removed or disassociated from lab controller 2021-02-22 00:41:40 UTC

Internal Links: 1414212

Description Dan Callaghan 2013-01-25 04:52:28 UTC
Beaker supports using systems which lack automated power control (for example, a laptop) with the scheduler. In these cases it is assumed that the user will take some manual action to reboot the system and start the recipe, after Beaker has done the appropriate netboot configuration.

That works fine except if the user forgets to go and hit the power button. Beaker (intentionally?) doesn't set a watchdog kill time for such recipes. So if the recipe never starts, nothing will ever force it to be cleaned up and it will end up stuck in Waiting forever.

This is particularly problematic if the user *thinks* the system has automated power control, but it's just not configured in Beaker. In other words, Beaker doesn't know the difference between a system that lacks automated power control (like a laptop) and a system where the owner just forgot to configure it.

At a bare minimum, we should probably set a really generous initial watchdog kill time for such recipes, to catch cases where the user forgets to reboot and then the system is reserved for weeks on end doing nothing.

Comment 3 Martin Styk 2020-04-21 08:46:04 UTC
Closing this issue.
We are not planning to address this problem in the Beaker development lifecycle.

Instead of that, we are planning to continue our effort in building Beaker.NEXT.
If you have any questions, feel free to reach out to me.

Best regards,
Martin Styk


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