Description of problem: Sync of a file repository to a pulp3 capsule fails with this error: null value in column "repository_version_id" violates not-null constraint DETAIL: Failing row contains (537b49d4-37ee-44bc-b442-5ab587999800, 2021-07-22 22:40:36.019239+00, 2021-07-22 22:40:36.01926+00, file.file, f, t, null). Version-Release number of selected component (if applicable): 6.10.0 snap 10 How reproducible: always Steps to Reproduce: 1. Have a SAT and pulp3 CAPS (with Immediate download policy) 2. Sync a file repo to the SAT (I used https://fixtures.pulpproject.org/file-large/) 3. Publish a CV with that repo and promote it to the Capsule LCE 4. Trigger at least one Optimized sync and then Complete sync Actual results: The Complete (and any consecutive) sync fails Expected results: Successful sync
This is fixed in pulp_file 1.8.2
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Verified. Tested on Satellite 6.10.0 Snap 14.0 Steps followed: 1. Have a SAT and pulp3 CAPS (with Immediate download policy) 2. Sync a file repo to the SAT (I used https://fixtures.pulpproject.org/file-large/) 3. Publish a CV with that repo and promote it to the Capsule LCE 4. Trigger at least one Optimized sync and then Complete sync Observation: Sync is successful without any errors
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 (Moderate: Satellite 6.10 Release), 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-2021:4702