yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #31212
[Bug 1441393] [NEW] keystone unit tests fail with pymongo 3.0
Public bug reported:
pymongo 3.0 was released 2015-04-07. This causes keystone tests to fail:
Traceback (most recent call last):
File "keystone/tests/unit/test_cache_backend_mongo.py", line 357, in test_correct_read_preference
region.set(random_key, "dummyValue10")
...
File "keystone/common/cache/backends/mongo.py", line 363, in get_cache_collection
self.read_preference = pymongo.read_preferences.mongos_enum(
AttributeError: 'module' object has no attribute 'mongos_enum'
Traceback (most recent call last):
File "keystone/tests/unit/test_cache_backend_mongo.py", line 345, in test_incorrect_read_preference
random_key, "dummyValue10")
...
File "keystone/common/cache/backends/mongo.py", line 168, in client
self.api.get_cache_collection()
File "keystone/common/cache/backends/mongo.py", line 363, in get_cache_collection
self.read_preference = pymongo.read_preferences.mongos_enum(
AttributeError: 'module' object has no attribute 'mongos_enum'
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1441393
Title:
keystone unit tests fail with pymongo 3.0
Status in OpenStack Identity (Keystone):
New
Bug description:
pymongo 3.0 was released 2015-04-07. This causes keystone tests to fail:
Traceback (most recent call last):
File "keystone/tests/unit/test_cache_backend_mongo.py", line 357, in test_correct_read_preference
region.set(random_key, "dummyValue10")
...
File "keystone/common/cache/backends/mongo.py", line 363, in get_cache_collection
self.read_preference = pymongo.read_preferences.mongos_enum(
AttributeError: 'module' object has no attribute 'mongos_enum'
Traceback (most recent call last):
File "keystone/tests/unit/test_cache_backend_mongo.py", line 345, in test_incorrect_read_preference
random_key, "dummyValue10")
...
File "keystone/common/cache/backends/mongo.py", line 168, in client
self.api.get_cache_collection()
File "keystone/common/cache/backends/mongo.py", line 363, in get_cache_collection
self.read_preference = pymongo.read_preferences.mongos_enum(
AttributeError: 'module' object has no attribute 'mongos_enum'
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1441393/+subscriptions
Follow ups
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Thierry Carrez, 2015-07-30
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Doug Hellmann, 2015-06-23
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Alan Pevec, 2015-06-19
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Thierry Carrez, 2015-04-23
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Thierry Carrez, 2015-04-18
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Adam Gandelman, 2015-04-10
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Alan Pevec, 2015-04-09
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Thierry Carrez, 2015-04-09
-
[Bug 1441393] Re: Keystone and Ceilometer unit tests fail with pymongo 3.0
From: Flavio Percoco, 2015-04-09
-
[Bug 1441393] Re: keystone unit tests fail with pymongo 3.0
From: Alan Pevec, 2015-04-08
-
[Bug 1441393] Re: keystone unit tests fail with pymongo 3.0
From: Alan Pevec, 2015-04-08
-
[Bug 1441393] [NEW] keystone unit tests fail with pymongo 3.0
From: Brant Knudson, 2015-04-08
References