Bug 528227 - Sat-sync with a different org it will remove the first.
Summary: Sat-sync with a different org it will remove the first.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: 530
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: sat531-blockers
TreeView+ depends on / blocked
 
Reported: 2009-10-09 21:16 UTC by Brandon Perkins
Modified: 2010-01-30 03:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 533018 (view as bug list)
Environment:
Last Closed: 2009-12-16 13:46:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1683 0 normal SHIPPED_LIVE satellite-sync bug fix update 2009-12-16 13:46:43 UTC

Description Brandon Perkins 2009-10-09 21:16:42 UTC
Description of problem:
Sat-sync with a different org it will remove the first.

Version-Release number of selected component (if applicable):
spacewalk-backend-tools-0.5.28-34.el4sat

How reproducible:
Always.

Steps to Reproduce:
1. Setup Inter-Satellite-Sync.
2. Run satellite-sync against one org then run the identical one against a second org.
  
Actual results:
The channel association flips from the first org to the second org.  It will continue to flip-flop as the commands are run associating with whichever org is indicated last.

Expected results:
One of:
1) Warning about the flip-flop.
2) Preventing the change of orgs altogether.
3) Satellite sync should allow syncing content to multiple orgs:   Bug 528226 -  Satellite sync should allow syncing content to multiple orgs.


Additional info:

Comment 1 Brandon Perkins 2009-10-09 21:20:02 UTC
All related bugs that probably should be considered together when thinking about what to do:

Bug 528226 -  Satellite sync should allow syncing content to multiple orgs.
Bug 528227 -  Sat-sync with a different org it will remove the first.
Bug 528228 -  Sat-sync with two --org options will use the second.

Comment 6 Milan Zázrivec 2009-11-04 17:20:52 UTC
Syncing one channel into two different organizations is not an easy task
to do: currently the 5.3.0 schema wouldn't support it -> not something
that can be accomplished in 5.3.1 release.

What I decided to do is to have satellite-sync print a warning in case
the process would move previously synced channel in between organizations.

Example:

08:17:03 WARNING: Channel test-channel is already present in orgid 22.
08:17:03          Running synchronization will move the channel to orgid 2.

spacewalk.git master: 4187a6950eeebf51aee2ca73e3810c392fb47580
satellite.git SATELLITE-5.3: 3f0590fbc1689b7f31511c03117699aaefb1932c

Comment 7 Michael Mráka 2009-11-13 08:25:04 UTC
Package spacewalk-backend-0.5.28-35 was pushed to webQA. Moving ON_QA.

Comment 10 errata-xmlrpc 2009-12-16 13:46:58 UTC
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-2009-1683.html


Note You need to log in before you can comment on or make changes to this bug.