Bug 650165
Summary: | Incremental dump creation in Satellite 5.4 is flawed | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Milan Zázrivec <mzazrivec> |
Component: | Server | Assignee: | Michael Mráka <mmraka> |
Status: | CLOSED ERRATA | QA Contact: | Šimon Lukašík <slukasik> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 540 | CC: | cperry, fnadge, msuchy, slukasik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-backend-1.2.13-25 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-02-01 16:16:24 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: | 646488 |
Description
Milan Zázrivec
2010-11-05 13:04:02 UTC
Needless to say, the same logic needs to apply to erratas, ks trees and ks files (satellite_tools/disk_dumper/iss.py) We agreed to create new options --use-sync-date and --use-rhn-date and let user choose which one use (default is --use-rhn-date) rather than trying how to put them together. Spacewalk git: commit 44e62bc2296f5a36b9e736ef094d5533ea6f4f2a 650165 - let user specify which date for incremental export use commit 2e8568e823c0df4fc6cf6e8b4faff6a2a9183bca 650165 - propagate use_rhn_date down to Dumper cherry-picked to satellite.git as commits: 19d94732b60dd63cc0801eba12696b1e2c992482 1965892a8e153fb11fdf7fccd39f1592869b80e3 Flipping back to Assigned - for review I have done very incremental export of channel, which should not contain any packages. Directories packages_short and packages does not exists, although channel.xml does contain all packages. This breaks the import of the dump. Fixed in spacewalk git commit ab481c31b699933cd186f9b68f5a0e4781a2b100 650165 - _ChannelDumper should also understand use_rhn_date Backported to satellite git as commit 88fa61bc4aa9b2a541a656ed73d9af1bc06963b1 650165 - _ChannelDumper should also understand use_rhn_date (cherry picked from commit ab481c31b699933cd186f9b68f5a0e4781a2b100) Changing to Verified: Testing procedure: - Verified scenario from comment 0 - Created various dumps with using new options (--use-rhn-date, --use-sync-date) - Manual check of dump/channels/*/channel.xml.gz for number of pkgs. - Verified that all the dumps created with new packages were importable - At least some of dumps were imported on different satellite Example of dumps created, for both of the options (x represents of sync): <x-2,x-2>, <x-7,x-2>, <x-7,x+2>, <x-365,x-2>, <x-2,x-2>, <0, x-2> Verified against: spacewalk-backend-tools-1.2.13-25.el5sat Note: Most of the testing was done on x86_64 only. Please be so kind and add a few key words to the technical note of this bugzilla entry using the following structure: Cause: Consequence: Fix: Result: For details, see: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Consequence: Fix: Result: There is already nice text in errata. 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. http://rhn.redhat.com/errata/RHBA-2011-0190.html |