<div dir="ltr">About the only thing I can think of would be a diagram of how the parts interact, showing which files get used and where each process logs to. A walkthrough showing what happens from the click to the job submission and what files/processes control it would be super helpful. Maybe that is in the docs and I haven't found it yet. Poor grasp of ruby along with the way things are distributed/organized being unfamiliar makes it a bit confusing to sort out. For instance still digging around to see what I should change to add an option for number of cores to the bc_desktop app. Not sure how you can make me learn faster though :)<div><br></div><div>We have a number of home-grown things that run standalone in flask or some other "my favorite self-contained environment" that varies from user to user so I hope to become familiar with this as ood makes it super easy to set that kind of thing up. I'm sure I'll be back with more questions soon.<br><div><div><br></div><div>griznog</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 14, 2018 at 1:58 PM Franz, Eric <<a href="mailto:efranz@osc.edu">efranz@osc.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-1315301470823460932WordSection1">
<p class="MsoNormal">Any advice on what we could add to OOD to help you diagnose these problems? I remember that other sites have run into the same issues.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I you have any ideas, please feel free to share here or directly on the GitHub issue
<a href="https://github.com/OSC/ood-dashboard/issues/429" target="_blank">https://github.com/OSC/ood-dashboard/issues/429</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Eric<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">---<u></u><u></u></p>
<p class="MsoNormal">Eric Franz, Senior Web & Interface App Engineer<u></u><u></u></p>
<p class="MsoNormal">Ohio Supercomputer Center<u></u><u></u></p>
<p class="MsoNormal">An Ohio Technology Consortium (OH-TECH) Member<u></u><u></u></p>
<p class="MsoNormal">1224 Kinnear Road<u></u><u></u></p>
<p class="MsoNormal">Columbus, OH 43212<u></u><u></u></p>
</div>
<p class="MsoNormal">email: <a href="mailto:efranz@osc.edu" target="_blank">efranz@osc.edu</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">John Hanks <<a href="mailto:griznog@gmail.com" target="_blank">griznog@gmail.com</a>><br>
<b>Date: </b>Friday, December 14, 2018 at 4:52 PM<br>
<b>To: </b>"Franz, Eric" <<a href="mailto:efranz@osc.edu" target="_blank">efranz@osc.edu</a>><br>
<b>Cc: </b>"<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>" <<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>><br>
<b>Subject: </b>Re: [OOD-users] Can't connect to Desktop VNC<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Hi Eric, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks for following up, I finally got it sorted out, the problems were layered. First I had just inadvertently skipped a step in the install. Then my ondemand host didn't have it's FQDN set correctly so the links being generated were short
but needed to be FQDN. So far OOD is working great once all my self-inflicted wounds were bandaged up.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Best,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">griznog<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Dec 14, 2018 at 1:27 PM Franz, Eric <<a href="mailto:efranz@osc.edu" target="_blank">efranz@osc.edu</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">John / griznog,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Glad you found OnDemand! Sorry you are running into issues with noVNC.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">In addition to the Apache logs, you can also check the output of the job itself.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">On the webform for submitting an interactive app at the bottom under the Launch button there should be a link to the “data root directory”. Job data will appear under here in the
output/ directory. The directory names are currently UUID generated, since the staging occurs prior to the job starting.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Also, when launching the job, the Interactive Session card contains a “Session ID” which is that UUID. It is also a hyperlink. You can click it and it will open the Files app in
a new tab to that directory.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Two common problems to look for:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<ol start="1" type="1">
<li class="gmail-m_-1315301470823460932gmail-m-1833760771163868457msolistparagraph">
The launching of the interactive app fails, for whatever reason, prior to noVNC being able to connect. Hopefully you will see this by inspecting the job’s log files<u></u><u></u></li><li class="gmail-m_-1315301470823460932gmail-m-1833760771163868457msolistparagraph">
The compute node does not accept HTTP requests from the web node on the port the app is listening on, perhaps because iptables on the compute node have not been properly modified.<u></u><u></u></li></ol>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I opened an issue
<a href="https://github.com/OSC/ood-dashboard/issues/429" target="_blank">https://github.com/OSC/ood-dashboard/issues/429</a> to track making it easier to debug these common edge cases.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Hope that helps. Please let us know if you still run into issues.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Eric<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">---<u></u><u></u></p>
<p class="MsoNormal">Eric Franz, Senior Web & Interface App Engineer<u></u><u></u></p>
<p class="MsoNormal">Ohio Supercomputer Center<u></u><u></u></p>
<p class="MsoNormal">An Ohio Technology Consortium (OH-TECH) Member<u></u><u></u></p>
<p class="MsoNormal">1224 Kinnear Road<u></u><u></u></p>
<p class="MsoNormal">Columbus, OH 43212<u></u><u></u></p>
</div>
<p class="MsoNormal">email:
<a href="mailto:efranz@osc.edu" target="_blank">efranz@osc.edu</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">OOD-users <ood-users-bounces+efranz=<a href="mailto:osc.edu@lists.osc.edu" target="_blank">osc.edu@lists.osc.edu</a>> on behalf of John Hanks via OOD-users <<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>><br>
<b>Reply-To: </b>John Hanks <<a href="mailto:griznog@gmail.com" target="_blank">griznog@gmail.com</a>>, User support mailing list for Open OnDemand <<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>><br>
<b>Date: </b>Thursday, December 13, 2018 at 5:20 PM<br>
<b>To: </b>"<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>" <<a href="mailto:ood-users@lists.osc.edu" target="_blank">ood-users@lists.osc.edu</a>><br>
<b>Subject: </b>[OOD-users] Can't connect to Desktop VNC</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">Hi,
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I'm setting up ood for the first time and everything works great (ood is pretty awesome) except I can't connect to my VNC sessions. The job submission works, VNC starts (and I can
connect to it directly on 5901), websockify starts and is listening on it's port but noVNC doesn't connect and in the httpd access log I see:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">171.66.185.69 - - [13/Dec/2018:14:09:35 -0800] "GET /rnode/dper7425-srcf-d10-37/12618/websockify HTTP/1.1" 404 241 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/71.0.3578.80 Safari/537.36"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I changed the settings in the noVNC web app to Logging:debug, but it's not really clear where that output (if it exists) is going.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any pointers to where to go next to debug this are appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Best,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">griznog<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote></div>