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.
Created attachment 1183784[details]
Console output
Description of problem: While performing an upgrade of satellite6-ops.rhev-ci-vms.eng.rdu2.redhat.com using snap http://ohsnap-satellite6.itos.redhat.com/releases/6.2.0/snaps/21.1 we encountered the following error:
Applying migration pulp.server.db.migrations.0016_remove_repo_content_unit_owner_type_and_id failed.
Halting migrations due to a migration failure.
reading doc for external sort failed:errno:0 Success
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/db/manage.py", line 193, in main
return _auto_manage_db(options)
File "/usr/lib/python2.6/site-packages/pulp/server/db/manage.py", line 256, in _auto_manage_db
migrate_database(options)
File "/usr/lib/python2.6/site-packages/pulp/server/db/manage.py", line 124, in migrate_database
update_current_version=not options.test)
File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/models.py", line 186, in apply_migration
migration.migrate()
File "/usr/lib/python2.6/site-packages/pulp/server/db/migrations/0016_remove_repo_content_unit_owner_type_and_id.py", line 31, in migrate
remove_duplicates(collection)
File "/usr/lib/python2.6/site-packages/pulp/server/db/migrations/0016_remove_repo_content_unit_owner_type_and_id.py", line 54, in remove_duplicates
collection.ensure_index([(i, -1) for i in index])
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 1407, in ensure_index
self.__create_index(keys, kwargs)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 1297, in __create_index
sock_info, index, True, False, False, wcn)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 530, in _insert
check_keys, manipulate, write_concern, op_id, bypass_doc_val)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 519, in _insert_one
check_keys, acknowledged, concern, False, self.codec_options)
File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 458, in _legacy_write
rqst_id, msg, max_size, acknowledged)
File "/usr/lib64/python2.6/site-packages/pymongo/pool.py", line 264, in legacy_write
return helpers._check_gle_response(response)
File "/usr/lib64/python2.6/site-packages/pymongo/helpers.py", line 236, in _check_gle_response
raise OperationFailure(details["err"], code, result)
OperationFailure: reading doc for external sort failed:errno:0 Success
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
As the problem seems to be resolved, I'm closing the BZ, feel free to re-open, if you think there is something on our side to improve. Low disk space is in general pretty complicated thing to handle nicely.