New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble getting client on SGE cluster using MongoDB backend #8657
Comments
This is likely a failure to connect to MongoDB. @jakirkham can you show the contents of the ipcluster log file? |
Sure. It doesn't say much, but this is what is in the ipcluster log.
Also, this is the content of
Finally, this is the
There was no |
There might be log files in ~/.ipython/profile_default/log with more info. But from the timestamps it looks like the problem may be the engines starting too early, before the controller is ready for them. |
When creating these settings, I made a new profile called
|
This API for PyMongo was deprecated and then removed before switching to 3.x. More info here ( http://api.mongodb.org/python/2.8.1/api/pymongo/connection.html ). |
@minrk, I submitted a fix for this bug in the PR above. |
Also, submitted a fix to ipyparallel. |
@jakirkham thanks! |
Thanks for pointing me in the right direction, @minrk. I added a fix for 2.x above. Is it worth having this ported back any further? |
It's probably not worth backporting to 2.x. There will not be another 2.x release. |
Ah ok, sorry. It has been removed. |
@minrk, is there any plan as to when the next 3.x release might be? |
No plan. Probably soon, since we have a few small fixes we want to push. |
Thanks for the recent iPython 3.2.2 release, @minrk. I am going to go ahead and close this as the fix has been applied and released in iPython 3.x and will soon be released in ipyparallel 4.x. |
If I specify that I want to use the MongoDB backend in
ipcluster_config.py
, I find I am unable to runClient(profile=<PROFILE_NAME>)
without always getting anIOError
.Eventually, the cluster disbands of its own accord suggesting that it failed to connect. However, I don't see this with the default database backed (i.e. NoDB) or the sqlite backend (i.e. SQLiteDB).
I am using iPython ( 3.2.1 ), MongoDB ( 2.4.6 ), and PyMongo ( 3.0.3 ).
The text was updated successfully, but these errors were encountered: