paster ensure_index
and paster setup-app
(which calls the ensure index code) fail with this exception. I think pretty much everything else should work since pymongo/Ming were upgraded to more recent versions in [bae38a]
16:11:11,573 INFO [allura.command] Updating indexes for main DB Traceback (most recent call last): File "/allura-data/virtualenv/bin/paster", line 9, in <module> load_entry_point('PasteScript==1.7.4.2', 'console_scripts', 'paster')() File "/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/script/command.py", line 104, in run invoke(command, command_name, options, args[1:]) File "/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke exit_code = runner.run(args) File "/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/script/command.py", line 238, in run result = self.command() File "/allura/Allura/allura/command/show_models.py", line 238, in command self._update_indexes(db[name], indexes) File "/allura/Allura/allura/command/show_models.py", line 260, in _update_indexes for iname, fields in collection.index_information().iteritems(): File "/allura-data/virtualenv/local/lib/python2.7/site-packages/pymongo/collection.py", line 1278, in index_information read_preference=ReadPreference.PRIMARY) File "/allura-data/virtualenv/local/lib/python2.7/site-packages/pymongo/database.py", line 345, in _command msg, allowable_errors) File "/allura-data/virtualenv/local/lib/python2.7/site-packages/pymongo/helpers.py", line 182, in _check_command_response raise OperationFailure(msg % errmsg, code, response) pymongo.errors.OperationFailure: command SON([('listIndexes', u'repo_ci'), ('cursor', {})]) on namespace allura.$cmd failed: no collection
db/8038
Nice fix.