Erroneously report of successful connection when pk auth is not set
I have set up an Autosubmit experiment for the first time (Autosubmit version 3.13, loaded with module load autosubmit/3.13.0-foss-2015a-Python-2.7.9
), following instructions detailed in https://earth.bsc.es/gitlab/ces/precisionoptimizationworkflow4nemo/-/wikis/Create-experiment-from-a34a, using my mn0.bsc.es and bscearth000 accounts for the first time. I had set up ssh public key authentication from bscesautosubmit01 to mn0.bsc.es, but not from bscesautosubmit01 to bscearth000. Here's an excerpt of the relevant platforms configuration:
[login0]
# Queue type. Options: ps, SGE, LSF, SLURM, PBS, eceaccess
TYPE = ps
HOST = mn0.bsc.es
PROJECT = bsc32
USER = bsc32936
SCRATCH_DIR = /gpfs/scratch
ADD_PROJECT_TO_HOST = false
[local_machine]
TYPE = ps
HOST = bscearth000
PROJECT = Earth
USER = dtrujill
SCRATCH_DIR = /esarchive/scratch
Autosubmit (correctly) reported no issues with mn0.bsc.es, since it can establish connection and run the permission tests (I believe are: https://earth.bsc.es/gitlab/es/autosubmit/-/blob/master/autosubmit/platforms/paramiko_platform.py#L1040). But since bscearth000 only could be accessed by password authentication (using my user), Autosubmit was unable to establish connection, yet (erroneously) reported it could. Here's the output of the autosubmit run <expid>
command:
dtrujill@bscesautosubmit01:/esarchive/autosubmit/a44v> autosubmit run a44v -nt
Checking configuration files...
expdef_a44v.conf OK
platforms_a44v.conf OK
jobs_a44v.conf OK
wrappers OK
autosubmit_a44v.conf OK
Configuration files OK
Autosubmit is running with 3.13.0
Preparing .lock file to avoid multiple instances with same experiment id
Starting job submission...
Creating jobs...
Loading JobList
Adding dependencies...
Removing redundant dependencies...
Checking scripts...
12 of 48 checked
24 of 48 checked
36 of 48 checked
48 of 48 checked
Scripts OK
Autosubmit is running with v3.13.0
[CRITICAL] Autosubmit couldn't set your experiment as running on the main database. Exception: unable to open database file[eCode=7003]
Checking the connection to all platforms in use
[marenostrum4] Connection successful to host mn0.bsc.es
[marenostrum4] Correct user privileges for host mn0.bsc.es
[local_machine] Connection successful to host bscearth000
[login0] Connection successful to host mn0.bsc.es
[login0] Correct user privileges for host mn0.bsc.es
[ERROR] Trace:
[local_machine] has configuration issues. Check the parameters that build the root_path are correct:{scratch_dir/project/user} = {/esarchive/scratch/Earth/dtrujill}
[CRITICAL] Issues while checking the connectivity of platforms. [eCode=7010]
More info at https://autosubmit.readthedocs.io/en/latest/faq.html
dtrujill@bscesautosubmit01:/esarchive/autosubmit/a44v>
Thanks!