<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><div class="gmail_default">Not sure if this is a labs-specific issue or just a stumper for me on how the infrastructure works, but I'm having trouble after the upgrade of tools-login submitting jobs from it to the grid engine in a way that worked pre-upgrade.</div><div class="gmail_default"><br></div><div class="gmail_default">I have a python script running from a virtualenv (I had to rebuild the virtualenv for the new python version,) which, when run from tools-login directly, runs fine, but when submitted via the grid engine, is unable to import the SSL module correctly (symptom: httplib2 does not initialize properly in a way that indicates SSL module did not load).</div><div class="gmail_default"><br></div><div class="gmail_default">I was originally running the virtualenv-installed python executable via its absolute path. I switched to sourcing c-env from the script and running the python so implied in hopes that might give me a better chance of the right environment; no luck.</div><div class="gmail_default"><br></div><div class="gmail_default">I have looked at specifying PYTHONPATH and examined sys.path from within the script to confirm it is the same in both cases.</div><div class="gmail_default"><br></div><div class="gmail_default">Does anyone have any thoughts on what might be going wrong? Could a system-wide SSL module that subtly doesn't work, or is absent, be implicated? Differences in what the module itself, if it is the same, is doing under the two conditions?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 22, 2015 at 2:39 PM, Yuvi Panda <span dir="ltr"><<a href="mailto:yuvipanda@gmail.com" target="_blank">yuvipanda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello!<br>
<br>
If you try to ssh to tools-login now, you might get a scary looking<br>
SSH warning. Do not fear! Things are all good. The new fingerprint is:<br>
<br>
f9:c1:53:72:f0:57:85:dd:6f:4d:cb:f6:d0:ce:84:aa<br>
<br>
And you can remove the entry line for tools-login from your<br>
~/.ssh/known_hosts and proceed to log in.<br>
<br>
Why was this happening? tools-login the old instance is a bit messed<br>
up, and the fastest way to restore service is to just create a new<br>
instance and point the old IP at it. This also allowed me to upgrade<br>
them to trusty, which would give you new versions of a lot of software<br>
:D We have preserved the old instance for forensics, and will figure<br>
out what had happened over the next few days.<br>
<br>
Thank you for your understanding, and sorry about the scare :)<br>
<span class=""><font color="#888888"><br>
--<br>
Yuvi Panda T<br>
<a href="http://yuvi.in/blog" target="_blank">http://yuvi.in/blog</a><br>
<br>
_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
</font></span></blockquote></div><br></div></div>