Replies: 5 comments 5 replies
-
Solved after some digging. It appears that this was due to a problem with my ssh known_hosts. Having recently messed about with them, it seems I wasn't able to non-interactively ssh from my own machine to itself. This led to the cat command at line 32 of determine_source.py to fail, but resulted in an empty string for the dependencies rather than capturing a failure. |
Beta Was this translation helpful? Give feedback.
-
Hi Ben, Thanks for sharing your findings. I think adding a check on the return code of the ssh command would be a sensible step - I'll have a look at adding that. |
Beta Was this translation helpful? Give feedback.
-
I've got this issue too although I don't recall having messed around with my ssh known_hosts. I've checked out vn1.1 LFRic apps, but it is checking out the lfric_core head.
What was the solution @BShipway to get it working? I think a ticket that I'm reviewing may also have had this problem. Thanks, |
Beta Was this translation helpful? Give feedback.
-
I think I'm getting a related problem with ssh when using a working copy. I get this error
I can however ssh here from the command line just fine! On asking some of the cylc experts around me (I had another error running cylc previously) they suggested to add '-oStrictHostKeyChecking=no' to the ssh command. I added this to the determine_source.py and this works but obviously this is a local modification which isn't a permanent solution |
Beta Was this translation helpful? Give feedback.
-
[like] Samantha Adams reacted to your message:
…________________________________
From: Sam Clarke-Green ***@***.***>
Sent: Tuesday, November 5, 2024 10:41:08 AM
To: MetOffice/simulation-systems ***@***.***>
Cc: Samantha Adams ***@***.***>; Comment ***@***.***>
Subject: Re: [MetOffice/simulation-systems] Strange lfric_core export issue. (Discussion #237)
This email was received from an external source. Always check sender details, links & attachments.
The error indicates a mismatch between the stored host key in your ~/.ssh/known_hosts file and the current host key - which usually gets regenerated when the system is re-installed. Try running the following commands on the platform where the problem occurs:
ssh-keygen -R vld344
ssh -o StrictHostKeyChecking=no vld344 date
If this works, you should be able to repeat the ssh command without the StrictHostKeyChecking option and it shouldn't produce an error
—
Reply to this email directly, view it on GitHub<#237 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACA6LRVOCD26EWVQI2PJVH3Z7COEJAVCNFSM6AAAAABMZOXRLKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJVGMZDOOA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I've just started working with rose stem with vn1.1 lfric_apps and have hit a problem. The lfric_core_rev is not being picked up by the fcm export. E.g.
export lfric_core_rev=50658
export lfric_core_sources=
and yet, the log gives (head of trunk):
Exported revision 50871.
This is the case with a clean checkout of vn1.1 trunk. Others don't seem to have this issue, so it's likely something wrong with my environment. Anyone got any ideas?
Beta Was this translation helpful? Give feedback.
All reactions