Bug 2038742
Summary: | pulp3 content migration failed with "Katello::Errors::Pulp3Error: local variable 'item' referenced before assignment" | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | matt jia <mjia> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.9.8 | CC: | dkliban, ggainey, hakon.gislason, janarula, jjansky, momran, osousa, pcurie, pmendezh, saydas |
Target Milestone: | 6.9.9 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pulp-2to3-migration-0.11.9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-04-20 20:34:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
matt jia
2022-01-10 00:12:15 UTC
A) This seems to have been or are being addressed in upstream migration docker repos failed with "local variable 'item' referenced before assignment" · Issue #497 · pulp/pulp-2to3-migration · GitHub https://github.com/pulp/pulp-2to3-migration/issues/497 Fixes #497 - local variable 'item' referenced before assignment · pulp/pulp-2to3-migration@72a6325 · GitHub https://github.com/pulp/pulp-2to3-migration/commit/72a632553cf131b5aa20f40aefb2eefdee2cff21 B) every time this traceback has come, just before that pulp complained about missing or corrupted blobs. Further investigation of those blobs revealed, That they are part of the same repo and they are indeed missing from filesystem. I also had dig into docker manifests and found many of them corrupted as well. Not sure if they are related to the same blobs or not but there is a good possibility they are. Further information will be added in the later comments. Fix backported to pulp-2to3-migration 0.11.9 Hey guys, Is there a sample docker repo I can use to test this migration or is any docker fine? Hello Lai, I doubt if I know of a sample repo but maybe Matt ( reporter ) does. Can you check with him once if he were able to reproduce this issue via any specific repo initially ? -- Sayan Hey Matt, Was there a specific repo that was used for this bz? I would like to use it for verification if there is one. -Lai Steps to retest: 1. Sync some docker files: small, medium, and large docker files 2. Perform migration 3. check results 2nd set of test: 1. sync some docker files: small, medium, and large docker files 2. delete some docker blobs in /var/lib/pulp/content/units/ <either docker_manifest or docker_blob> 3. perform migration Expected results: Migration should complete successfully Actual: Migration does complete successfully I also checked the dynflow and the results on UI. It seems to work fine. Verified on 6.9.9 snap 2 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 (Important: Satellite 6.9.9 Async Bug Fix Update), 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/RHSA-2022:1478 |