Hi Dev community.

Regarding this jira issue.
https://issues.apache.org/jira/browse/VCL-760

Recently we had a need to do some post action on an image/environment
after the reservation had completed. Also think there had been some
previous requests for similar action.

Sdding a vcl_post_reservation script option would address this easily.
This would be similar to the vcl_post_load and vcl_post_reserve
scripts detailed here: http://vcl.apache.org/docs/vclPostScripts.html

While inserting the code for this. I was thinking if other vcl states
need to also run this vcl_post_reservation script. Like the timeout
case.

i.e. A user makes a reservation, hits the connect button but does not
connect to the machine. In normal reservations the machine does not
get reloaded, the OS is just sanitized. Does it make sense to also run
a vcl_post_reservation script here (if it exists in the image)?

Thoughts if any?
If none, I'll just proceed to only trigger the vcl_post_reservation
script (if exists) for reservations that proceeded into the inuse
state or are considered dirty.

Thanks,
Aaron


On Tue, May 13, 2014 at 2:18 PM, Aaron Peeler (JIRA) <[email protected]> wrote:
> Aaron Peeler created VCL-760:
> --------------------------------
>
>              Summary: add a vcl post reservation script
>                  Key: VCL-760
>                  URL: https://issues.apache.org/jira/browse/VCL-760
>              Project: VCL
>           Issue Type: Improvement
>           Components: vcld (backend)
>             Reporter: Aaron Peeler
>             Priority: Minor
>              Fix For: 2.3.3, 2.4
>
>
> add a call to a vcl_post_inuse script that if existed could be run when a 
> reservation is ended or over. The script is to be similar to the 
> vcl_post_load and vcl_post_reserve scripts.
>
> Possible use case is to unregister a machine from a larger service before 
> turning off / reloading.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.2#6252)



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Reply via email to