Accessing EOS from REANA

I’m currently trying to understand how to access EOS files in reana and running into issues.

I followed the instructions here http://docs.reana.io/advanced-usage/storage-backends/eos/ but don’t seem to be able to get it to work.

As an example I’ve set up the correct secrets and submitted a very simple job:

version: 0.6.0
workflow:
      type: serial
      specification:
        steps:
          - name: test
            environment: 'reanahub/krb5'
            kerberos: true
            commands:
            - klist
            - cat /eos/user/b/broberts/test/test.txt

The log for this is:

==> Job logs
==> Step: test
==> Workflow ID: a8e67d1f-874e-48c5-8f17-38f467a24d9d
==> Compute backend: Kubernetes
==> Job ID: 86a50509-90eb-4a60-b622-5106b55d5d8b
==> Docker image: reanahub/krb5
==> Command: klist
==> Status: finished
==> Logs:
krb5: 
  
job: 
 Ticket cache: FILE:/krb5_cache/krb5_1000
Default principal: broberts@CERN.CH

Valid starting     Expires            Service principal
05/07/20 14:00:01  05/08/20 15:00:01  krbtgt/CERN.CH@CERN.CH
	renew until 05/12/20 14:00:01
 

==> Step: test
==> Workflow ID: a8e67d1f-874e-48c5-8f17-38f467a24d9d
==> Compute backend: Kubernetes
==> Job ID: 54e84ca2-a127-4815-be52-df8ebe83b12b
==> Docker image: reanahub/krb5
==> Command: cat /eos/user/b/broberts/test/test.txt
==> Status: failed
==> Logs:
krb5: 
  
job: 
 cat: /eos/user/b/broberts/test/test.txt: No such file or directory

(I have triple checked and the file definitely exists in that location.)
If anyone could offer help or guidance on this issue that would be much appreciated.

Hi @broberts, I confirm there are indeed troubles accessing EOS volumes on REANA. We shall look at fixing the problem.

Hello @broberts, welcome to the REANA forum.

We have identified the root cause of this issue and it is now solved in the production instance https://reana.cern.ch. We are now investigating with the CERN cloud team how to prevent this from happening in the future.

Should you have any other problem related to this issue please do not hesitate to tell us here.

Thanks for contributing!

1 Like