Project

Profile

Help

Issue #2278 » upgrade_validation-20160922172616.log

dad264, 09/22/2016 08:43 PM

 
waiting for mongodb
waiting for mongodb
waiting for mongodb
Traceback (most recent call last):
File "/usr/bin/pulp-manage-db", line 9, in <module>
load_entry_point('pulp-server==2.8.7', 'console_scripts', 'pulp-manage-db')()
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 203, in main
_logger.critical(str(e))
AttributeError: 'NoneType' object has no attribute 'critical'
pulp.server.db.model.Repository: Traceback (most recent call last):
File "/validation_check.py", line 139, in <module>
validation.check()
File "/validation_check.py", line 120, in check
self.check_model(item)
File "/validation_check.py", line 97, in check_model
for item in model.objects.as_pymongo().all():
File "/usr/lib/python2.7/site-packages/mongoengine/queryset/manager.py", line 37, in __get__
queryset = queryset_class(owner, owner._get_collection())
File "/usr/lib/python2.7/site-packages/mongoengine/document.py", line 210, in _get_collection
cls.ensure_indexes()
File "/usr/lib/python2.7/site-packages/mongoengine/document.py", line 766, in ensure_indexes
collection.create_index(fields, background=background, **opts)
File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 1380, in create_index
self.__create_index(keys, kwargs)
File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 1290, in __create_index
sock_info, cmd, read_preference=ReadPreference.PRIMARY)
File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line 205, in _command
read_concern=read_concern)
File "/usr/lib64/python2.7/site-packages/pymongo/pool.py", line 211, in command
read_concern)
File "/usr/lib64/python2.7/site-packages/pymongo/network.py", line 100, in command
helpers._check_command_response(response_doc, msg, allowable_errors)
File "/usr/lib64/python2.7/site-packages/pymongo/helpers.py", line 189, in _check_command_response
raise DuplicateKeyError(errmsg, code, response)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error index: pulp_database.repos.$repo_id_-1 dup key: { : null }
(1-1/2)