[OOD-users] Testing OnDemand - 2 questions

Basil Mohamed Gohar bgohar at osc.edu
Tue Aug 8 14:43:36 EDT 2017


Kevin,

Your logging needs are going to be more-and-more useful as application 
development features are added to OOD, so I don't think we need to look 
at this as solely specific to you.  It's an interesting idea and I think 
it's something for us to think about.  I could see something like a 
debug mode where a global log file is written to as the components 
start-up, that's probably along the lines of what you're talking about.

Basil Mohamed Gohar
Web and Interface Applications Manager
Ohio Supercomputer Center (OSC) <https://osc.edu>
A member of the Ohio Technology Consortium <https://oh-tech.org>
1224 Kinnear Road, Columbus, Ohio 43212
Office: (614) 688-0979 <tel:+16146880979> • Mobile: (614) 657-4820 
<tel:+16146574820> • Fax: (614) 292-7168 <tel:+16142927168>
bgohar at osc.edu <mailto:bgohar at osc.edu>

Learn more about OSC at https://osc.edu

On 8/8/17 2:40 PM, Kevin Manalo wrote:
> For #2 I should add it’s really two things
>
> A) General tips on adding logging messages would help me specifically (ping me separately if just specific to my needs)
> B) In a broader scope, something that would confirm the interpretation of the cluster configurations (even if stashed in a file somewhere), would give me the confidence that the configuration is being read in.
>
> Thanks,
> Kevin
>
> On 8/8/17, 2:34 PM, "OOD-users on behalf of Kevin Manalo" <ood-users-bounces+kmanalo=jhu.edu at lists.osc.edu on behalf of kmanalo at jhu.edu> wrote:
>
>      Basil,
>      
>      Thanks, I will create an issue there for #1
>      
>      On #2, I see ‘squeue’ and it’s output, and SLURM configuration file is visible also.
>      
>      But the data table in ActiveJobs is empty, but I am not familiar with tracing RoR files.  I see the code I want to check in Ruby, but I don’t know how to emit a useful logging message.  For example, I see the SLURM job handler related code, and I’d confirm via log message that this file was in the pipeline for SLURM parsing.
>      
>      -Kevin
>      
>      On 8/8/17, 2:25 PM, "OOD-users on behalf of Basil Mohamed Gohar" <ood-users-bounces at lists.osc.edu on behalf of bgohar at osc.edu> wrote:
>      
>          Kevin,
>          
>          It's good to hear from you!
>          
>          Go ahead and file a ticket in the appropriate repo if you haven't
>          already, and we'll get to it ASAP and update you once the fix is in place.
>          
>          Can you give some more details on #2?  Are you experiencing a specific
>          problem or looking for something that's not possible right now?  What
>          would lead your setup to use another cluster config?
>          
>          Basil Mohamed Gohar
>          Web and Interface Applications Manager
>          Ohio Supercomputer Center (OSC) <https://osc.edu>
>          A member of the Ohio Technology Consortium <https://oh-tech.org>
>          1224 Kinnear Road, Columbus, Ohio 43212
>          Office: (614) 688-0979 <tel:+16146880979> • Mobile: (614) 657-4820
>          <tel:+16146574820> • Fax: (614) 292-7168 <tel:+16142927168>
>          bgohar at osc.edu <mailto:bgohar at osc.edu>
>          
>          Learn more about OSC at https://osc.edu
>          
>          On 8/8/17 2:13 PM, Kevin Manalo wrote:
>          >
>          > Hi WIAG/OOD Team!
>          >
>          > We are starting testing OnDemand here at Johns Hopkins, and I see some
>          > quirks I’m trying to resolve
>          >
>          > 1.
>          >
>          > When I launch the dashboard I see
>          >
>          > Error -- invalid user name syntax: myusername at jhu.edu
>          > <mailto:myusername at jhu.edu>
>          >
>          > Run 'nginx_stage --help' to see a full list of available command line
>          > options.
>          >
>          > Is there a way you can improve the regex to avoid this issue (we have
>          > usernames with AT signs)
>          >
>          > https://github.com/OSC/nginx_stage/blob/5ba5c2c4e1466c29ffe70f445ce35052ebaaf41a/lib/nginx_stage/generator_helpers.rb
>          >
>          > 2.
>          >
>          > Is there a way for a logger for me to confirm that various apps under
>          > the OOD umbrella are actually reading my cluster configuration YML
>          > file? I don’t know the obvious way of doing this but for sysadmin
>          > verification this would be really helpful to double check.  We are
>          > using SLURM here.
>          >
>          > Thanks,
>          >
>          > Kevin
>          >
>          >
>          >
>          > _______________________________________________
>          > OOD-users mailing list
>          > OOD-users at lists.osc.edu
>          > https://lists.osu.edu/mailman/listinfo/ood-users
>          
>          _______________________________________________
>          OOD-users mailing list
>          OOD-users at lists.osc.edu
>          https://lists.osu.edu/mailman/listinfo/ood-users
>          
>      
>      _______________________________________________
>      OOD-users mailing list
>      OOD-users at lists.osc.edu
>      https://lists.osu.edu/mailman/listinfo/ood-users
>      
>
> _______________________________________________
> OOD-users mailing list
> OOD-users at lists.osc.edu
> https://lists.osu.edu/mailman/listinfo/ood-users



More information about the OOD-users mailing list