You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pile d'exécution
File "/var/lib/jenkins/workspace/Shinken-Upstream-Daily-Long-Tests/test/jenkins/env2.7.6/local/lib/python2.7/site-packages/unittest2/case.py", line 67, in testPartExecutor
yield
File "/var/lib/jenkins/workspace/Shinken-Upstream-Daily-Long-Tests/test/jenkins/env2.7.6/local/lib/python2.7/site-packages/unittest2/case.py", line 597, in run
self.setUp()
File "/var/lib/jenkins/workspace/Shinken-Upstream-Daily-Long-Tests/test/tmp/mod-logstore-mongodb/test/test_livestatus_mongodb.py", line 254, in setUp
self.init_livestatus(dbmodconf=dbmodconf)
File "/var/lib/jenkins/workspace/Shinken-Upstream-Daily-Long-Tests/test/shinken_modules.py", line 126, in init_livestatus
self.livestatus_broker.db.open()
File "modules/logstore-mongodb/module.py", line 175, in open
raise LiveStatusLogStoreError(err)
"'module' object has no attribute 'Connection'
The text was updated successfully, but these errors were encountered:
I ran into the same thing, but hit the other mongo module first. See shinken-monitoring/mod-retention-mongodb#8
I've made a fix for the issue in a fork of that module and I'm currently testing with pymongo 2.6.2 and 3.0.1. So far so good. The fix is fairly minimal. I'll apply the same logic to this module and see if I can get this to work with 2.x and 3.x version of pymongo.
See commit 2d4e23e
and :
https://test.savoirfairelinux.com/view/Shinken/job/Shinken-Upstream-Daily-Long-Tests/1961/
The text was updated successfully, but these errors were encountered: