autosubmit recovery possible bug ( to replicate)
Seems that in some cases autosubmit recovery -f doesn't work. I'm unable to replicate it, will try again.
Expid affected: a5nt
error:
[ERROR] Trace: Session not active: 'NoneType' object has no attribute 'open_session'
[CRITICAL] Couldn't restore the job_list or packages, check if the filesystem is having issues [eCode=7040]
More info at https://autosubmit.readthedocs.io/en/v3.14.0/troubleshooting/error-codes.html
Manual solution if it happens for more users:
- Put into non-active(waiting,completed,failed) status the active jobs ( submitted,running...)
- Run recovery without -f flag.
example:
autosubmit setstatus a5nt -fl "a5nt_20171215_336_LOCAL_SEND_EMISSIONS a5nt_20171215_000_340_LOCAL_SEND_INITIAL a5nt_20171215_000_336_LOCAL_SEND_CHEM" -t WAITING -s -nt -np
autosubmit recovery --all -s a5nt -np