Bug 1177904
Summary: | After removing a product from a sync plan, repos from the product are still synced according to the plan | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> | ||||
Component: | Content Management | Assignee: | Justin Sherrill <jsherril> | ||||
Status: | CLOSED ERRATA | QA Contact: | sthirugn <sthirugn> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.0.6 | CC: | fdewaley, jmontleo, jsherril, mtaru, omaciel, shughes, sthirugn | ||||
Target Milestone: | Unspecified | ||||||
Target Release: | Unused | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | http://projects.theforeman.org/issues/9404 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-08-12 05:21: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
Pavel Moravec
2014-12-31 08:12:12 UTC
Well, this is embarrassing.. Potential workaround in deleting the sync plan does _not_ work. If I delete the plan, all products that had been in the plan (including those explicitly removed from the plan before the plan removal) are still being synchronized! Not working workarounds: removing whole sync plan katello-service restart rebooting the machine Working workaround: remove the sync plan from the product via hammer: hammer> product remove-sync-plan --id=97 (note that product info --id=97 showed no sync plan before this command..) Hint for developers: what is different between CLI and WebUI command like above? Why hammer command succeeded (even if no sync plan was there)? Connecting redmine issue http://projects.theforeman.org/issues/9404 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/9404 has been closed ------------- Justin Sherrill Applied in changeset commit:katello|cf738d8131269b93f5ff5b0e574d2055c18ae6ce. Verified in Sat 6.1 GA Snap 5. Steps for verification: 1. Enabled and initially synchronized few Red Hat repositories - I used repos from 3 products: * MRG Grid * MRG Management * MRG Realtime 2. Created a (hourly) sync plan, add all products from Step 1 3. Waited for the first sync to complete. Verified that the products were successfully synced 4. Removed MRG Management, MRG Realtime from syncplan 5. Waited until the plan is scheduled next time and checked the same - This time MRG Management and MRG Realtime is not synced but MRG Grid is synced (Screenshot attached) Created attachment 1029990 [details]
verification screenshot
This bug is slated to be released with Satellite 6.1. 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/RHSA-2015:1592 |