You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2015/12/15 17:34:45 UTC

[allura:tickets] #8038 Support mongo 3.x



---

** [tickets:#8038] Support mongo 3.x**

**Status:** open
**Milestone:** unreleased
**Labels:** mongo 
**Created:** Tue Dec 15, 2015 04:34 PM UTC by Dave Brondsema
**Last Updated:** Tue Dec 15, 2015 04:34 PM UTC
**Owner:** nobody


`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
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8038 Support mongo 3.x

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: mongo, sf-current, sf-2 --> mongo, sf-2



---

** [tickets:#8038] Support mongo 3.x**

**Status:** closed
**Milestone:** unreleased
**Labels:** mongo sf-2 
**Created:** Tue Dec 15, 2015 04:34 PM UTC by Dave Brondsema
**Last Updated:** Mon Jan 18, 2016 03:34 PM UTC
**Owner:** Dave Brondsema


`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
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8038 Support mongo 3.x

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: mongo --> mongo, sf-current



---

** [tickets:#8038] Support mongo 3.x**

**Status:** open
**Milestone:** unreleased
**Labels:** mongo sf-current 
**Created:** Tue Dec 15, 2015 04:34 PM UTC by Dave Brondsema
**Last Updated:** Tue Dec 15, 2015 04:34 PM UTC
**Owner:** nobody


`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
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8038 Support mongo 3.x

Posted by Heith Seewald <hs...@slashdotmedia.com>.
- **Reviewer**: Heith Seewald



---

** [tickets:#8038] Support mongo 3.x**

**Status:** review
**Milestone:** unreleased
**Labels:** mongo sf-current sf-2 
**Created:** Tue Dec 15, 2015 04:34 PM UTC by Dave Brondsema
**Last Updated:** Tue Jan 12, 2016 03:37 PM UTC
**Owner:** Dave Brondsema


`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
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8038 Support mongo 3.x

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: mongo, sf-current --> mongo, sf-current, sf-2
- **status**: in-progress --> review
- **Comment**:

db/8038



---

** [tickets:#8038] Support mongo 3.x**

**Status:** review
**Milestone:** unreleased
**Labels:** mongo sf-current sf-2 
**Created:** Tue Dec 15, 2015 04:34 PM UTC by Dave Brondsema
**Last Updated:** Mon Jan 11, 2016 10:27 PM UTC
**Owner:** Dave Brondsema


`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
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8038 Support mongo 3.x

Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: open --> in-progress
- **assigned_to**: Dave Brondsema



---

** [tickets:#8038] Support mongo 3.x**

**Status:** in-progress
**Milestone:** unreleased
**Labels:** mongo sf-current 
**Created:** Tue Dec 15, 2015 04:34 PM UTC by Dave Brondsema
**Last Updated:** Mon Jan 11, 2016 04:25 PM UTC
**Owner:** Dave Brondsema


`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
~~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.