Bug 571355 - Removed packages are not synced
Summary: Removed packages are not synced
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other
Version: 540
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Šimon Lukašík
URL:
Whiteboard:
Depends On:
Blocks: sat540-repo-sync
TreeView+ depends on / blocked
 
Reported: 2010-03-08 09:26 UTC by Šimon Lukašík
Modified: 2010-10-28 14:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-28 14:56:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Šimon Lukašík 2010-03-08 09:26:58 UTC
Description of problem:
After deleting packages from /var/satellite/ spacewalk-repo-sync does not retrieve missing packages from repositories.

How reproducible:
always

Steps to Reproduce:
1. Add new channel and sync
2. /usr/sbin/rhn-satellite stop
   rm -rf /var/satellite/*
   rm -rf /var/cache/rhn/reposync/
   /usr/sbin/rhn-satellite start
3. Sync again (webui)
4. cat /var/log/rhn/reposync/*.log

Actual results:
Removed packages are not synced!

Expected results:
Shouldn't sync retrieve all missing packages?

Additional info:
none

Comment 2 Justin Sherrill 2010-09-08 18:29:39 UTC
fixed in master:

734a36aea070062f11530cc6ba0e7f9900218245

Comment 3 Šimon Lukašík 2010-09-29 07:15:34 UTC
Changing to VERIFIED:

Testing procedure:
Reproducer from comment 1 on i386 machine.
Packages were correctly synced.

Verified against:
Satellite-5.4.0-RHEL5-re20100924.0

Comment 4 Michael Mráka 2010-10-25 09:02:51 UTC
Verified in stage.

[root@tyan-gt24-03 ~]# spacewalk-repo-sync -c spacewalk-client-rhel5-64
Repo http://spacewalk.redhat.com/yum/1.1-client/RHEL/5/x86_64 has 24 packages.
1/24 : rhnlib-2.5.26-1.el5-0.noarch
2/24 : rhn-virtualization-common-5.4.14-1.el5-0.noarch
3/24 : osad-5.9.38-1.el5-0.noarch
4/24 : spacewalk-koan-0.2.7-1.el5-0.noarch
5/24 : spacewalk-certs-tools-1.1.1-1.el5-0.noarch
6/24 : rhncfg-actions-5.9.27-1.el5-0.noarch
7/24 : rhn-check-1.1.15-1.el5-0.noarch
8/24 : python-hwdata-1.2-1.el5-0.noarch
9/24 : rhn-kickstart-virtualization-5.4.3-1.el5-0.noarch
10/24 : rhn-custom-info-5.4.2-1.el5-0.noarch
11/24 : rhncfg-5.9.27-1.el5-0.noarch
12/24 : rhnmd-5.3.7-1.el5-0.noarch
13/24 : yum-rhn-plugin-1.1.7-1.el5-0.noarch
14/24 : rhnsd-4.9.5-1.el5-0.x86_64
15/24 : python-ethtool-0.3-5.el5-0.x86_64
16/24 : rhn-virtualization-host-5.4.14-1.el5-0.noarch
17/24 : rhn-setup-gnome-1.1.15-1.el5-0.noarch
18/24 : rhn-client-tools-1.1.15-1.el5-0.noarch
19/24 : rhn-kickstart-common-5.4.3-1.el5-0.noarch
20/24 : rhn-kickstart-5.4.3-1.el5-0.noarch
21/24 : rhncfg-client-5.9.27-1.el5-0.noarch
22/24 : rhn-setup-1.1.15-1.el5-0.noarch
23/24 : rhncfg-management-5.9.27-1.el5-0.noarch
24/24 : spacewalk-backend-libs-1.1.51-1.el5-0.noarch
Sync complete
[root@tyan-gt24-03 ~]# find /var/satellite/ -name rhn-kickstart*5.4* | xargs rm -f
[root@tyan-gt24-03 ~]# spacewalk-repo-sync -c spacewalk-client-rhel5-64
Repo http://spacewalk.redhat.com/yum/1.1-client/RHEL/5/x86_64 has 24 packages.
1/5 : rhn-kickstart-virtualization-5.4.3-1.el5-0.noarch
2/5 : rhn-kickstart-common-5.4.3-1.el5-0.noarch
3/5 : rhn-kickstart-5.4.3-1.el5-0.noarch
Sync complete

Comment 5 Clifford Perry 2010-10-28 14:51:59 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford


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