Bug 1787335
Summary: | Error: PLP0034: The distributor indicated a failed response when publishing repository. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Akshay Kapse <akapse> | ||||
Component: | Content Views | Assignee: | Ian Ballou <iballou> | ||||
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.6.0 | CC: | iballou, jsherril, patalber, satellite6-bugs | ||||
Target Milestone: | 6.9.0 | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-04-21 13:12:25 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: | |||||||
Attachments: |
|
Description
Akshay Kapse
2020-01-02 12:48:24 UTC
Can you attach a foreman-debug, output from the production.log (with the full stack trace) or a task export that captures the error? in this case /var/log/messages with the traceback and that error would be very helpful Created attachment 1654499 [details]
attaching the foreman-tail log
looking at the prior logs, the error was: INFO: [7f63b091] duplicate unit names ERROR: [7f63b091] (2828-38368) Exception caught from plugin during publish for repo [1-puppetcv-Library-puppet-d3e91605-6a38-47e0-8c99-986516673f7f] ERROR: [7f63b091] (2828-38368) Traceback (most recent call last): ERROR: [7f63b091] (2828-38368) File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1265, in _do_publish ERROR: [7f63b091] (2828-38368) distributor_id=dist_id, summary=publish_report.summary ERROR: [7f63b091] (2828-38368) PulpCodedException: The distributor 1-puppetcv-Library-puppet-d3e91605-6a38-47e0-8c99-986516673f7f indicated a failed response when publishing repository 1 It seems like incremental update is not removing an older version of the puppet module. Created redmine issue https://projects.theforeman.org/issues/31115 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31115 has been resolved. Fix is in Satellite 6.9 SNAP 1 with tfm-rubygem-katello-3.18.0-0.1.rc1.el7sat.noarch Steps to test: 1. Get a hold of multiple versions of 2 or 3 different puppet modules 2. Upload the puppet modules to a repository 3. Create a content view with all of the older puppet modules and publish 4. Incrementally update the version you just created with the newest puppet modules with the following command: hammer content-view version incremental-update --puppet-module-ids <id> --content-view-version-id <id> 5. Check UI to see that the older puppet modules are removed 6. Promote the incremental content view version with the following command: hammer content-view version promote --organization-id <id> --content-view-id <id> --to-lifecycle-environment "<name of lce>" --id <id> Expected result: # hammer content-view version promote --organization-id 1 --content-view-id 4 --to-lifecycle-environment "Library" --id 7 [..............................................................................................................] [100%] Successfuly promote to LCE Actual Result: # hammer content-view version promote --organization-id 1 --content-view-id 4 --to-lifecycle-environment "Library" --id 7 [..............................................................................................................] [100%] Successfully promote to LCE Verified on 6.9.0_07 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.9 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:1313 |