Commit 09570ab0 authored by Leigh Stoller's avatar Leigh Stoller

Do not terminate quarantined experiments that have expired, not a good

thing to do and it fails at the cluster anyway.
parent 375bf8e6
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2016 University of Utah and the Flux Group.
# Copyright (c) 2008-2017 University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
......@@ -258,6 +258,7 @@ sub ExpireInstances()
"left join geni.geni_slices as s on s.uuid=a.slice_uuid ".
"where (a.status='ready') and ".
" a.admin_lockdown=0 and s.lockdown=0 and ".
" a.paniced=0 and ".
" (UNIX_TIMESTAMP(now()) > ".
" UNIX_TIMESTAMP(s.expires))");
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment