Bug 1448777
Summary: | Content sync/promotion fails to all capsules if one capsule is down | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | cpatters | |
Component: | Capsule - Content | Assignee: | Brad Buckingham <bbuckingham> | |
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.2.8 | CC: | aagrawal, bbuckingham, bkearney, cdonnell, chsimon, egolov, jcallaha, jsherril, kdixon, mjahangi, mmccune, nitthoma, oshtaier, pmoravec, xdmoon | |
Target Milestone: | Unspecified | Keywords: | PrioBumpField, PrioBumpGSS, Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | tfm-rubygem-katello-3.4.4, tfm-rubygem-katello-3.0.0.151-1, rubygem-katello-3.0.0.151-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1480353 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-25 18:59:44 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
cpatters
2017-05-08 04:38:00 UTC
*** Bug 1449862 has been marked as a duplicate of this bug. *** Created redmine issue http://projects.theforeman.org/issues/19659 from this bug Can't relatively easy fix be: in /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.124/app/lib/actions/katello/content_view/promote_to_environment.rb : replace: def run environment = ::Katello::KTEnvironment.find(input[:environment_id]) if ::Katello::CapsuleContent.sync_needed?(environment) ForemanTasks.async_task(ContentView::CapsuleGenerateAndSync, ::Katello::ContentView.find(input[:content_view_id]), environment) end rescue ::Katello::Errors::CapsuleCannotBeReached # skip any capsules that cannot be connected to end by something like: def run environment = ::Katello::KTEnvironment.find(input[:environment_id]) content_view = ::Katello::ContentView.find(input[:content_view_id]) ::Katello::CapsuleContent.with_environment(environment).each do |capsule_content| ForemanTasks.async_task(Actions::Katello::CapsuleContent::Sync, capsule_content, :content_view => content_view, :environment => environment) end end ? I.e. invoke the underlying task independently for each Capsule. But comparing old behaviour and new one, I lack dynflow steps Actions::Pulp::Repository::UpdateImporter Actions::Pulp::Repository::RefreshDistributor (twice) that were present in original Actions::Katello::ContentView::CapsuleGenerateAndSync but miss in the new one (why?) Is it possible to get an update on this BUG please, just want to keep the Customer informed on its progress. Thanks Ché Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19659 has been resolved. Hello Ché, I apologize, I did not intend to clear needinfo without responding. The fix for this one is currently targeted for Satellite 6.2.12; however, that is pending QE verification. Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19659 has been resolved. Verified in satellite-6.2.12-1.0.el7sat.noarch with three capsules. If one of the capsules becomes unavailable during content sync, the sync on other two is not affected 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-2017:2803 |