can't run `rose suite-run` for a suite name that already exists in ~/cylc-run at 7.8.0

32 views
Skip to first unread message

Jonny Williams

unread,
Mar 5, 2019, 4:04:10 PM3/5/19
to cylc
hey there

i am getting this error at version 7.8.0 when i try and run `rose suite-run` for a suite which has been run before.

[FAIL] cylc register u-be817 /home/williamsjh/cylc-run/u-be817 # return-code=1, stderr=
[FAIL] ERROR: the name 'u-be817' already points to ...
[FAIL] Use --redirect to re-use an existing name and run directory.

is this a feature of the new version?

thanks!

jonny

Bruno P. Kinoshita

unread,
Mar 5, 2019, 4:20:42 PM3/5/19
to cylc
Hi Jonny,

Yes, in 7.8.0 these issues from the changelog refer to this new behaviour.



I used to have a suite called "test" re-use that name. Now, as my environment is for development, most of the times I just wipe my cylc-run directory before working on something new, or use the --redirect option if appropriate. I believe you will probably want to use the redirect option.

Cheers
Bruno

--

---
You received this message because you are subscribed to the Google Groups "cylc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cylc+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jonny Williams

unread,
Mar 5, 2019, 4:23:27 PM3/5/19
to cy...@googlegroups.com
Thanks Bruno!

If I’m right then the redirect option is a flag to cylc register? How is this used within rose suite-run?  This is how we launch our suites. Thanks!


You received this message because you are subscribed to a topic in the Google Groups "cylc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cylc/dFd4oWrioC4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cylc+uns...@googlegroups.com.

Matt Shin

unread,
Mar 5, 2019, 4:48:37 PM3/5/19
to cylc
This is fixed by https://github.com/cylc/cylc/pull/2906 for cylc-7.8.1.

Jonny Williams

unread,
Mar 5, 2019, 4:50:18 PM3/5/19
to cy...@googlegroups.com
ok cool, thanks matt

Hilary Oliver

unread,
Mar 5, 2019, 6:00:06 PM3/5/19
to cy...@googlegroups.com

Hi Jonny,

The "--redirect" option allows you to re-use an already-registered suite name (and therefore an existing suite run directory) for another suite. That's no longer allowed by default because it can be dangerous - the new suite would overwrite important files in the run directory, which is not good if you accidentally re-used the old name.

Unfortunately this is somewhat broken at cylc-7.8.0 when suites are launched with "rose suite-run".

By experiment the problem occurs if you "rose suite-run" (but not restart) an existing pre-7.8.0 suite using cylc-7.8.0; OR if you "rose suite-run" a suite with no existing run directory from scratch.

Matt has just note that cylc-7.8.1 fixes the problem, but until that's installed locally, the workaround is to remove the symlink ~/cylc-run/<SUITE>/.service/source before doing "rose suite-run" (this should only need to be done once).

Hilary
 

Jonny Williams

unread,
Mar 5, 2019, 11:01:15 PM3/5/19
to cy...@googlegroups.com
thanks a lot hilary for the comprehensive info! that's great. not a problem for now at all.

cheers

j

Hilary Oliver

unread,
Mar 6, 2019, 12:10:22 AM3/6/19
to cy...@googlegroups.com
Hi Jonny,

Note we now have cylc-7.8.1 and rose-2019.01.0 installed as well.

Hilary

Jonny Williams

unread,
Mar 6, 2019, 5:28:38 PM3/6/19
to cy...@googlegroups.com
ok yep awesome, all working perfectly now! ☺

thanks a lot

jonny
Reply all
Reply to author
Forward
0 new messages