• Leigh Stoller's avatar
    CM changes to termination and panic. · 937d633f
    Leigh Stoller authored
    * For termination, added a flag to the slice that marks it for
      termination. DeleteSlice sets this if the slice is
      "busy" (start,restart,reload) and the "cancel" flag is provided.  We
      also mark the underlying experiment as canceled, to stop ossetup and
      osload early. We then wait for "busy" to clear, and then kill the
      slice. The new termination flag in the slice is used by the expire
      daemon, in case our wait loop dies early (say, boss reboot), we can
      catch the the termination there instead.
    
    * Panic gets essentially the same changes as termination, except of
      course instead of terminating, we put the underlying experiment into
      panic mode.
    
    Note that we still need to be able to lock the slice to do either
    termination or panic, and so the caller has to be able to deal with
    retrying if they get back a busy response. In general, we do not lock
    slices for very long except during reload and restart, I am still
    working on dropping the lock during those (like we already do for
    Start). Disk imaging is another place we currently need to wait for,
    that needs to be worked on as well.
    937d633f
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
addauthority.in Loading commit data...
advt-merge.py.in Loading commit data...
aptssh-setup.in Loading commit data...
cacontrol.in Loading commit data...
ch_daemon.in Loading commit data...
chstats.in Loading commit data...
cleanupslice.in Loading commit data...
cleanupticket.in Loading commit data...
creategeniuser.in Loading commit data...
delegatecredential.in Loading commit data...
deleteimagedata.in Loading commit data...
delgeniuser.in Loading commit data...
deploy-rspec Loading commit data...
expire_daemon.in Loading commit data...
fixcerts.in Loading commit data...
genadmincredential.in Loading commit data...
genallow_extcred.in Loading commit data...
gencabundle.in Loading commit data...
gencrl.in Loading commit data...
gencrlbundle.in Loading commit data...
genextendcred.in Loading commit data...
genspeaksfor.in Loading commit data...
getcacerts.in Loading commit data...
getchcredential.in Loading commit data...
getimagedata.in Loading commit data...
getversion.in Loading commit data...
initcerts.in Loading commit data...
initclrhouse.in Loading commit data...
initsite.in Loading commit data...
listactive.in Loading commit data...
listhistory.in Loading commit data...
listusage.in Loading commit data...
maptoslice.in Loading commit data...
mondbd.in Loading commit data...
openvpn-setup.in Loading commit data...
parsecert.in Loading commit data...
planetlab-initscript.pl Loading commit data...
planetlab-initscript.sh Loading commit data...
postcrl.in Loading commit data...
postimagedata.in Loading commit data...
register_resources.in Loading commit data...
register_sliver.in Loading commit data...
remauthority.in Loading commit data...
reregister.in Loading commit data...
reservevlans.in Loading commit data...
resolve-ch.in Loading commit data...
resolve.in Loading commit data...
resolvenode.in Loading commit data...
rspeclint.in Loading commit data...
sa_daemon.in Loading commit data...
secureimageget.in Loading commit data...
setexpiration.in Loading commit data...
shellinabox.pl.in Loading commit data...
shutdownslice.in Loading commit data...
sliveraction.in Loading commit data...
testclrhouse.in Loading commit data...
triggerimageupdate.in Loading commit data...
unquote Loading commit data...
update.in Loading commit data...
updatecert.in Loading commit data...
updategeniuser.in Loading commit data...
verifycert.in Loading commit data...
webcacontrol.in Loading commit data...
webcreategeniuser.in Loading commit data...
webmaptoslice.in Loading commit data...
webquickvm.in Loading commit data...
webupdategeniuser.in Loading commit data...
webverifycert.in Loading commit data...