Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
I am migrating our production pulp instance from 2.7 to 2.10.
The data migration (triggered by pulp-manage-db) failed:
Applying migration pulp_rpm.plugins.migrations.0031_regenerate_repo_unit_counts failed.
Halting migrations due to a migration failure.
Cursor not found, cursor id: 102945255089
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 194, in main
return _auto_manage_db(options)
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 257, in _auto_manage_db
migrate_database(options)
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 124, in migrate_database
update_current_version=not options.test)
File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/models.py", line 186, in apply_migration
migration.migrate()
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/migrations/0031_regenerate_repo_unit_counts.py", line 48, in migrate
for repo in repos_collection.find():
File "/usr/lib64/python2.7/site-packages/pymongo/cursor.py", line 1114, in next
if len(self.__data) or self._refresh():
File "/usr/lib64/python2.7/site-packages/pymongo/cursor.py", line 1056, in _refresh
self.__max_await_time_ms))
File "/usr/lib64/python2.7/site-packages/pymongo/cursor.py", line 926, in __send_message
codec_options=self.__codec_options)
File "/usr/lib64/python2.7/site-packages/pymongo/helpers.py", line 123, in _unpack_response
raise CursorNotFound(msg, 43, errobj)
CursorNotFound: Cursor not found, cursor id: 102945255089
The migration was added as part of 2.8.5 Pulp. This bug will be experienced by users with a large number of repositories.
Comment 1pulp-infra@redhat.com
2016-12-13 16:42:07 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 2pulp-infra@redhat.com
2016-12-13 16:42:09 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Comment 4pulp-infra@redhat.com
2016-12-16 14:01:10 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 5pulp-infra@redhat.com
2016-12-16 15:32:42 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 6pulp-infra@redhat.com
2016-12-16 18:11:57 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Comment 7pulp-infra@redhat.com
2016-12-16 18:31:07 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.
Comment 8pulp-infra@redhat.com
2017-01-10 02:01:41 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
Comment 9pulp-infra@redhat.com
2017-01-16 21:01:57 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:0447
I am migrating our production pulp instance from 2.7 to 2.10. The data migration (triggered by pulp-manage-db) failed: Applying migration pulp_rpm.plugins.migrations.0031_regenerate_repo_unit_counts failed. Halting migrations due to a migration failure. Cursor not found, cursor id: 102945255089 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 194, in main return _auto_manage_db(options) File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 257, in _auto_manage_db migrate_database(options) File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 124, in migrate_database update_current_version=not options.test) File "/usr/lib/python2.7/site-packages/pulp/server/db/migrate/models.py", line 186, in apply_migration migration.migrate() File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/migrations/0031_regenerate_repo_unit_counts.py", line 48, in migrate for repo in repos_collection.find(): File "/usr/lib64/python2.7/site-packages/pymongo/cursor.py", line 1114, in next if len(self.__data) or self._refresh(): File "/usr/lib64/python2.7/site-packages/pymongo/cursor.py", line 1056, in _refresh self.__max_await_time_ms)) File "/usr/lib64/python2.7/site-packages/pymongo/cursor.py", line 926, in __send_message codec_options=self.__codec_options) File "/usr/lib64/python2.7/site-packages/pymongo/helpers.py", line 123, in _unpack_response raise CursorNotFound(msg, 43, errobj) CursorNotFound: Cursor not found, cursor id: 102945255089 The migration was added as part of 2.8.5 Pulp. This bug will be experienced by users with a large number of repositories.