Katello/katello — pull request #1569 by mbacovsky (2013-02-12 16:32:32+00:00)
Title: Fixed issue with connecting to pulp db

On some instance pulp was getting connection refused from mongo db. I was unable to investigate why it behaves like this but it seems related to [1]. When the connector code was extracted from Pulp to separate file it worked (WSGI perhaps?). It also worked when bind_ip in mongo config was commented out as was suggested in some comments on SO.c

Some log showing the behaviour [2]

[1] http://stackoverflow.com/questions/6499268/mongodb-connection-refused
[2] http://fpaste.org/KWE0/