hep-gc / cloud-scheduler

Automatically boot VMs for your HTC jobs
http://cloudscheduler.org
Apache License 2.0
3 stars 0 forks source link

vms in retired resources can be lost during quickrestart #475

Open mhpx opened 6 years ago

mhpx commented 6 years ago

Looks like anything in retired resources might disappear or get lost during a quickrestart due to way persistence file is being reloaded.

mhpx commented 6 years ago

seems the retired_resources are not saved in the pickle file in the first place. https://github.com/hep-gc/cloud-scheduler/blob/dev/cloudscheduler/cloud_management.py#L1119 only self.resources is pickled, not self.retired_resources