Changes between Version 43 and Version 44 of RoseCylc/Hints


Ignore:
Timestamp:
26/07/16 12:29:26 (4 years ago)
Author:
annette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • RoseCylc/Hints

    v43 v44  
    9696 
    9797== Troubleshooting common errors ==  
     98 
     99=== rose host-select archer error ===  
     100 
     101If your PUMA and ARCHER usernames are different you may see the following when submitting a suite:  
     102 
     103{{{ 
     104RosePopenError?: bash -ec H=$(rose\host-select\archer);\echo\$H # return-code=1, stderr= 
     105[WARN] login5.archer.ac.uk: (ssh failed) 
     106[WARN] login7.archer.ac.uk: (ssh failed) 
     107….. 
     108[FAIL] No hosts selected 
     109}}} 
     110 
     111This is because rose is running a command called `rose host-select` to chose a machine to submit the suite to. The Met Office use this to choose the least loaded machine; and we use it for ARCHER to mitigate against situations where some of the ARCHER login nodes are down.  
     112 
     113To get this to work you will need to follow 2 steps:  
     114 
     115i) Configure your SSH settings so that it knows your ARCHER username. Open the file `~/.ssh/config` and add the following lines to the top of the file, replacing `<archer-username>` with your username:  
     116{{{ 
     117Host login*.archer.ac.uk 
     118   User <archer-username>  
     119}}} 
     120 
     121To check this is working correctly, try to login to ARCHER without your username:  
     122{{{ 
     123ssh login.archer.ac.uk 
     124}}} 
     125 
     126ii) Next run the following script which logs into each of the hosts to add them to your `~/.ssh/known_hosts` file. (Otherwise `rose host-select` will not be able to connect).  
     127{{{ 
     128~um/um-training/setup-archer-hosts  
     129}}} 
     130 
     131Note that if the script can't connect to one of the hosts, for example because it is down, `rose host-select` won't be able to access it. This shouldn't matter too much if it is just one host, but you can add the host at a later time by re-running the script.  
     132 
     133To check this has worked correctly, run the command: {{{rose host-select archer}}} and it should return an active host.  
     134 
     135You should now be able to submit your suite successfully.  
    98136 
    99137=== Rosie go asks for "username for u" ===