[OOD-users] setup questions

Anderson, Richard O - (ric) ric at email.arizona.edu
Wed Jun 7 18:25:40 EDT 2017


This noise appears in nginx/ric/error.log
App 16412 stdout:
App 16412 stdout: [2017-06-07 15:18:39 -0700 sys/activejobs]  INFO "method=GET path=/pun/sys/activejobs/ format=html controller=PagesController action=index status=200 duration=41.87 view=41.52"
App 16412 stdout: [2017-06-07 15:18:39 -0700 sys/activejobs]  INFO "method=GET path=/pun/sys/activejobs/json format=json controller=PagesController action=json status=500 error='LoadError: Could not load 'pbs'. Make sure that the job adapter in the configuration file is valid.' duration=2.97 view=0.00"
App 16412 stdout: [2017-06-07 15:18:39 -0700 sys/activejobs] FATAL "LoadError (Could not load 'pbs'. Make sure that the job adapter in the configuration file is valid.):\n  app/controllers/pages_controller.rb:77:in `block in get_jobs'\n  app/controllers/pages_controller.rb:75:in `get_jobs'\n  app/controllers/pages_controller.rb:13:in `json'"

That smells like a config problem for sure - here's the config in question - maybe I botched something in "adapter:"?
[root at puddle ric]# cat /etc/ood/config/clusters.d/ocelote.yml
v2:
 metadata:
   title: "Ocelote"
 login:
   host: "login.ocelote.hpc.arizona.edu"
 job:
   adapter: "pbs"
   host: "login.ocelote.hpc.arizona.edu"
   lib: "/cm/shared/apps/pbspro/current/lib"
   bin: "/cm/shared/apps/pbspro/current/bin"

Thanks,
Ric
---


On 6/7/17, 3:16 PM, "Nicklas, Jeremy" <jnicklas at osc.edu> wrote:

    Hi Ric,
    
    That is a little hard to debug, but my first guess would be to check the cluster config file(s) under /etc/ood/config/clusters.d/*.yml and confirm it isn't misconfigured. As this doesn't have any sensitive information in it, would you mind pasting what you have for your cluster config here (or in a private email to me if you feel it is sensitive)?
    
    Also, since this is an error with an actual OOD app and not the Apache proxy, the log you will be most interested in should be under:
    
    /var/log/nginx/<username>/error.log
    
    Where you replace <username> with the user you are currently logged in as on OnDemand.
    
    Jeremy Nicklas
    Web and Interface App Engineer
    Ohio Supercomputer Center (OSC)
    A member of the Ohio Technology Consortium
    1224 Kinnear Road, Columbus, Ohio 43212
    Office: (614) 292-6739 • Mobile: (614) 316-6428 • Fax: (614) 292-7168
    jnicklas at osc.edu
    
    Learn more about OSC at https://osc.edu
    
    ________________________________________
    From: OOD-users [ood-users-bounces at lists.osc.edu] on behalf of Anderson, Richard O - (ric) [ric at email.arizona.edu]
    Sent: Wednesday, June 07, 2017 5:43 PM
    To: ood-users at lists.osc.edu
    Subject: [OOD-users] setup questions
    
    I walked thru the steps (skipping SSL and LDAP for now) to get OOD up on a test server.  Directory listings work as expected, as do logins and (if you run Chrome) the ssh tool - wish that worked in Safari, but…
    
    I get this error trying to show Active Jobs (either "Your Jobs", or "All Jobs").  The error is
      DataTables Warning: table id=job_status_table - Ajax error.  For more
      information about this error, please see http://datatables.net
    
    Since there's a metric ton of stuff in the queue according to qstat (none of it mine, BTW), I'd expect "All jobs" to show me something.  My guess is the PBS query is failing, but I'm not sure how to tell where or why.
    
    You can submit jobs from the host running the web service, as well as run qstat.  I didn't see anything helpful in /var/log/httpd24/error_log
    
    Thanks for any ideas,
    Ric
    ---
    
    



More information about the OOD-users mailing list