Bug 678721
Summary: | adding errata by errata.clone() api to cloned channel also adds non-relevant packages from that errata | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Martin Osvald 🛹 <mosvald> | ||||
Component: | API | Assignee: | Milan Zázrivec <mzazrivec> | ||||
Status: | CLOSED ERRATA | QA Contact: | Tomas Lestach <tlestach> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 540 | CC: | cperry, hdemonte, jhutar, luc, pmutha, pnovotny, tlestach | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | spacewalk-java-1.2.39-75 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 703381 (view as bug list) | Environment: | |||||
Last Closed: | 2011-06-17 02:34:49 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 677501, 703381 | ||||||
Attachments: |
|
Description
Martin Osvald 🛹
2011-02-19 01:11:08 UTC
The behavior of errata.clone() this bug report is showing is perfectly OK and expected: you clone a RHEL errata spanning RHEL-5 and RHEL-6 channels, you get RHEL-5 and RHEL-6 packages in the target channel. I created a new API call just for this purpose errata.cloneAsOriginal(): * same prototype as errata.clone() * works with cloned channels only * publishes the cloned errata according to the original channels. spacewalk.git master: 4e0eb25dae25047378066affd966eec0c376390c satellite.git SATELLITE-5.4: 4096d3b2d216e580a4e698adf6942ae5e063613c When cloning RHBA-2010:10260 into the cloned channel: - using errata.cloneAsOriginal, following package lands in the target channel: * spacewalk-koan-0.2.7-7.el6sat.noarch - using errata.clone, following packages lands in the target channel: * spacewalk-koan-0.2.7-7.el5sat.noarch * spacewalk-koan-0.2.7-7.el6sat.noarch API looks good (also if using user that cannot manage the target channel, using non-cloned channel, cloning several errata, ...). VERIFIED with spacewalk-java-1.2.39-76.el6sat.noarch. Notes: - the API call clones an erratum also if another errata clone is already associated with the target channel - when cloning more than 8 errata within the API, the API times out with: 503 Service Temporarily Unavailable Moving to RELEASE_PENDING. Re-verified with spacewalk-java-1.2.39-82. Clone channel 'rhn-tools-rhel-x86_64-server-5' as channel 'testicek'. Clone errata RHBA-2010:10260 into channel 'testicek'... - using errata.clone(): Packages in target channel: * spacewalk-koan-0.2.7-7.el5sat-noarch * spacewalk-koan-0.2.7-7.el6sat-noarch - using errata.cloneAsOriginal(): Packages in target channel: * spacewalk-koan-0.2.7-7.el5sat-noarch An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. https://rhn.redhat.com/errata/RHSA-2011-0879.html |