Bug 761552

Summary: [RFE] sent notification to user before reservation of a host runs out
Product: [Retired] Beaker Reporter: Stefan Assmann <sassmann>
Component: schedulerAssignee: beaker-dev-list
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.7CC: bpeck, cbouchar, mcsontos, mjia, ohudlick, rbiba, stl, tools-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: Misc
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-19 22:20:09 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 Stefan Assmann 2011-12-08 15:27:02 UTC
Description of problem:
Happened to me multiple times now that I reserved a host via the web UI (max reservation time 7 days) and at the 7th day I forgot to extend the reservation so my host was gone along with all the debug data on it.

It would be nice to have a reminder email sent, let's say 24h, before the reservation expires. That way you get reminded to check if you still need the host or not.
Would have saved me a couple of times already.

For people who do (not) wish this email, having a preference setting in the webUI could be a good idea as well.

Thanks!

Comment 1 Nick Coghlan 2012-10-17 04:37:32 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 2 Miroslav Franc 2013-03-19 14:25:53 UTC
Additionally would be good idea to sent notification an hour before via wall command.

Comment 3 Radek Bíba 2013-03-20 08:31:36 UTC
This has happened to me, too. An early warning would definitely be appreciated.

Comment 5 matt jia 2014-05-28 06:52:58 UTC
This will be resolved in this proposal which I am working on. Hopefully can get it implemented in beaker 0.17.

https://beaker-project.org/dev/proposals/beaker-usage-report-emails.html

Cheers, Matt Jia

Comment 6 Dan Callaghan 2015-05-04 05:57:06 UTC
The usage reminder system implemented in Beaker 0.18 does indeed remind you about reservations which are going to end soon -- but it doesn't remind you any fixed amount of time beforehand. The reminders are only sent once per day at a fixed time. So for example, the reminder might be sent at 04:00 and the reservation might expire at 07:30 before you arrive at your desk. This has caught out a few people before.

So I will leave this RFE open, about sending a reminder a fixed amount of time before a reservation ends.

We will probably need it to be opt-in as well, or only enabled for reservations which were originally longer than X days. If I run a recipe with a 24-hour reservesys at the end I don't really need a reminder send immediately after the reserve notification is sent.

Comment 7 Nick Coghlan 2015-05-04 06:59:45 UTC
As I recall, the other wrinkle we came up with is that if your reservation expires on Sunday or early Monday morning, you really want to receive a notice the previous Friday, rather than on the Saturday. A possible way of tackling that might be:

1. Only enable this for 7+ day reservations
2. Send reminders at 72, 48 and 24 hours to expiry

Comment 8 Dan Callaghan 2015-10-05 23:58:23 UTC
*** Bug 1184279 has been marked as a duplicate of this bug. ***

Comment 9 Stefan Assmann 2018-06-07 10:36:04 UTC
given the last update date, should we close this?

Comment 10 Radek Bíba 2018-06-07 10:44:55 UTC
I'd still appreciate it if the ideas in comments 6 and 7 could be implemented.