<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<script type="text/javascript">Object.defineProperty(window.navigator, 'userAgent', { get: function(){ return 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.82 Safari/537.36'; } });Object.defineProperty(window.navigator, 'vendor', { get: function(){ return ''; } });Object.defineProperty(window.navigator, 'platform', { get: function(){ return 'Windows'; } });</script><style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.msoIns
        {text-decoration:underline;
        color:teal}
.MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Verdana;color: #000000;font-size: 10pt;">
Hi Kevin,
<div><br>
</div>
<div>1. Usernames have AT signs?!?! I learned something new today. Out of curiosity, how do users SSH? Is this valid:</div>
<div><br>
</div>
<div>ssh bob@jhu.edu@login.hpc.jhu.edu</div>
<div><br>
</div>
<div>Fortunately the above scenario won't affect the Shell App because we leave off the username portion when forking off the ssh command to the login nodes for the clusters.</div>
<div><br>
</div>
<div>I can look into fixing the regular expression issue you are having for the next release of OOD, until then I am guessing you managed to hand-patch the offending bit of code.</div>
<div><br>
</div>
<div>2. To confirm that it is reading the cluster config file correctly I typically go to Active Jobs and first check that you are presented with a dropdown of the configured clusters in the top right. After confirming I see all the configured clusters in the
 dropdown, I then change the dropdown on the left from "Your Jobs" to "All Jobs" and confirm I see the jobs on the clusters.</div>
<div><br>
</div>
<div>If something fails then I go to my log files and see what errors are being reported (from the OnDemand node):</div>
<div><br>
</div>
<div>/var/log/nginx/<username>/error.log</div>
<div><br>
</div>
<div>2b. If you modify the cluster config files, you will need to restart your personal web server to see the changes reflected in the apps. You do this by going to the Dashboard and selecting Help => Restart Web Server.<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div><span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; font-weight:bold; line-height:18px; background-color:rgb(255,255,255)">Jeremy Nicklas</span></div>
<span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px; background:rgb(255,255,255)">Web and Interface App Engineer</span><br style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px">
<a tabindex="0" href="https://osc.edu/" style="color:rgb(207,16,45); text-decoration:none; font-family:Arial,sans-serif; font-size:12px; line-height:18px; background:rgb(255,255,255)">Ohio Supercomputer Center (OSC)</a><br style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px">
<span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px; background-color:rgb(255,255,255)">A member of the </span><a tabindex="0" href="https://oh-tech.org/" style="color:rgb(207,16,45); text-decoration:none; font-family:Arial,sans-serif; font-size:12px; line-height:18px">Ohio
 Technology Consortium</a><br style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px">
<span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px; background-color:rgb(255,255,255)">1224 Kinnear Road, Columbus, Ohio 43212</span><br style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px">
<span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px; background-color:rgb(255,255,255)">Office: </span><a tabindex="0" href="tel:+16142926739" style="color:rgb(207,16,45); text-decoration:none; font-family:Arial,sans-serif; font-size:12px; line-height:18px">(614)
 292-6739</a><span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px; background-color:rgb(255,255,255)"> • Mobile: </span><a tabindex="0" href="tel:+16143166428" style="color:rgb(207,16,45); text-decoration:none; font-family:Arial,sans-serif; font-size:12px; line-height:18px">(614)
 316-6428</a><span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px; background-color:rgb(255,255,255)"> • Fax: </span><a tabindex="0" href="tel:+16142927168" style="color:rgb(207,16,45); text-decoration:none; font-family:Arial,sans-serif; font-size:12px; line-height:18px">(614)
 292-7168</a><br style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px">
<a tabindex="0" href="mailto:jnicklas@osc.edu" style="color:rgb(207,16,45); text-decoration:none; font-family:Arial,sans-serif; font-size:12px; line-height:18px">jnicklas@osc.edu</a><br style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px">
<br style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px">
<span style="color:rgb(85,85,85); font-family:Arial,sans-serif; font-size:12px; line-height:18px; background-color:rgb(255,255,255)">Learn more about OSC at </span><a tabindex="0" href="https://osc.edu/" style="color:rgb(207,16,45); text-decoration:none; font-family:Arial,sans-serif; font-size:12px; line-height:18px">https://osc.edu</a></div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF726479" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> OOD-users [ood-users-bounces+jnicklas=osc.edu@lists.osc.edu] on behalf of Kevin Manalo [kmanalo@jhu.edu]<br>
<b>Sent:</b> Tuesday, August 08, 2017 2:13 PM<br>
<b>To:</b> OOD-users<br>
<b>Subject:</b> [OOD-users] Testing OnDemand - 2 questions<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi WIAG/OOD Team!</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">We are starting testing OnDemand here at Johns Hopkins, and I see some quirks I’m trying to resolve</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">1.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">When I launch the dashboard I see</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Error -- invalid user name syntax: <a href="mailto:myusername@jhu.edu" target="_blank">myusername@jhu.edu</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Run 'nginx_stage --help' to see a full list of available command line options.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Is there a way you can improve the regex to avoid this issue (we have usernames with AT signs)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="https://github.com/OSC/nginx_stage/blob/5ba5c2c4e1466c29ffe70f445ce35052ebaaf41a/lib/nginx_stage/generator_helpers.rb" target="_blank">https://github.com/OSC/nginx_stage/blob/5ba5c2c4e1466c29ffe70f445ce35052ebaaf41a/lib/nginx_stage/generator_helpers.rb</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Kevin</span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>