Hi everyone. As of yesterday I keep getting this error message:
pxp-gturek:glo12_cylc gturek$ cylc install .
PluginError: Error in plugin cylc.pre_configure.rose
gaierror: [Errno 8] nodename nor servname provided, or not known: 'pxp-gturek.user.mercator-ocean.fr'
Same behavior with cylc-flow 3.6.4 and 3.6.5, metomi-rose 2.7.0 and 2.7.1
but I don’t think it’s got anything to do with cylc/rose software per se, rather some (network?) setting on my machine which somehow got changed.
Any ideas?
This looks like a network issue. Cylc needs to be able to move around the network (via SSH) in order to submit jobs, etc. To do this, Cylc needs to be able to lookup hosts by name and expects consistency between how one host identifies itself and how another host identifies it.
I think what’s happening here is that the host identified itself as pxp-gturek.user.mercator-ocean.fr, but when Cylc tried to lookup this hostname, no such host was found.
Cylc uses socket.getfqdn to determine a host’s name:
You can use those commands to test the theory. You may need to get the network people to look at it.
Aside; I think if you try running a workflow with no rose-suite.conf file that submits it’s jobs to another host on the network, you’ll likely hit the same error, just in a different place.