-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent state when experiment_uuid deleted #436
Comments
Do you know if E.g. in recent merged changes, if it finds an
or warning if there's no UUID in metadata - (below has UUID removed from metadata.yaml and a legacy archive exists with no corresponding metadata)
or subsequent setups
|
So sorry to have wasted your time. Yes you are correct, I was using inconsistent versions of If I redo those commands but instead use
Thanks for looking into that and finding my mistake @jo-basevi. Glad it was a stuff up on my part and not a code issue. |
The archive symlink is still pointing towards an old archive. It will use the new archive and re-setup the symlink when archive runs as part of |
I managed to get a
payu
control directory into an inconsistent state by deleting theexperiment_uuid
frommetadata.yaml
and then doingpayu setup
.payu
version is431-Recover-from-incomplete-checkout
branch from PR #435Details
I cloned a standard release config:
So it has a generated a new UUID
At this stage it looks fine. I then removed the
experiment_uuid
frommetadata.yaml
and tried to runpayu setup
:So it now thinks it is a legacy experiment and finds an existing
work
directory.Force it to sweep and create a new
work directory
:Now the
archive
is pointing at the same location from the beginning, but thework
is pointing to the legacy location:Now it might be answer is "don't do that", but it is quite a confusing situation to get into with a relatively small change.
The text was updated successfully, but these errors were encountered: