Skip to content

autosubmit recovery possible bug ( to replicate) #1012

@kinow

Description

@kinow

In GitLab by @dbeltrankyl on Apr 12, 2023, 12:36

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:

  1. Put into non-active(waiting,completed,failed) status the active jobs ( submitted,running...)
  2. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtestingThe development is ready to test or already under testing

Type

No type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions