Bug 1830403
Summary: | Capsule sync fails when promoting a content view to more than one lifecyle env at the same time | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Rafael Cavalcanti <rcavalca> | ||||||
Component: | Capsule - Content | Assignee: | Justin Sherrill <jsherril> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Vladimír Sedmík <vsedmik> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.7.0 | CC: | adam.x.goodall, amarirom, bkearney, dgross, egolov, gpadholi, jalviso, jkrajice, jpasqual, jsherril, kagarwal, karnsing, kkinge, ktordeur, kupadhya, momran, myoder, ngalvin, pdudley, pmoravec, remy.couture, rrajput, sean, wclark | ||||||
Target Milestone: | 6.8.0 | Keywords: | Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | tfm-rubygem-katello-3.16.0-0 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1851152 (view as bug list) | Environment: | |||||||
Last Closed: | 2020-10-27 13:02:11 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
Rafael Cavalcanti
2020-05-01 20:14:59 UTC
Created attachment 1683911 [details]
HOTFIX RPM for Satellite 6.7.0
HOTFIX is available for Satellite 6.7.0. Installation instructions: 1. Take a complete backup or snapshot of Satellite server before installing the hotfix 2. Download the hotfix RPM from this BZ and copy it to Satellite server 3. # yum install /root/tfm-rubygem-katello-3.14.0.20-2.HOTFIXRHBZ1830403.el7sat.noarch.rpm --disableplugin=foreman-protector 4. # systemctl restart httpd dynflowd Upstream bug assigned to jsherril Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29678 has been resolved. *** Bug 1837000 has been marked as a duplicate of this bug. *** *** Bug 1834562 has been marked as a duplicate of this bug. *** Justin, does a scenario "have a Capsule in Library Environment, enable few repos, sync them concurrently, see that some automatically triggered Caps sync tasks fails due to an acquired lock" - is this scenario observed on 6.7.0 also fixed by the HF / same fix? I expect so, just would like to confirm it. (and I know, Caps shouldnt be attached to Library env..) Thanks in advance for an answer. Created attachment 1696378 [details]
HOTFIX RPM for Satellite 6.7.1
HOTFIX is available for Satellite 6.7.1. Installation instructions: 1. Take a complete backup or snapshot of Satellite server before installing the hotfix 2. Download the hotfix RPM from this BZ and copy it to Satellite server 3. # yum install /root/tfm-rubygem-katello-3.14.0.21-2.HOTFIXRHBZ1830403.el7sat.noarch.rpm --disableplugin=foreman-protector 4. # systemctl restart httpd dynflowd Hi Pavel, I'm not Justin, but I believe you are correct that the scenario you described should also be resolved by the same HF. Since the fix was to define resource locks in app/lib/actions/katello/capsule_content/sync_capsule.rb as having the "linking" lock type, it shouldn't matter whether the Capsule sync got triggered due to a repo being synced in Library or due to a CV version being promoted to another environment. I believe rguerra, the original reporter of the BZ, has the reproducer where we tested the HF, so to confirm you could work together to assign Library to a Capsule and test sync a few repos. With the HF installed, the Capsule syncs shouldn't get blocked. 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.8 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-2020:4366 |