When we run the following we get an error we are not sure how to correct. Ignoring the Rails error of course.
[wew@ondemand /var/www/ood/apps/sys/dashboard ]$ sudo su $USER -c âscl enable rh-ruby22 nodejs010 â bin/rake test:jobs:monsoon RAILS_ENV=productionâ
Rails Error: Unable to access log file. Please ensure that /var/www/ood/apps/sys/dashboard/log/production.log exists and is writable (ie, make it writable for user and group: chmod 0664 /var/www/ood/apps/sys/dashboard/log/production.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
Skipping âmonsoonâ as it doesnât allow job submission.
Weâre not sure about setup of the remote job submission portion under slurm on our Centos 6 cluster.
As some added information, our ondemand server has slurm and access to all the files, etc. I changed the yml file to point to the local ondemend machine and I still get the following error:
Skipping âmonsoonâ as it doesnât allow job submission.
I made a minor edit to your post - placing the ``` âfenced code blockâ. Once you see that you will notice that the job: key is not indented properly along with metadata and login. I think when you indent it so that it lines up with login and metadata the rake task will work again (though you will still see that annoying Rails Error about production log file - you can ignore that). After the fix:
This is actually a problem other people have faced. Which example did you start working from for the cluster config? Perhaps that example has bad formatting.
We actually started to experiment with a possible validator for these config files https://github.com/OSC/ood-dashboard/pull/402 but havenât completed that exploration yet. It looks like it would be better to push out something that would help in this situation even if it were suboptimal.
We can run jobs from the command line with slurm. The test fails though indicating that âSkipping âmonsoonâ as it doesnât allow job submission.â
Here is output from the command line:
[wew@ondemand /scratch/wew ]$ sbatch lazyjob.sh
Submitted batch job 14503803
So far so good with local password only. We were able to get a job to launch. Now weâre trying to get ldap authentication to work so we can open things up to our users.
Iâm closing this topic as it seems to be feature complete and/or solved. If youâve come here and you want it re-opened either open another similar topic or reach out to me directly so that I can re-open this topic.