Bug 1493838
Summary: | upgrade: pulp dup key error prevents upgrade to Sat 6.3 from Sat 6.2.11 in table units_yum_repo_metadata_file | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Billy Holmes <biholmes> |
Component: | Satellite Clone | Assignee: | John Mitsch <jomitsch> |
Status: | CLOSED ERRATA | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.11 | CC: | bbuckingham, biholmes, bkearney, ehelms, inecas, jomitsch, mbacovsk, mhrivnak, mmccune, ttereshc |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-01-04 17:54:03 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
Billy Holmes
2017-09-21 02:37:36 UTC
Thanks Billy, please provide sosreport from the failure for further analysis Billy, could you provide the full output from pulp-manage-db? Also there should be a traceback either on the console or in the system log related to this. That would be very helpful to see as well. Thanks Tanya, Sorry about the delay in getting to this BZ regarding why we drop the collections: if you try to publish a repository (such as when publishing a cv), if there's a distribution in the repo that isn't actually on the filesystem, pulp will error. I added a pulp-manage-db step to the reset pulp data steps: https://github.com/RedHatSatellite/satellite-clone/pull/256 Thanks again for looking into this! Moving to POST, since satellite-clone PR has been merged. This should be present in 1.2.0 Verified that pulp-manage-db is now called during clone in 1.2: 2017-12-15 12:09:11,035 p=19443 u=root | TASK [satellite-clone : migrate pulp db] ****************************************************************************** ... journal verifying sudo call: Dec 15 12:09:11 ibm-x3250m4-05.lab.eng.rdu2.redhat.com sudo[26588]: root : TTY=pts/0 ; PWD=/usr/share/satellite-clone ; USER=apache ; COMMAND=/bin/pulp-manage-db 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-2018:0033 |