Connection.yml is generated slowly

Congratulations on the release of OOD 3.1.

I tried it right away, but an issue occurred.
When I submit an interactive job, the following error occurs.

#<Errno::ENOENT: No such file or directory @ rb_sysopen - /home/users/masahiro.nakao/ondemand/data/sys/dashboard/batch_connect/sys/desktop/output/ec133a4f-868a-4b11-b62d-b8a9d8fc0f0d/connection.yml>

When I get this error and immediately run ls ~/ondemand/data/sys/dashboard/batch_connect/sys/desktop/output/ec133a4f-868a-4b11-b62d-b8a9d8fc0f0d/connection.yml, this file certainly does not exist. However, wait a few seconds and this file will be generated.

/home is NFS mounted, so I thought that synchronization was the problem. But my understanding is that connection.yml is generated by the server where OOD is installed. The above ls command is also executed on the same server. So I think it’s because for some reason it’s checking connection.yml before that file is generated.

Is there any solution to this issue?


Yea, sorry about that CSC just patched that and I’ll try to release the fix for it today.

The connection.yml is generated during the job’s runtime because the host & port aren’t known until the job is running.

3.1.1 has been released with this bugfix.

1 Like