Rake test:jobs failed

I have setup the new installation with latest OOD. I have setup the cluster and try to follow the steps to test configuration and getting below error

[root@rc-ood-03 dashboard]# su itamboli -c 'source /opt/ood/ondemand/enable; bin/rake test:jobs RAILS_ENV=production'
Testing cluster 'hpc'...
Submitting job...
Got job id '42'
Job has status of queued
Job has status of completed
Output file from job does not exist: /nfs/itamboli/test_jobs/output_hpc_2023_08_23t14_05_49_03_00_log
Test for 'hpc' FAILED!
Finished testing cluster 'hpc'
Abort testing: Your Rails environment is running in production mode!
[root@rc-ood-03 dashboard]#

My cluster yaml is below

    title: "HPC Cluster"
    host: "rc-ood-01.ood.poc"
    adapter: "slurm"
    cluster: "hpc"
    bin: "/usr/bin"
    conf: "/etc/slurm/slurm.conf"
      header: "#!/bin/bash"
      script_wrapper: |
        module purge
      header: "#!/bin/bash"
      script_wrapper: |
        module purge
        export PATH="/opt/TurboVNC/bin:$PATH"
        export WEBSOCKIFY_CMD="/usr/local/bin/websockify"

I don’t think you want to issue this with the RAILS_ENV=production environment variable. Does the documentation tell you to set the RAILS_ENV?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.